Latest Ubuntu related questions

Score: 0
Shane Bishop avatar
How to install libapt-pkg.so.5.0 on Ubuntu 20.04
in flag

I have a dynamic library that I want to use. However, one of its dependencies is not available on my system:

$ ldd redacted_name.so | grep 'not found'
        libapt-pkg.so.5.0 => not found

I tried installing libapt-pkg, and it seemed to work. Here is the output for installing:

$ sudo apt install -y libapt-pkg5.0
Reading package lists... Done
Building dependency tree
  apt apt-utils libapt-pkg6.0
3 u ...
Score: 0
Brad Templeton avatar
22.04 has so much screen tearing in Chrome it's almost unusable
in flag

I've always had minor screen tearing problems in Ubuntu 20.04 and before, with both ATI and nvidia cards. Mostly in Chrome and Zoom and a few other apps. Usually only after running the X server for weeks, and restarting Chrome fixed it for a while so I could handle it.

But now after upgrade to 22.04 it's off the charts. Chrome is still the worst culprit, but it happens immediately after boot  ...

Score: 0
osilverstone96 avatar
How to modify fstab to automatically load my swap file?
mc flag

I have an 8GB swap file under /swapfile1 and I have to load it manually in the terminal every time I log in. I tried to modify fstab following the advice given in this thread Adding a new swap file. How to edit fstab to enable swap after reboot? with no success. What do I need to add to fstab to make this work?

Here is my existing fstab file:

# /etc/fstab: static file system information.
#
# Use 'blkid' ...
Score: 0
amiroof avatar
fglrx problem with amd gpu drivers
ma flag

i have a radeon r7 APU and 20.04 ubuntu and im trying to install the drivers. i downloaded 4 fglrx files (fglrx-core, fglrx, fglrx-dev, fglrx-amdcccle) and when i try to install the fglrx-core i get the error:

Error! Bad return status for module build on kernel: 5.15.0-57-generic (x86_64) Consult /var/lib/dkms/fglrx-core/15.302/build/make.log for more information. dpkg: error processing package fglrx-co ...

Score: 1
ScipioAfricanus avatar
Stuck on upgrading from Ubuntu 20.04 to 22.04 LTS
ru flag

I just upgraded today from 18.04 to 20.04, I am not sure if there was a mistake made in the upgrade. I am not able to upgrade a lib and do-release-upgrade to the newer version due to this lib.

I have included some outputs below for a lib thats isnt upgrading and allowing me to continue:

user@server:~$ sudo apt full-upgrade
Reading package lists... Done
Building dependency tree       
Reading state inf ...
Score: 1
Misha avatar
HDMI output sound cuts in after period of dormant sound
ke flag

I have my speakers Logitech Z333 plugged in to my LG 32GK650F-B monitor, and when sound isn't active for a period of time it take some time before sound kicks in to the speakers. I notice slack notifications cut in half way in(the last end of a slack tone) or music cuts in late or delays when hitting play. It seems like there is some sort of sleep function after a minute of no sound. I had a simi ...

Score: 0
Nube99 avatar
Backport WiFi Drivers
US flag

I'm very new to working with linux but I have a NVIDIA Jetson Nano, with the OS given that runs Ubuntu 18.04.6 LTS and Kernel 4.9.253-tegra. I had an intel card working but I needed to upgrade to the Intel AX210 for work testing reasons. When doing this I started to learn I would need a backport driver because on the intel website linked below it says for the AX210 firmware you need kernel 5.10+. My que ...

Score: 0
Hafez avatar
can't connect to the Ubuntu server
md flag

I am trying to connect to my Ubuntu server using ssh command on Ubuntu 22.04 after about a minute it shows me a timeout error I tried disabling firewall or this command :

sudo ufw allow ssh

and I'm sure that my server is not filtered, because I get its ping. also I tried putty in windows to connect but it can't get connected too. I talked to server provider, they told me my server is active and doesn' ...

Score: 0
bukszpryt avatar
Install ubuntu server without screen
ao flag

Is it possible to install ubuntu server on headless machine? I downloaded the image on my windows pc, i can flash it to pendrive, but i don't have a screen for the machine i want to install it on. Can it be done?

The problem was removed. I wrote removed, not solved, because the solution was to use a screen.

I'm not deleting the thread, because there are couple solutions that might help others.

Score: 1
noWifi avatar
Unable to connect to internet through WiFi, wlp3s0: unavailable
fi flag

The Problem

Wifi worked fine on initial install of my Xubuntu a few years ago but stopped working somewhere down the line. Here's how my nm-applet looked like

$ ip link
3: wlp3s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether 8c:a9:82:0b:3a:ba brd ff:ff:ff:ff:ff:ff

