Latest Ubuntu related questions

Score: 0
Chrystman avatar
Why is my ubuntu 22.04 update and upgrade taking longer than expected
bo flag

I am new to linux and ubuntu I just started using it as I have had enough of windows so I have installed and delete ubuntu several times these days as I am learning php, html so I want host my own local site and test my code so I want to have a real fell about a server control panel. Recently ubuntu is misbehaving and not working as it used to be so I will need some help, first uefi is not coming up whe ...

Score: -1
FedKad avatar
The latest Firefox snap version for ARM architecture stays behind
cn flag

Since Canonical forces us to use the "snap" version of Firefox in the latest version of Ubuntu, I am using Firefox snap on an x86_64 and an aarch64 Ubuntu 23.04 machine.

The latest upgraded Firefox snap version,

  • on my x86_64 machine is currently at 116.0.2-1 (snap Rev. 2987),
  • while on my aarch64 machine is still at 115.0.2-1 (snap Rev. 2918).

This fact can also be verified at https://snapcraft.io/firefo ...

Score: 0
Marko Batrac avatar
Need help with btrfs partitions
nl flag

I installed ubuntu with custom partition layout.

boot/efi

root (/) as btrfs

home (/home) as btrfs

swap partition

lsblk looks like :

NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS

nvme0n1 259:0 0 953,9G 0 disk├─

nvme0n1p1 259:1 0 1,2G 0 part /boot/efi├─

nvme0n1p2 259:2 0 230,5G 0 part /swap│ /├─

nvme0n1p3 259:3 0 705,8G 0 part /home└─

nvme0n1p4 259:4 0 16,3G 0 part

blkid looks lik ...

Score: 0
Moses Patson Phiri avatar
Failed to start Snappy Daemon Errors
gq flag

Please, how do I resolve the mentioned error.

I tried to Ctrl+Alt+F2 but still experiencing the same. The prompt to input password does not come.

enter image description here

Score: 0
OoDeLally avatar
libinput randomly misses mouse scroll events
cn flag

Randomly maybe 1 out of 50, a few ticks of the mouse scroll is not working. The next ones work fine.

I'm using Ubuntu with Wayland.

▶ lsb_release -a
LSB Version:    core-11.1.0ubuntu4-noarch:security-11.1.0ubuntu4-noarch
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.2 LTS
Release:    22.04
Codename:   jammy

