Latest Ubuntu related questions

Score: 3
Pablo Villalba avatar
Can't boot up: snd_hda_intel no codecs found!
vn flag

This is the third time that I see this error after updating Ubuntu 22.04 from the software updater (I usually do it on the terminal), and when it asks to reboot. The message says:

/dev/nvme0n1p6: recovering journal
/dev/nvme0n1p6: clean, 386606/15261691 files, 6474386/61035264 blocks
[    7.217639] snd_hda_intel 0000:17:00.6: no codecs found!

It gets stuck in there and won't boot up.

Software

  • W ...
Score: 0
do-release-upgrade fails because of Err https://packages.cloud.google.com/apt kubernetes-xenial InRelease
cn flag

I'm upgrading a Ubuntu 18.04 system. The command sudo do-release-upgrade fails with the error below. This system was a k8s master, but I did sudo apt purge kubeadm kubectl kubelet. Why is it still looking to upgrade k8s?

  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B53DC80D13EDEF05                        
Fetched 0 B in 0s (0 B/s)                 ...
Score: 1
Andrew avatar
Burn DVD From .iso
mz flag

So I own a few commercial DVDs that now don't play very well due to repeated mishandling over the years. But fortunately before then I took backups of them (as .iso images) onto my hard disk.

The .iso file was generated using the dd command.

I've now trying to write them back onto disc using dual layer DVD+R DL discs. I've now written two discs using Brasero (the Burn Image option) and both of them  ...

Score: 0
Waleed Ahmed Shahid avatar
Getting "Could not find curses error" while installing mariadb from mariadbserver in ubuntu
gr flag

I am installing MariaDB in my ubuntu based on the following readme file.

My ubuntu version is 22.04 and I am using the MariaDB branch 11.0. I have followed the starting the steps and they are running perfectly fine.

sudo gedit /etc/apt/sources.list.d/mariadb.list

After that I put the contents in the contents in this file and run the following commands which executed perfectly fine.

  sudo apt-get  ...
Score: 2
memoki avatar
Sound works as root but no sound as www-data
lk flag

I'm trying to play a .wav file on my server (which is an old laptop with Ubuntu server installed) through a website using a shell script.

Now the problem is that when I play the .wav file through mplay on root, everything works just fine, but if I try to play the sound through the user www-data I get following error message:

$ sudo -u www-data sh script.sh
MPlayer 1.4 (Debian), built with gcc-11 (C) 2 ...
Score: 0
Connect Trial Version of Ubuntu Mate to Network
se flag

I have plugged into my HP laptop a flashdrive with the trial version of Ubuntu Mate on it. Upon running the trial version, the network icon in the top bar is black. When I right click on it, no wireless networks are shown, just a statement of "Enable Network" preceeded by a check mark.

  1. How to I activate network connections (or just connect to my home network)
  2. Is that that the trial version doesn't i ...
Score: 0
Erik avatar
RPi3 with 22.04.x LTS wont boot after upgrading packages/kernel
gb flag

I imaged a USB stick to Ubuntu 22.04 LTS , via the official RPi image..

I successfully started up the image and logged in on this pi.. which is a RPi3 ..

However, I go to perform a apt update && apt upgrade -y .. and it says the upgrade of the kernel will not happen automatically and I need to reboot.. okay..

so I shutdown, unplug, replugin the pi... the lights blink but I never get any HDMI ...

Score: 1
Ueslei Souza avatar
How to resolve local hostnames in ubuntu 22 not using avahi?
bj flag

what would be another option to resolve hostnames in my LAN without avahi? It's is for a DCHP lan, so put manual hosts on ubuntu is not a option.

Score: -1
Martini avatar
VPN Connectivity and Routing Problem - Local Server to Internet via Cloud Hosted Server - wget/apt Oubound Connections
mg flag

I have a network/connectivity/routing problem associated with achieving public internet connectivity through a VPN tunnel to a cloud connected server hosting a VPN server/gateway. The Local Server is situated in a remote geography with restricted ISP options with no facility for inbound network connections [hence the need to use this architecture].

Local ISP                    ┌──------ wg1 1 ...
Score: 0
Avin Sony avatar
Close button of terminal showing this way
mc flag

Suddenly my terminal started showing wrong symbols instead of close, maximize and minimize buttons. Software Updater is not opening. The right corner is blank. The buttons are there, but they're not showing properly.

enter image description here

Before this happened I ran the command:

