Latest Ubuntu related questions

Score: 0
Lazybob avatar
How to download and add .deb files to local repository
na flag

I'm trying to install a local repository on a local network, and then use that local repo to serve them to other machines on the same local network.

My setup is this:

  • one laptop as a server: where I have an Ubuntu 22.04 server installed, I've installed Nginx on it so that I can serve the files to the network.
  • multiple laptops: also Ubuntu 22.04 servers where I've changed the /etc/apt/sources.list ...
Score: 0
AlexFullinator avatar
No Power Options on Upgrade to 22.04
ar flag

I just upgraded to 22.04 LTS, and I noticed that there are no power performance options like people have been saying in the top menu that has WiFi, Bluetooth, Logout, etc. For me, this is all I have:

enter image description here

And other people seem to have this:

enter image description here

And also, there's no option in the GNOME Settings app either, which makes sense since it's not showing up in the top menu. This is a photo of what other people se ...

Score: 0
philburns avatar
Broken Sound On Headphones
kz flag

I've got a 2012 MacBook (10.1). The sound coming out of the speakers is alright. The sound coming out of the headphones is "broken". It's just like as if only a part of the signal is coming through. When I listen to songs, the voice is quite silent. Maybe, the "mid" signal is missing and only the "side" signal is coming through, but it sounds a bit mono-ish. Though some sound is there, I have checked ma ...

Score: 0
scarabeo657 avatar
Software Updater does not start ubuntu 22.04
vg flag
aru@aru-HP-Pro-x2-612-G2:~$ sudo apt update
E: Malformed entry 1 in list file /etc/apt/sources.list.d/oguzhaninan-ubuntu-stacer-jammy.list (Component)
E: The list of sources could not be read.

I have tried all recommendation...but as I am new...i think i make it worse. We I try to edit the sources.list to remove the entry nothing appears...

My ubuntu version is 22.04.

Score: 0
Black Sheep avatar
MySQL - Cannot update to 8.0.31 from 8.0.30 at Ubuntu 22.04.1
bf flag

I have 2 updates that could not be installed automatically.

When I try to upgrade with: sudo apt upgrade then I got this message:

The following packages have been kept back: mysql-client mysql-server

So when I try to install it manually like: sudo apt install mysql-client then I got the following message:

The following packages have unmet dependencies: 
mysql-common : Conflicts: mysql-client-8. ...
Score: 0
Gary Czychi avatar
Increasing VMWare Hard Drive Space Server 22.04LTS?
ne flag

o) I have created a 40GB virtual disk in VMWare Fusion Pro.

o) My partition /dev/sda3 is already 40GB according to gparted (see pic)

o) However, df -H still only shows 20GB

What do I need to do?

df -H
Filesystem                         Size  Used Avail Use% Mounted on
tmpfs                              513M  1.7M  512M   1% /run
/dev/mapper/ubuntu--vg-ubuntu--lv   20G  7.4G   11G  41% /
tmpfs   ...
Score: 0
hassan2886 avatar
Unable to install solr-tomcat on Ubunto20.04 wsl2 windows10
cy flag

I am trying to install solr-tomcat using wsl2 and buntu 20.04.5 LTS on Windows 10.

PS C:\WINDOWS\system32> wsl -l -v
  NAME      STATE           VERSION
* Ubuntu    Running         2
-----------------------------
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.5 LTS
Release:        20.04
Codename:       focal
-----------------------------

I am getting the following error:

~$ sudo apt insta ...
Score: 0
ٍEhsan avatar
Add school/work account in Online Account in Ubuntu
no flag

Adding a google School account to GNOME UBUNTU 22.04 leads to this error:

"Forbidden, You don't have permission to access this resource."

While it was working perfectly before.

Any idea how to add a school account to GNOME. How to add it using a Token Authentication?

enter image description here

Score: 0
pejman hkh avatar
Drag and drop with mouse key in ubuntu 22 not working
fk flag

When i enable mouse keys option, I can click with 5 key but i can't drag and drop with it, This was working for me before in ubuntu 20.

Score: 0
SkyWalker avatar
Ubuntu login loop on fresh installation with tedious workaround
br flag

I have a fresh 22.04 installation and everything seems to work ok. In this system I have an RTX 3090 so installed the proprietary NVIDIA driver from the additional drivers and this seems to work well. I went ahead and did a few extra installations including CUDA, Intel oneAPI, MAGMA, etc. for HPC development.

I started getting the login loop, where I would enter my password and Ubuntu would keep  ...

Score: 0
HannesS avatar
Squid Proxy - Error 407 - Simple Authentication NCSA
kg flag

when running squid (4.10, installed from apt or 5.6 from docker ubuntu/squid:latest) and adding a simple user authentication, all requests are dropped by squid with HTTP 407. The purpose is to have a simple proxy for testing authentication of HTTP/REST calls within an application.

