Latest Ubuntu related questions

Score: 0
Fatih İlhan avatar
Mounting error: unknown filesystem type 'LVM2_member'
dk flag

lsblk output:

NAME                      MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda                         8:0    0 931.5G  0 disk 
└─sda1                      8:1    0 931.5G  0 part /mnt/storage_hdd
sr0                        11:0    1  1024M  0 rom  
nvme0n1                   259:0    0 953.9G  0 disk 
├─nvme0n1p1               259:1    0   1.1G  0 part /boot/efi
├─nvme0n1p2            ...
Score: 0
Stan avatar
How to remove left padding on dock panel?
ch flag

After a long time I have updated to latest Ubuntu (22.04.1 LTS) and found it pretty annoying that the dock panel has a few "dead" pixels between the left side of the screen and the app icon. As a result, I cannot select an application by simply moving the cursor to the extreme left and clicking an icon. I need to exactly position a cursor to target the app icon.

How can I remove this spacing? I have trie ...

Score: 1
CLAUDE avatar
Ubuntu 22.10 booting issue
za flag

Yesterday, I upgraded my Ubuntu to 22.10. However, after installing Ubuntu and restarting the following message is shown:

error: shim_lock protocol not found.
error: you need to load the kernel first.

Press any key to continue ..._

How may I resolve the issue?

Score: 1
αԋɱҽԃ αмєяιcαη avatar
How to delete files with specific size?
us flag

Using ls -lSrh I get this output:

-rw-rw-r-- 1 a a 2.4K Feb 15 04:44 10010.png
-rw-rw-r-- 1 a a 2.4K Feb 15 04:43 1000.png
-rw-rw-r-- 1 a a 2.4K Feb 15 04:44 10009.png
-rw-rw-r-- 1 a a 2.4K Feb 15 04:44 10008.png
-rw-rw-r-- 1 a a 2.4K Feb 15 04:43 10004.png
-rw-rw-r-- 1 a a 2.4K Feb 15 04:43 10000.png

How can I delete all .png files with the specific 2.4K size?

Score: 2
CP Trail Runner avatar
Unable to use RealVNC from Windows after Ubuntu release upgrade
in flag

I just upgraded Ubuntu 20.04 LTS to Ubuntu 22.04 LTS.

Before the release upgrade, I was able to access the desktop on 20.04 from Windows 10/11 using RealVNC, but now after the upgrade to Ubuntu 22.04, I can no longer connect using RealVNC.

I set up the VNC server on Ubuntu 22.04 in the same manner I used to set it up on 20.04, but every time I try to connect, I get the message on the VNC Viewer The conn ...

Score: 3
lucidbrot avatar
Is it safe to keep .dpkg-old files in /etc/grub.d?
de flag

A release upgrade asked me whether I would like to use the new or old version of /etc/grub.d/10_linux file. I chose the new one, but noticed now that the old (slightly manually patched) file is still there, named 10_linux.dpkg-old.

My understanding is that update-grub will run all the scripts in /etc/grub.d. Since there have been a few bugs fixed in the new version of the 10_linux script, I do not wan ...

Score: 1
hakim00 avatar
How to fix broken Packages without internet access
wf flag

so i've uninstalled pihole on ubuntu 22.04.01 and removed the dependancy iproute2 which lead to no internet access - network-manager seems to be removed also but i didnt within the uninstall. After I've tried to manually add the packages to resolve the issue, it kept showing more and more dependancies for each package i add. I feel like this will go on in a loop.

Packages i added with dpgk -i:

iproute2  ...

Score: 1
sbbid avatar
How to fix Nic not connecting?
mg flag

I'm running Kubuntu 20.04 on an older PC. The NIC on the motherboard has been giving me trouble recently, occasionally disconnecting and requiring a reboot to reconnect. So I added a PCIe Ethenert Card, but it won't pull an IP address. The card is an old TP-Link NT TG-3648 hardware v2, that I found among my spare parts. I've tried both PCIe ports on my motherboard.

When I run lspci -v | grep Ethernet ...

Score: 0
eltopo avatar
What can I do with the information I get from dpkg -C?
nc flag

I'm trying to fix a Ubuntu 20.04 installation where I have a number of packages that need to be reinstalled. I found this out (as one would) by doing dpkg --audit (or dpkg -C), which returned a list of packages that have to be reinstalled.

This returned a pretty long list of packages for some reason. One of the actions I can take is to do apt install --reinstall [package-name] but there are at lea ...

Score: 0
Star killer avatar
Is there anything i can do to recover the data?
ge flag

enter image description hereI am running ubuntu 22.04.1. Whenever I try to copy the files over i get the error "Error while copying "file name here" There was an error copying the file into Home/downloads Error splicing file input/output error the files seem to play back fine. Video files In disks it says partition okay with 45 bad sectors is there anything i can do?