When I try to bring it up, I get

~$ sudo ip link set wlp3s0 up
RTNE ...
Score: 1
SimpleMan avatar
Youtube videos freezes regularly
ar flag

I'm on Kubuntu 22.10 running an NVIDIA GPU with a proprietary driver version 525.78.01 (same problem occured on 525.60.11 too). Starting from approximately a week ago I experience videos in YouTube played in Firefox freezing: the actual video is still playing, the progress slider advances and the audio is played back, just the picture is frozen at an older time step. This happening when I move the slide ...

Score: 0
user3171043 avatar
Updated ubuntu 22.04.1 LTS and now all network functions are gone
mz flag

I show connections to the ethernet and the wifi. Both have been assigned IP addresses. I cannot ping localhost or use tcp to connect to my mysql database. sudo lshw -C network shows all my network devices with correct information. All worked fine prior to the update. The computer is dual boot and the windows connections work fine.

Score: 1
yop avatar
sound lost in auxiliar speakers any time there is an update
in flag
yop

every update in ubuntu 22.10 gets reed of the sound in the auxiliar speakers out. To restart the sound I have to do:

sudo touch /usr/share/pipewire/media-session.d/with-pulseaudio
systemctl --user restart pipewire-session-manager

This change is reverted after an update, and the sound is gone.

Score: 0
Gerhard Eber avatar
cannot press continue when installing latest ubuntu
dk flag

During the installation procedure there are some windows where the continue button at the lower right corner is outside the window. Knowing this one can press tab several times to come there, but you are lost when you don't know it. There is also no possibility to scroll or to enlarge the window.

Score: 1
Peter avatar
unable to get cuda 12 working ubuntu WSL2 (pytorch)
st flag

I've been trying for days now to get cuda working on WSL2 Tried cuda 12 not working, tried to deinstall it all from console. I ran

#instead of cuda12 i gave up on it, went for 11.6.2
wget https://developer.download.nvidia.com/compute/cuda/repos/wsl-ubuntu/x86_64/cuda-keyring_1.0-1_all.deb
sudo dpkg -i cuda-keyring_1.0-1_all.deb
sudo apt-get update
sudo apt-get -y install cuda

wget https://develope ...
Score: 0
Mateo Garcia avatar
Port forwarding in Ubuntu 20.04 causes pings to fail
fm flag

I'm trying to forward ssh port to connect my servers together. Something like this:

Local Machine === (ssh) ===> Server A === (ssh) ===> Server B

My Servers aren't in a same location. They're both VPSs. My Local Machine IP address is dynamic.

I follow these steps:

  1. sysctl net.ipv4.ip_forward=1
  2. iptables -t nat -A PREROUTING -p tcp --dport 22 -j DNAT --to-destination SERVER_A
  3. iptables -t nat -A PRE ...
Score: 0
Mark  avatar
Unable to access second disk after reinstallation of ubuntu
cz flag

I have just installed Ubuntu 22.04.1LTS on my laptop but I can no longer access my SSD drive that was installed on place of my CD-ROM. This was fully accessible before I reinstalled Ubuntu. It is actually a 1TB disk

When I run sudo parted -l

I get

Error: /dev/sub: unrecognised disk label Model: ATA CT500MX500SSD1 (scsi) Disk /dev/sdb: 509GB partition Table: unknown

If I run sudo file -s /dev/sda{,1,2}

 ...
Score: 2
nightwatch avatar
Auditd TTY Settings for Ubuntu Server 20.04
tr flag

I am on Ubuntu 20.04 Server. I have auditd installed and configured.

Question
How can enable TTY logging via auditd?

In /etc/auditd/rules.d/audit.rules I have:

-w /etc/securetty -p wa -k login
-w /dev/tty -p rwxa -k tty -F uid!=0

In /etc/pam.d/common-password and /etc/pam.d/common-auth I have:

session    required     pam_tty_audit.so enable=* disable=adminuser log_passwd

Problem:
After I ssh  ...

Score: 0
Joseph Stateson avatar
ubuntu-drivers is not listing all devices: can I update to recommended driver?
cn flag

I only see GTX-1060. There are two other cards missing, both P102-100. Currently I am running nvidia 470 and the recommended driver is ---

nvidia-driver-525 - third-party non-free recommended

Since the P102-100 is missing does that indicate that 525 will not work?

There is another problem when running "autoinstall" perhaps related:

The following packages have unmet dependencies:
 linux-modules-n ...
Score: 1
Alia_MW avatar
AltGr (Right Alt) key not being recognized on my Ubuntu 22.04.1
ca flag

EDIT2: This is the (relevant) output for the command 'xev'