The mouse is a Logitech MX Anywhere 3. I am using Solaar, and imhweel (to fix another s ...

Score: 0
David Viridifolius Boiss avatar
Shutdown hangs, screen freezed while the computer is processing shutdown
mf flag

I am using Ubuntu 22.04 and the shutdown process freezes. I always have to force it by pressing the power button.

I tried:

  • apt update/upgrade
  • set acpi=force in GRUB
  • Update BIOS/UEFI
  • Disable Virtualization

shutdown process log, the last lines where the shutdown freezes:

K1 Deactivated swap /dev/disk/by-partuuid/47ddce4
OK 1 Deactivated swap /dev/disk/by-path/pci-0000:02:00.0-nvme-1-part3.
OK 1 Deact ...
Score: 0
emk2203 avatar
Printing on a inkjet printer EPSON ET-3850 series, only the last document in queue gets printed
in flag

I have a EPSON ET-3850 with CUPS automatic driverless setup (v2.0rc1) in Ubuntu 23.04 (standard CUPS installation).

Whenever I try to print more than one file, only the last one gets printed -- all the earlier ones disappear. This is consistent behavior. This prohibits me from using lp file* or similar to print out a couple of files at the same time.

Error message from /var/log/cups/error_log is

Score: 0
Matt B avatar
Not enough free disk space on /boot kernels not there to be removed?
cn flag

I've tried many of the answers I could find repeatedly. They all result in the same error. I'm not sure the cause, but the state feels like it's still half way between upgrading from 6.2.0-26 to 6.2.0-27. But that's totally conjecture on my side. I can't figure why it's in this state, and every document I've tried to follow to purge old kernels fails because it seems like while the old kernels are visib ...

Score: 0
Cobradabest avatar
Hex characters showing instead of unicode on Ubuntu 22.04 (XFCE)
jp flag

I was trying to fix an issue I had with Libreoffice not displaying certain fonts properly, and when I tried this solution, every character turned into a square, which a reset fixed.

Since then, unicode characters have appeared as hex boxes, despite not changing fonts. Here are some examples. Korean Characters as squares Wikipedia characters as squares Arabic characters as squares

I tried to undo the change I did above, but it didn't make any difference.

What do I do?

Score: 0
rdfleay avatar
fresh install 22.04 lts deja dup restore "no backup files found"
lb flag

i have a confirmed backup of my old laptop image.

deja dup does recognise the backup hard-drive and folder on fresh install of 22.04 LTS on new laptop..

enter image description here

but the deja dup on new install says 'no backup found'...

no backups found

i have read that the default location for deja dup may have to be set to the location of the backup (where the backup is that i want to restore).. but there seems to not be alot of information ...

Score: 0
sidhanth rathod avatar
List active windows and their app icon filepaths ( from current icon theme ) - Xorg
kp flag

I can get the list of active windows by

xprop -root _NET_CLIENT_LIST , wmctrl -l

but how do i get their app icons too? preferrably from /usr/share/applications/appname.desktop! cuz these have highquality svg icons

OR

if it would be possible to get the filename.desktop of those windows then it will be very easy for me

Score: 0
userfh  avatar
bash: /home/linuxbrew/.linuxbrew/bin/node: cannot execute binary file: Exec format error
gb flag

I am trying to install nodejs on wsl but I faced this issue Commands I tried:

brew install node
brew link node
node -version
-bash: /home/linuxbrew/.linuxbrew/bin/node: cannot execute binary file: Exec format error
Score: 0
Xavanteex avatar
Are netplan configuration evaluated dynamically?
si flag

When applying a netplan configuration, is the configuration evaluated dynamically? For example will match keywords generate a static interface at apply time or will it be evaluated continously so that if I were to hotplug a NIC it could match it?

Score: 0
Aydiniyom avatar
An error occured, please run package manager from right-click menu
gm flag

I Just installed Ubuntu 22.04.3 LTS today and after a few minutes, I had a red circle with a white minus inside of it at the top bar, I clicked it and this error message popped up:

An error occurred, please run Package Manager from the right-click menu or apt-get in a terminal to see what is wrong. The error message was:' Error: Opening the cache (E: can not open /var/lib/apt/lists/ir.archive.ubunt ...
Score: 0
kovica avatar
Ubuntu server upgrade
us flag

I have couple of very old Ubuntu servers running that I HAVE to upgrade, I cannot install new machine. Old as in 12.04 LTS version old. I did try new install of 12.04 and upgrade that to 14.04 and all the way to 22.04 and it works. I just do not find any information about how long I will be able to upgrade 12.04 to newer versions.

Score: 0
Nicolas D avatar
Terminal not blinking and impossible to type
cn flag

My terminal isn't blinking and it is impossible to type anything. It is doing that since several weeks, I don't know the reason and as I have no working terminal, I don't know how to investigate / update / fix it. Is there a way to reinstall terminal by interface? If not, maybe a way to launch it in debug mode just to be able to reinstall something?

Here my bashrc file

# ~/.bashrc: executed by bash(1) ...
Score: 0
Shivangi Singh avatar
code compilation issues
nf flag

I am working on a project related to jet physics.

For that, I am using a Linux terminal in my Ubuntu 22.04 LTS. I use libraries of Pythia, Fastjet and fastjet-contrib in my code.

When I recently used a library of fastjet-contrib in my code, I faced the error given below during compilation even though the same code got compiled in a different system that has Mac OS.

All the software versions and make ...

Score: 0
user2316008 avatar
Trying to installing python modules in Ubuntu, I cannot find them in the official repo
tt flag

In the PyPi repo there were several modules I was using. (Gekko, Control, and Inspyred). I cannot find their equivalent in the Ubuntu official package repo. Have they been renamed or were they not built for Lunar. This has been an issue since the change to install python modules using apt (apt install python3-numpy)

https://pypi.org/project/gekko/ https://pypi.org/project/control/ https://pypi.org/pro ...

Score: 0
user7216373 avatar
Bluez: cannot find Bluetooth device after failed pairing
pf flag

I am developing a simple app in python that uses bluez and dbus. The app should pair with a Bluetooth device - a raspberry Pi. I failed at pairing once, and now not only am I not able to reproduce the error, I can't even find the device anymore.

what I did:

  • scanned for all the devices ( using the startDiscovery() function on an object implementing org.bluez.Adapter1 interface)
  • checked every found ...
Score: 0
sidhanth rathod avatar
Get app name by its window ID ( in xorg & linux )
kp flag

i have a window id, i would like to know its app name.

For example, there's an app called "PulseAudio Volume Control", ( pavucontrol pkg )

Now if I open it and xprop it, then the wm_class etc shows Volume Control

Is it possible to get the actual app name mentioned in the .desktop file? ( the Name variable )

Score: 0
Tim Clinckemalie avatar
Ubuntu unattended-upgrades
cn flag

Origanally I have posted this question on stackoverflow, due to the fact it is the wrong forum. I'm asking the question again here with some extra information I have gathered.

I'm looking into creating a script in bash for automating my update-u^grade process for all my virtual machiens as a homelabber.

I'm a developer but currently not have that good knowledge of bash:

My current script is pretty simp ...

Score: 0
RAHUL avatar
Permanently Turn off wifi hotspot option
tw flag

How to disable turning on wifi hotspot in Ubuntu 22.04.2 LTS

Score: 0
ryn avatar
ubuntu server 22.04.3 LTS - system has been minimized
jp flag
ryn

I have done a fresh install with Ubuntu Server 22.04.3 LTS. I'm amazed by this When I reboot, I have:

This system has been minimized by removing packages and content that are
not required on a system that users do not log into.
To restore this content, you can run the 'unminimize' command.

and it is waiting for the service to restart that it offers me: why doesn't it start the services it needs automa ...

Score: 0
jorgmo02 avatar
Audio not working for some applications - Ubuntu 20.04.06
tl flag

I have a problem with the system sound in some applications. It won't reproduce any audio on some specific installed apps (for the moment I've experienced this with Slack, which was installed via snap, and Telegram Web-.AppImage version). Other workmates also use Slack with Ubuntu and aren't getting this problem.