squid.conf:

auth_param basic program /usr/lib/squid/basic_ncsa_auth /etc/squid/passwords
auth_param basic realm Squid prox ...
Score: 0
Arjun K Shibu avatar
My hostname is shown as a network
jp flag

Recently I've discovered that under Networks menu in home, I'm able to see my hostname as a network. It is visible across all Linux devices that has been connected on my college WiFi(Don't know about Windows). Whenever I try to access it, I'm able to see a folder named print$(It says Windows shares on myhostname.local). But it is inaccessible. However it feels like it is related to remote desktop connect ...

Score: 0
killmenowplease avatar
Rename files from different directories with their paths
cn flag

I don't know if I'm making sense but, this is roughly what I'm dealing with, and just in case I'll include that some folders have .jpg in the name:

Photos$ tree
.
├── 1
│   ├── 1.jpg
│   │   └── X
│   │       └── Y
│   │           ├── A
│   │           │   └── image.jpg
│   │           └── B
│   │      ...
Score: 0
Ali EXE avatar
Cronjob log shows its execution, but the real script is not executed
fi flag

I have seen these questions, but they have not solved my problem:

Question about cronjobs/bash scripts which are not executed
Cronjob script not being executed

This is my /Temp/RunJob script:

echo $"Bringing all sites up... $(date)" >> /Temp/UpAll
/Base/Commands/Job
echo $"Done $(date)" >> /Temp/UpAll

Please note that it has an empty line at the end of the file as per Linux's standard ...

Score: 0
user1648715 avatar
Im trying to move a file between my home folder to the certs folder
al flag

I'm using this command:

sudo mv /home/az_123/ubuntue.pem

I'm getting the following error:

mv: missing destination file operand after '/home/az_123/ubuntue.pem' Try 'mv --help' for more information
Score: 0
Pawan Jain avatar
Ubuntu terminal is not showing anything
pe flag

My Ubuntu machine terminal is not showing anything. I'm not able to write anything in it. I's showing only the cursor. Why does this happen?

enter image description here

Score: 0
Moon avatar
Issue while installing g++ on Ubuntu 22.04
ke flag

I want to install g++ on Ubuntu but I am getting this message displayed on screen: this is the link to the picture

Score: 0
TD15 avatar
Offline updates broken on Kubuntu 22.10
cn flag

When I trigger packagekit offline updates, the device reboots into the minimal environment, does nothing and reboots as if it was successful. I checked the logs of the failed upgrade using journalctl -k -b -1, there is no trace of a packagekit service starting, it just boots and immediately shutdowns.

Then I tried purging packagekit and installing it again, but apparently it is a dependency of Kubuntu d ...

Score: 0
Austin S. Playstation and Xbox avatar
rtl8821ce-dkms returning exit status 10
cd flag

austin@pop-os:~$ sudo apt autoremove [sudo] password for austin: Reading package lists... Done Building dependency tree... Done Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Setting up rtw88-dkms (0.6~jammy28) ... Removing old rtw88-0.6~ppa DKMS files... D ...

Score: 0
Mark avatar
How can i run a dockerized gui application on a virtual machine Ubuntu-Server?
bs flag

I have a Ubuntu-server running on VMWare that I use for testing purposes. I'd like to run GUI applications in a docker container. The situation is:

enter image description here

Spinning up the container works but I ain't getting a GUI . If I echo $DISPLAY it returns empty.

Could someone explain in simple terms step-by-step how I can get the GUI displayed?

Score: 0
ronald avatar
Using PostgreSQL 12.12 pg_ commands in Ubuntu 20.04 not working
to flag

I've installed PostGreSQL 12.12 with:

sudo apt install postgresql postgresql-contrib libpq-dev

But I'm seeing errors with pg_ commands. For example, this is the error when trying to setup replication:

postgres-# pg_create_physical_replication_slot wallinfo, immediately_reserve true, temporary true;  
ERROR:  syntax error at or near "pg_create_physical_replication_slot"

LINE 1: pg_create_physical_repli ...
Score: 3
jpris avatar
Windows 11 not found by update-grub
ph flag

I have a system with both windows 11 and kubuntu 22.10 installed; in which I am able to successfully boot into each of these via changing boot order in bios. Kubuntu appears inside of the grub bootloader on startup but windows 11 doesn't.

I have tried running os-prober, but afterwards update-grub still fails to find windows.

Also I have tried adding GRUB_DISABLE_OS_PROBER=false to /etc/default/grub.

Score: 1
J.Tho avatar
Initramfs unpacking failed: invalid magic at start of compressed archive -> Kernel panic
io flag

I recently updated my ASUS X515M laptop from Ubuntu 20.04 to 22.04, and it made my magic invalid. I work hard on my magic. Why did Ubuntu invalidate it? :(

Picture of the output after trying to boot

What I think are the important bits:

Initramfs unpacking failed: invalid magic at start of compressed archive

. . .

End Kernel Panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

My BIOS i ...

Score: 1
archerlinuxer avatar
Frozen while booting, Nouveau system freeze fifo
ai flag

To explain better, I took some pictures:

 linux  archer  ~  dkms status
nvidia/520.56.06, 5.15.0-52-generic, x86_64: installed
virtualbox/6.1.38, 5.15.0-52-generic, x86_64: installed


OS              Ubuntu 22.04.1 LTS
Kernel          5.15.0-52-generic
DE: GNOME 42.5 
CPU: 11th Gen Intel i5-11300H (8) @
GPU: NVIDIA GeForce GTX 1650 Mobile
Memory: 3173MiB / 15795MiB

enter image description here

It is stuck here and whe ...

Score: 1
whyamiruning avatar
Two root entries in my passwd file
vu flag

In Ubuntu 20.04, there are two root entries I find in my passwd file.

When I use grep root /etc/passwd, I get:

root:x:0:0:root:/root:/bin/bash
root:x:0:0:root:/root:/bin/bash

and when I use grep root /etc/group, I get:

root:x:0:

and when I use grep root /etc/shadow, I get:

root:$6$SdmRmWLQLDizwk9Y$T4TiAQS1cml..78.Ac00hj9HHq5oo8EzoJBJEdhUMlLA9s9fQO89BBwB35pUxRvlprl1kaMZtQYSicMLqXCur.:19300:0:99999: ...
Score: 0
krillavilla avatar
Enable GPU Fan Settings on Kubuntu 22.10
cn flag

Do you guys know how I can Enable GPU fan Settings within my Nvidia Settings application?

Similar to this post below:

How can I change the fan speed of my Nvidia 1050ti below 35% in Ubuntu 20.04?

Here is nvidia-settings output:

enter image description here

Troubleshoot I have tried

I have tried the solution below but it did not work for me:

  1. cd /./etc/X11/
  2. sudo -s [because you need root access]
  3. gedit Xwrapper.config &
  4. add t ...
Score: 0
Exiits avatar
Airpods pro controls not workering properly
cn flag

So, basically the title. Now, most controls seem to work, except for resume; it just will not resume the music being played... Any fix to this?

ETA: Moreover, if I am having, say both spotify and youtube on, it will only pause the first one that played; it won't adapt to which application is currently outputting volume and pausing that specific one. Why is this? Is it the airpods or is it Ubuntu  ...

Score: 2
George G. avatar
How to list all the folders that have a subfolder with a specific name inside them using CLI Bash
pl flag

I would like to use cli to list all the folders in my Documents directory that have a subfolder called "images" is there any way to list them easily?

Thank you

Score: 0
yapa99 avatar
Network printer configuration
bn flag

After several attempts I cannot reach the network printer of my local network. I am using Kubuntu 22.04.

The printer cannot be found in the KDE printer manager, so I tried so add it manually using the CUPS server and the network interface http://localhost:631/admin/ but the authentication there always fails (in spite of adding myself to the lpadmin group). I also want to add that the local networ ...

Score: 0
AlexFullinator avatar
Accent Colors not Changing Shell Theme and Certain Applications
ar flag

Hello everyone I just upgraded to 22.04 LTS and I noticed that the accent color changer only applies to the application theme and icon theme, but not the GNOME UI Shell theme. The corresponding shell themes exist, and they show up in GNOME Tweaks, but they don't get applied when you change the accent color from gnome-control-center. The settings app only changes the accent color for icons and application ...

The Stunning Power of Questions

Much of an executive’s workday is spent asking others for information—requesting status updates from a team leader, for example, or questioning a counterpart in a tense negotiation. Yet unlike professionals such as litigators, journalists, and doctors, who are taught how to ask questions as an essential part of their training, few executives think of questioning as a skill that can be honed—or consider how their own answers to questions could make conversations more productive.

That’s a missed opportunity. Questioning is a uniquely powerful tool for unlocking value in organizations: It spurs learning and the exchange of ideas, it fuels innovation and performance improvement, it builds rapport and trust among team members. And it can mitigate business risk by uncovering unforeseen pitfalls and hazards.

For some people, questioning comes easily. Their natural inquisitiveness, emotional intelligence, and ability to read people put the ideal question on the tip of their tongue. But most of us don’t ask enough questions, nor do we pose our inquiries in an optimal way.

The good news is that by asking questions, we naturally improve our emotional intelligence, which in turn makes us better questioners—a virtuous cycle. In this article, we draw on insights from behavioral science research to explore how the way we frame questions and choose to answer our counterparts can influence the outcome of conversations. We offer guidance for choosing the best type, tone, sequence, and framing of questions and for deciding what and how much information to share to reap the most benefit from our interactions, not just for ourselves but for our organizations.