The drive is a sata hard drive and i am trying to copy it over to ...

Score: 0
Desperado17 avatar
Install gcc-9-arm-linux-gnueabi and make it default
pr flag

for cross-compilation, I want to install gcc-9-arm-linux-gnueabi on a Jammy Amd64 machine. Installing gcc-arm* will only give me version 11 of the compiler. However, I want to install arm gcc and g++ 9 and make them default arm compiler with all links etc. I also need a libc < 2.34.

How can I do this?

Regards

Regards

Score: 0
William Lin avatar
Unable to locate package openjdk-14-jdk, Ubuntu 20.04
yt flag

I am trying to install openjdk-14-jdk required for install the Eclipse IDE, but it returns "E: Unable to locate package openjdk-14-jdk". There is no recommendation when I click TAB at "sudo apt install -y openjdk-". How can I fix it? Thank you!

enter image description here

I was following the instruction here: enter image description here

Score: 0
Sarang Hadagali avatar
Getting autentication error while upgrading to Ubuntu 22.04
sc flag

I have currently running Ubuntu 21.04 and trying to upgrade to 22.04

once I do

sudo apt update
sudo apt upgrade
sudo do-release-upgrade

I get the following authentication error

Blockquote s" async=""> Continue [yN] y Get:1 Upgrade tool signature [691 kB]
Get:2 Upgrade tool [691 kB]
Fetched 691 kB in 0s (0 B/s)
authenticate 'jammy.tar.gz' against 'jammy.tar.gz.gpg' Authentication failed Authenticatin ...

Score: 1
Dabbo avatar
Installed WSL2 OK. GUI apps working fine. But how to print?
mz flag

Newbie question, sorry. Learning Linux. I've installed WSL2 on Windows 11 laptop. Successfully running apps e.g. LibreOffice. Been trying to figure out how to print to my home network HP printer. My printer is currently at 192.168.1.19 (but presumably this changes with dynamic allocation). Is there some way Ubuntu can locate network printers on my local network and install them for use by the apps?

 ...
Score: 0
IlyaChch avatar
GNOME Software hangs after sleep on Ubuntu 22.04 LTS and 20.04 LTS
jp flag

After my Ubuntu system goes to sleep, GNOME Software hangs on any network requiring action such as searching for updates or opening the application view page. This issue occurs on both Ubuntu 22.04.1 LTS and 20.04 LTS with GNOME 42.5 and gnome-software 41.5. The only solution is to kill the process, after which everything returns to normal.

Also there is a closed issue on the GNOME Software GitLa ...

Score: 1
vaso123 avatar
Labtech webcam shows black screen
cn flag

I have an old Labtech webcam, and it shows only a black screen.

lsusb gaves me:

Bus 003 Device 002: ID 046d:0929 Logitech, Inc. Labtec Webcam Pro

Also:

ls -la /dev/video0 
crw-rw----+ 1 root video 81, 0 Feb 16 13:36 /dev/video0

When starting cheese, it says, no device found.

Skype is showing only a black screen.

Can anybody have a suggestion?

Score: 0
DrDecane avatar
Evolution won't load any calendar whatsoever?
hm flag

Evolution won't load any calendar whatsoever. I tried Exchange (work), web based (for testing) and Google (private). There isn't even an error message. Nothing. I don't even have an idea where to start working on this problem... Colleagues of mine have the exact same settings, down to the last little bit, except for username and password obviously, and for them everything just works like a charm. I've a ...

Score: 0
les_h avatar
Element won't log in
in flag

Some weeks ago, an ubuntu upgrade crashed. I made a backup of my home directory and then wiped my hard drive. On the "new" system, I copied over my personal directory, but had to rebuild my installed apps from scratch.

I recently re-installed Element and it found it's folder, but it won't log in to the matrix server. It says

Connectivity to the server has been lost.

Sent messages will be stored until  ...

Score: 0
Ephermal avatar
How to change automatic suspend to automatic hibernate
bo flag

Like the title suggest, I would like the automatic suspend function to automatic hibernate. I'm on 22.04 LTS, t490s thinkpad. I've already configured it so when I close the lid, my laptop hibernates instead of suspending, but I'd like to also change it if I leave the lid open.

Score: 0
Mirco Gazzola avatar
(Ubuntu 22.04 Server) I need help
ao flag

I'll try to be as simple as i possibly can. I'm in quite a pickle.

See, i'm currently a student of a DevOps course. Too bad, our professor gives little to no theory knowledge. Honestly, it is kind to call him professor. All he does is giving us links to tutorials and saying "do them". Problem is, by doing this i understood little to nothing and so now i need some help on doing some specific exerc ...