The audio is working properly on web browser (Mozilla Firefox), on Spotify and on lo ...

Score: 0
Martin AJ avatar
How to check if ppa:ondrej/php repository is added successfully?
be flag

I'm trying to install PHP 7.4 on Ubuntu 18.04. I've executed the following command:

sudo add-apt-repository ppa:ondrej/php

It looks finished successfully. After that I update the apt by:

apt update

And finally when I want to install PHP 7.4, by by the following command:

sudo apt install php7.4

It throws:

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable  ...
Score: 3
Felipe Weber avatar
Upgrade to Kernel 6.2 broke bluetooth headset microphone
sm flag

Since my Ubuntu (22.04) was upgraded to Kernel 6.2.0-26 , my headphones (Sony WH-1000XM5) can no longer connect with the headset (handsfree_head_unit) profile (a2dp_sink, i.e. audio only, works fine). Booting back into kernel 5 (5.19.0-50-generic) "fixes" the issue.

Trying to change profile:

➜  ~ pacmd set-card-profile bluez_card.AC_80_0A_1A_D6_56 off                
➜  ~ pacmd set-card-profile bl ...
Score: 0
SirMastroBirraio avatar
SELinux enforcing blocks network interface
fi flag

I have installed SELinux on an Ubuntu Pro Server with the following packages:

policycoreutils, selinux-utils, selinux-basics, auditd.

The problem appears when I set SELinux policy to "enforcing". My system loses network capabilities; when I run ifconfig the only interface displayed is the loopback interface.

So I set SELinux back to "permissive" and checked the logs in /var/log/audit/audit.log I see he ...

Score: 0
MJimitater avatar
How to remove settings of TLP?
jp flag

I haven't yet figured out how to get TLP working nicely on my Ubuntu Thinkpad, as I had to scrap the broken battery the other day and replace it with a new one.

I've got my new battery in place now, but don't want TLP anymore. So I placed TLP_ENABLE=0 via sudo vim /etc/tlp.conf (as described here). I rebooted but the thresholds are still in place, meaning my battery is at 80% and not charging. So now  ...

Score: 0
Sebastian H avatar
slow booting of xubuntu in virtual box
sg flag

I installed Xubuntu 22.04 in virtualbox. But takes more than five minutes. I have given the system plenty of ram, 6 cpus and disk space is half used.

The longest acitve service while booting is: plymouth-quit-wait.service (4min 59.800s)

with the dependencies: systemctl list-dependencies --reverse plymouth-quit-wait.service plymouth-quit-wait.service ● └─multi-user.target ● └─graphical. ...

Score: 0
bluenazgul avatar
Can't update my system using apt update
va flag

I am unable to Update my system.

root@Pi-Hole:~# apt update
Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:3 http://archive.ubuntu.com/ubuntu jammy-security InRelease
Traceback (most recent call last):
  File "/usr/lib/cnf-update-db", line 3, in <module>
    import apt_pkg
ImportError: /usr/lib/python3/dist-packages/ap ...

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.