sudo apt install adms 
Score: 1
CliffAnderson avatar
Using router's DNS on Ubuntu 22.10
cx flag

I'm running multiple Ubuntu VMs and would like to refer to them by hostnames when using ssh instead of their IPs. Because I don't want to add every server to every /etc/hosts I thought using DNS aliases would be best.

I setup a VM to run dnsmasq and made some entries of IP to hostnames, along with using 8.8.8.8 as a backup. Then I created a custom DNS config on my router to point to that VM (with ...

Score: 0
VIPIN avatar
System stuck at when trying to upgrade Ubuntu from 20.04 to 22.04
ss flag

I was trying to upgrade my system to 22.04 but ended up at this, now I'm not able to even shutdown my system. Help please. enter image description here

Score: 0
DJW avatar
Xsane br-y scale fault. Scan dimensions 220 x 330 mm for A4 ?? HP Laserjet M1005 MFP
ss flag
DJW

I want to scan an A4 Paper with my HP-M1005-MFP, which only scans A4. With the A4 setup, only (210x280)mm² are scanned.The standard options show the correct values (210 x 297)mm².

If I set the standard options to (220x330)mm² it scans the whole A4 area. I made a new Kubuntu 22.04 Installation with printer (cups) and Xsane, but still that problem.

Skanlite scans also not the whole y-dimension!

SetUP  ...

Score: 0
Marshall Quast avatar
Multiple "Skipping acquire of configured file"
sn flag

I'm trying to upgrade from Ubuntu 20.04LTS to 22.04LTS, but whenever I click upgrade, it closes the Software Updater tab and does nothing. When I try to update from the terminal, it says not all packages are updated. So I go to update from the terminal and get the following.

enter image description here

Score: 1
Pablo avatar
How to install jQuery on Ubuntu 22.04?
tr flag

How to install jQuery on Ubuntu 22.04?

Score: 0
Kate_Lovecraft avatar
Asus Vivobook Ryzen 6000 suspend problem
US flag

When I close the lid, my laptop does not suspend at all, as if nothing happened. However, if I open the Logs app, I can find the "Lid closed" or "Lid closed".

Logs:

Logs

I have following lines in logind.conf:

HandleSuspendKey=suspend
HandleLidSwitch=suspend
HandleLidSwitchDocked=suspend

Furthermore, suspend also does not work properly if I choose it in the "Power Off" menu: the screen goes black and turn ...

Score: 0
Yugal  avatar
Can't see some files after running " fsck -y /dev/sda3 "
ga flag

While using GParted live usb to create some free space on my disk (only ubuntu 22.04 is installed on that entire disk), I mistakely stopped the resizing operation in between, and later when I tried to reboot (After removing the usb) into ubuntu, I could not boot and got error (which I didn't take picture of but it asked me to run fsck manually on /dev/sda3 my main storage partition in ubuntu). Aft ...

Score: 1
tim11g avatar
How can gpsd correctly detect a usb GPS device when inserted after system boots?
gn flag

I'm using gpsd 3.22 on Ubuntu 22.10

I have a GlobalSat BU-353-S4 USB GPS Receiver device that identifies as Bus 001 Device 008: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port / Mobile Action MA-8910P

It is enumerated as /dev/ttyUSB0 The system is correctly detecting the plug and unplug - I can plug the device in and ls /dev/tty*shows ttyUSB0,. When I unplug it, ttyUSB0 disappears.

If the  ...

Score: 1
chess avatar
Nvidia-driver installation failed on Ubuntu22.04.2
gy flag

Problem

I'm getting the following error when trying to install Nvidia-drivers on ubuntu 22.04.2(not22.04.1). If anyone knows how to deal with this, please let me know.

$ sudo ubuntu-drivers install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if y ...
Score: 2
Mariano Martinez Peck avatar
Symlink on /usr/local/bin/ not working
gf flag

Can someone explain why this is not working??? I don't get it.

$ echo $PATH
/usr/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games

As you can see, I have /usr/local/bin in there.

Then the error:

$ cmake
-bash: cmake: command not found

But I do have a symlink:

$ ls -la /usr/local/bin/
total 8
drwxr-xr-x  2 root root 4096 Mar 27 09:07 .
drwxr-xr-x 10 root root 4096 Jan 23 23:23 ..
lrw ...
Score: 1
jave.web avatar
How to force Ubuntu to send an output signal into a detectable (but not shown) device
cn flag

I have an issue on Ubuntu 22 with JBL Headphones: JBL Quantum 610 Wireless - wireless no sound only microphone Subjectively it is closely related to this issue JBL Quantum 610 wireless connection problem

However the suggested solutions are usually upgrading the kernel.

That is something unthinkable for me considering a focus on LTS versions.

So let me ask more general question:

If there's a device ...

Score: 0
James E Keenan avatar
How do I record initial system settings?
fr flag

I recently purchased a machine that came installed with Ubuntu 20.04 LTS. In the course of the initial setup, I noticed a terminal message to the effect of "Would you like to save your initial system settings (to removable media)?" The message indicated (a) I would need at least 2GB free on something like a USB thumb drive; (b) I could postpone doing this until after initial installation. (I elected to ...

Score: 0
BoogaBooga avatar
Connect to remote Database using DB2 from Ubuntu
ck flag

I am trying to setup an Ubuntu VM as a php test development server.

However, I am having trouble connecting to our Remote Database with db2.

I am new to Ubuntu/configuring db2 and have been following this guide (the first comment):

https://www.php.net/manual/en/ibm-db2.installation.php

I am able to run the db2_connect() function in php however I get this response:

ERROR: [IBM][CLI Driver] SQL3008 ...
Score: -1
God of Money avatar
How to fix when files keep disappearing without reason
so flag

How to fix when files keep disappearing without reason? Or maybe because I accessed it? I'm on Ubuntu 22.04

money@money:~$ ls move*
move2.sh  movenew.sh  movestart3.sh
money@money:~$ cat move2.sh
cat: move2.sh: No such file or directory
money@money:~$ ls move*
movenew.sh  movestart3.sh
money@money:~$ 

Is there a log of systematically deleted file or something? My .bash_history also gone sometimes but  ...

Score: 1
Ai4l2s avatar
Installing torch: undefined symbol for liblantern.so
bv flag

I try to install the R-Version of pytorch CPU, to avoid using reticulate as a workaround. I simply used install.packages("torch") which successfully finished.

When using library(torch) after that, it states that there must be two additional system dependencies installed, e.g. libtorch and liblantern

So running install_torch() manually downloads both dependencies as zip files. However, then the foll ...

Score: 9
jj5 avatar
Why is firefox trying to access fstab and how can I stop it?
cn flag
jj5

Today I ran journalctl -k and found hundreds of entries like this one:

Mar 27 22:15:11 charm kernel: audit: type=1400 audit(1679915711.422:1671372): apparmor="DENIED" operation="open" profile="snap.firefox.firefox" name="/etc/fstab" pid=14539 comm="firefox" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0

Why is firefox trying to access fstab and how can I stop it from trying?

Score: 0
Raman Saini avatar
Need to create an installable image backup of ubuntu server, with all the configuration and files
tf flag

I need to create an image of the ubuntu system with all the files and configurations. I need to create an exact clone of the same system on multiple servers, but all the configuration and moving all the files and directories take too much time.

All servers are in the office. In case there is any mishappening, I need to recreate the same setup with all the backups of files, databases, and configur ...

Score: 0
John Doe avatar
22.04 LTS sound from different sources interrupting each other
tt flag

On my fresh 22.04 install on a Dell Precision 5570 notebook I'm experiencing sound problems. When I e.g. play a movie on netflix and a system notification sound is played, the sound from the movie is interrupted. In fact, sometimes the video stutters, too, for the duration of the system sound being played back.

This also happens for other applications, e.g. playing a game via Wine (or also native ...

Score: 0
webcoder.co.uk avatar
Ubuntu tcdump and AlertLogic attack notifications "Device entering promiscuous mode detected on IP ADDRESS" problem
es flag

We've been getting notification from AlertLogic (AL) about our Ubuntu 20.04.5 LTS out of the box linux instance entering "Promiscuous mode". I have checked both linux network interfaces 'ip -d link' and they're set to 'promiscuity 0' as well as VMWare ESXI host configuration that's hosting the linux instance has all network interfaces :Promiscuous mode" set to Reject. The AL is stating:

Attack Summ ...
Score: 1
Leszek avatar
Bluetooth headset stops working on screenlock and after restart on 22.04.2
cn flag

I've updated the system this morning and noticed that my Bluetooth headset stops working upon restart or screenlock on Ubuntu 22.04.2 with Gnome 42.5. To fix this I have to go Settings > Sound and switch Output Device between HDMI and Headset (sometimes couple of times).

Didn't have this problem with 22.04 until now.

Anyone else had experienced anything like that?

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.