Score: -2
Tarik avatar
Error establishing a connection to SQL Server
cn flag

Welcome, After installing MS SQL Server on Ubuntu and trying to connect it shows the following:

~$ sqlcmd -S .\SQLEXPRESS -Q "SELECT GETDATE();" 
Sqlcmd: Error: Microsoft ODBC Driver 17 for SQL Server : Login timeout expired.
Sqlcmd: Error: Microsoft ODBC Driver 17 for SQL Server : TCP Provider: Error code 0x2AF9.
Sqlcmd: Error: Microsoft ODBC Driver 17 for SQL Server : A network-related or instanc ...
Score: 1
Juan Rosello avatar
Issue with ext4.vhdx using WSL2 in Windows 11
tr flag

I had and issue with WSL installing a package, so I decided to uninstall Ubuntu 22.04 to fresh install again. I did the mistake to delete manually some files and then I had some issues to reinstall Ubuntu, it displayed an error: there was no file in C:\Users\PC\AppData\Local\Packages\CanonicalGroupLimited.Ubuntu22.04LTS_79rhkp1fndgsc\LocalState\ext4.vhdx.

Finally I was able to installed, and later I wan ...

Score: -4
Tricia279 avatar
General question about ls -d
ga flag

When I run the command ls -d, I just see a dot, nothing else.

It is always the same wherever I am. What does that mean? What does Linux show me here?

I use a RHEL 8.6, but it is relevant for all linux systems I guess.

Score: 3
Samanway Karjee avatar
E: Package 'python' has no installation candidate
gb flag

I have been experimenting with some hacking tools (like hydro) recently and I came across a tool called Responder. It basically opens an SMB server that grabs the NetNTLMv for the administrative user from a server/client (BTW I am still a beginner so please go easy on me if I am wrong). I tried to run the script by typing ./Responder.py -I tun0 but it said /usr/bin/env: ‘python’: No such file or dire ...

Score: 0
SickerDude43 avatar
No sound on my HP-15eq on Ubuntu 22.04 but on Windows
ag flag

I bought this new Laptop a week ago and immediately installed Ubuntu on a Dual Boot. However it seems to not detect my sound card. On Settings I simply get a Dummy Output, but no Sound at all. Microphone doesn't work as well. Both work fine on Windows. I tried to install a Realtek Sound Driver, but they seem to be outdated and don't work on newer Linux versions. In the Windows Device Manager I've notice ...

Score: 0
Editing a shell file while running it affects its behavior?
cn flag

I am using the bash shell. Today talking with a colleague, he told me something that I found surprising and I would like to confirm it.

Say I have a shell script like this

#!/bin/bash

set -eu

python some_really_long_script.py

So I start executing it by running ./the_shell_script.sh.

Now, the command takes time. Probably hours.

My question is, if I edit this script file like this

#!/bin/bash

set -eu
 ...
Score: 0
marc avatar
Copying file path from GUI to the command line (another question)
pl flag

I used to get the path to some files by selecting them with the mouse and then copying and pasting them into my terminal. Howerver, this doesn't work anymore.

I realize that the subject have been exposed several times; however, I cannot figure out what the solution to my own case is.

Any suggestion on how to restore this would be appreciated.

Ubuntu 22.04.1 LTS
64-bit
GNOME Version 42.5
Windowing System  ...
Score: 1
Bheid avatar
check last lock time
jp flag

I need to check the last time that I locked my Ubuntu LTS 22.04 Desktop system. for example for login time I use this command: cat /var/log/auth.log | grep unlocked but can not find any log event for when the system has been locked

Score: 1
dkz avatar
Ubuntu 22.04 auto scrolled to the top
bq flag
dkz

For last couple of days I'm facing this issue. After some times system automatically scrolled to the top of the window (Browser|Windows|Terminal|...). All my settings seems normal. Anyone facing this issue? or anyone knows how to fix this? Thank you.

gsettings list-recursively org.gnome.desktop.peripherals.touchpad

org.gnome.desktop.peripherals.touchpad click-method 'areas'
org.gnome.desktop.periph ...
Score: 6
William Lin avatar
Entire battery drains even though `[s2idle] deep` is available in my "/sys/power/mem_sleep" file
yt flag

After I suspend my laptop for ~10 hours, the laptop dies with the entire battery drained. I use "cat /sys/power/mem_sleep" to check the suspend mode and it returns "[s2idle] deep". Doesn't it mean I have the advance suspend mode that drains very little power during suspension?

I tried "sudo journalctl | grep "PM: suspend" | tail -2" after I suspended and woke up the laptop. It returns

Feb 16 10:46:42  ...

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.