KeyRelease event, serial 37, synthetic NO, window 0x3200001,
root 0x50f, subw 0x0, time 777849246, (-866,1007), root:(464,1094),
state 0x90, keycode 113 (keysym 0xfe03, ISO_Level3_Shift), same_screen YES,
XKeysymToKeycode returns keycode: 64
XLookupString gives 0 bytes: 
XFilterEvent returns: False

EDIT: This is the output for the following co ...

Score: 1
Kyselejsyreček avatar
Is it safe to mount a Linux partition mounted using WSL2 in hibernated Windows 11?
mx flag

WSL2 comes with support for mounting Linux partitions from non-removable drives in updated Windows 10 and Windows 11. When creating an ext2/3/4 partition, for example, on an internal drive, this partition is automatically visible in File Explorer and mounted after booting into Windows. Is it okay to hibernate such Windows machine or to leave Fast Startup enabled and then "shut down" Windows and to write ...

Score: 0
Campbell Boyd avatar
Mounting my two external drives, I find the media folder is full and I have to move it to a seperate partition to avoid the main drive filling up
cn flag

When I add my two external hard drives, I mount them to folders in /media. They currently show 447.8 GiB of 915.8 GiB free (51% used) and 344.2 GiB of 915.8 GiB free (62% used). However, /media shows: 0 bytes of 264.2 GiB free (100% used).

I've had to move /media to a separate partition to avoid the main drive filling up and having no free space.

How can I mount the external drives so their usa ...

Score: 0
luator avatar
SSH agent not autostarting anymore after upgrade to Kubuntu 22.04
us flag

I upgraded from Kubuntu* 20.04 to 22.04. Now ssh-agent is not automatically started anymore upon boot. To my understanding, ssh-agent is supposed to be started by the desktop environment (i.e. without need to add something in .bashrc, .profile, etc.). Where/how is this done by KDE and what do I need to do to re-enable it?

I already found this question which mentions Xsession.options. However, "use- ...

Score: 0
Briggarno avatar
Trying to install 22.10 on new Dell 15 9520
th flag

I boot a flashed USB with 22.10 and get to "try or Install" From here it just sits....then it just locks up and screen merges colours. Mouse is dead as well. Only recourse is power button.

Currently running POP-os with no issues.

Not sure what to do now.

Laptop has latest firmware install 1.10

Score: 0
aydunno avatar
Frequent Noise in Audacity Recording
jp flag

Im having frequent noise in every recording which lasts about 1 minute and occures very regulary. The screenshots shows it best.

Screenshot: https://i.stack.imgur.com/C2SJT.jpg

What can I do?

Linux verison is Ubuntu 20.04.5 LTS Audacity version is Audacity 2.3.3 Installed fon OS'es PPA

Thanks

Score: 2
crontab run every x hours vs run when modulo hour is zero
pe flag

I have in my crontab the following

15 */4 * * * ...

My original intent was that I would run ... every 4 hours from when the computer boots up. If I power on at 8 am, it would run at 8, 12, 16, 20, ...; if I power on at 9am it would run at 9, 13, 17, 21, ...

My observation is that crontab seems to divide the hour by 4 and if the remainder is 0 it executes.

Is there a way I can achieve the former ra ...

Score: 1
shebang avatar
Some applications are drawn with wrong interface
ag flag

This is on Lubuntu 18.04 with
Desktop: LXDE
Session: Lubuntu
Window Manager: Openbox
(I'm not exactly sure what this information means.)

I must have uninstalled or changed something vital today, because some applications now have humongous buttons and an altered menu appearance. This user appears to have the exact same issue, and it is not caused by custom Colors in Customize Look and Feel, as was ...

Score: 0
Sj15305333087 avatar
OpenFOAM 10 cannot be found in the launcher in Ubuntu?
je flag

I installed OpenFOAM 10, and the terminal also displayed the installation. Why is there no OpenFOAM icon in the drive?

enter image description here

Score: 0
Saulo avatar
The mechanical bottons of touchpad of vaio fe15 with Ubuntu 22.04.1 LTS don't work
cn flag

That's what's in the title. All of the functions are working. I already tried to set area function in tweaks, but i prefer to use the mechanical bottons. Someone can help me, please?

Score: 1
Mark Bingenheimer avatar
How to set a static ip address with a /22 subnet?
gp flag

I am trying to set a static ip address on an ubuntu server 22. It is a fresh install.

The issue I am having is I cannot access the server from a different subnet. I have tried everything I can think of. I normally am not this silly with basic networking but I am not use to the new style of netplan.

Here is my config.

# This is the network config written by 'subiquity'
network:
  ethernets:
    ens18:
   ...

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.