Latest Ubuntu related questions

Score: 0
Mandeep Singh avatar
Cannot open root device "nvme0n1p4" or unkown-block(0,0): error -6
fr flag

I am running Ubuntu as a dual boot with Windows 10 and a few months ago faced the issue where I wasn't able to boot into Ubuntu and was getting an error similar to the error message in the title of this question.

After I followed some of the instructions in various other questions, I believe I messed up my configuration even more and started getting this error. Now, I don't even remember what all ...

Score: 3
NibbleAbit avatar
Configure USB boot to load Linux from hard drive
pk flag

I have a Lenovo Thinkstation E30. I cannot get it to boot from the hard drive and have given up trying. My thought now is to boot from a USB stick and have it load Ubuntu from the hard drive (or even load from the USB) and mount / from the hard drive. How do I modify the Ubuntu install image to do this? I've tried to

chroot /cdrom,

but I get

failed to run command ‘/bin/bash’: No such file or dir ...

Score: 0
zingdle avatar
Understanding libc++ and libstdc++ packages on Ubuntu
cn flag

When searching on apt, I noticed that there're lots of similar libstdc++ packages:

libc++-1
LLVM C++ Standard library

libc++-1-11
libc++-1-12
...
LLVM C++ Standard library

libc++-dev
LLVM C++ Standard library (development files)

libc++-11-dev
libc++-12-dev
...
LLVM C++ Standard library (development files)

==============================================

libstdc++5
The GNU Standard C++ Library v3

libst ...
Score: 0
Vini.g.fer avatar
Ubuntu 22.04 not loading after installing it on dual boot with windows 10
cn flag

Trying to setup dual boot ubuntu on a HP notebook, and currently only windows 10 is booting (default, pre-installed with the notebook). Followed the default next-next-next-finish installation by using a UBS stick, and the only thing that I changed was the allocated space for windows and for ubuntu: asked to be 50% for each OS. Then after the intallation is done, there is no way to select Ubuntu or Windo ...

Score: 0
gipsea avatar
distro update - something went wrong with apache
in flag

few days ago I started a distro upgrade from Ubuntu 20.04 to 22.04. Something did not go properly (possible an human error :( ).

Initially the repo file was wrong (jammy insted focal) with partial new installation. I changed the repo file and manage to 'downgrade' the system

After this I upgrade the distro again which went I would say not too bad until the end when I realized issues with the apache  ...

Score: 0
Aelian avatar
Ubuntu 22.04.1 installation fails on a multiboot EFI box
gg flag

Been trying to install Jammy Jellyfish on my desktop without much luck. It is about 10 years old, but good enough (dual socket, 24 core, 32GB) for me. It has multiple partitions with multiple OSs (14.04 - 18.04 and some CentOSs). This is what I did in the latest attempt:

  1. Created a USB stick with the latest iso using Rufus on a windows laptop. Selected GPT/UEFI.
  2. Erased / formatted sdb4 (275GB) as a ext ...
Score: 0
SkiBum avatar
String Manipulation in a called bash script
cm flag

Using Ubuntu 22.04.1 LTS.

I have two scripts (script1.sh and script2.sh).

If I executed either one independently they work properly. If I call script2.sh from script1.sh it errors on a string replacement command in script2.sh. But if I execute script2.sh directly (not called from another script) it works properly. I have removed passing parameters to simplify the example. In the full script, I w ...

Score: 0
Antonio BC avatar
Upgrade to Ubuntu 22.04 VBox shared clipboard issues
hk flag

I'm running Ubuntu on a VirtualBox VM and I accidentally upgraded from Ubuntu 20.04 to Ubuntu 22.04. Unfortunatly it broke shared clipboard as well as multiple displays and I can't seem to fix it. I've tried doing "sudo apt-get install virtualbox-guest-dkms virtualbox-guest-utils virtualbox-guest-x11" but it says it's already installed and it still doesn't allow me to use shared clipboard. As far as sec ...

Score: 0
jamby avatar
what happened to ustreamer unable to find it with apt install
bq flag

I am seeing several references about ustreamer

ustreamer_4.9-1_arm64.deb

22.04 says

sudo apt-get install ustreamer Reading package lists... Done Building dependency tree
Reading state information... Done E: Unable to locate package ustreamer

No mention of a repository other then standard with Desktop 22.04

Thanks Jim

Score: 1
Copy selected files from one folder, retaining the directory structure
cn flag
SEU

I want to copy all the JPG files from one folder to another and it works.

find /path/from/dirA/ -name "*.JPG" -exec cp "{}" /path/to/dirB \;

To improve on the above, I would like to copy them into the same directory structure with the date. The folder structure is like below without specifying the dates.

/path/from/dirB/2022_12_27  to  /path/to/dirB/2022_12_27
/path/from/dirB/2022_12_27  to  /pat ...
Score: 0
kindaichi avatar
How to make resume from suspend work properly on Wayland + Nvidia?
sv flag

Using Ubuntu 22.04 with Gnome and a 20 series Nvidia card with the proprietary driver. Resuming from suspend on a Wayland session breaks the screen (almost entirely black with some few visible blacks, even though commands still work, so I can just reboot). This is a common issue with Nvidia cards from what I've seen, and the Arch wiki even describes a workaround, but Ubuntu doesn't handle mkinitcpio th ...

Score: 0
Eguib avatar
Issues connecting to ubuntu server on the same network over certain ports
er flag

I recently started an ubuntu server and wanted to set up plex using docker compose. I started by following this guide: https://www.smarthomebeginner.com/docker-media-server-2022/ However when I got up to the section with radarr I noticed that I can't seem to connect to the website from a computer on the same network. I tried both using the host computers local ip and the public ip. Running

sudo docker  ...
Score: 1
JamesB avatar
Directory names with blanks - recursive file check
um flag

To check the play length of audio files, I'm using the following script:

#!/bin/bash
for dir in $(find . -type d); do
cd $dir

for file in *.ogg *.wav *.mp3
do
  duration=$(ffprobe "$file" 2>&1 | awk '/Duration/ { print $2 }')
  echo -e "$duration\t$file"
done | sort -n

cd - > /dev/null
done

Where the directories being read recursively contain no spaces in the names, this works fine.

Score: 0
Greg Schaffer avatar
Using Ubuntu as a Redirector
gt flag

I have a question that I hope is simple, but I can't seem to find an answer.

I have an Ubuntu server that only allows connections from one specific source IP address. This IP address belongs to another Ubuntu server with one interface, and this is a restriction I cannot change for a variety of reasons.

I would like to have the flexibility to use the second Ubuntu server as a proxy to allow connectio ...

Score: 0
joseph warui avatar
Files.ubuntu recovery
vu flag

Hae. Is it possible for one to access/recover files that were backed up with https://files.one.ubuntu.com/ and if it's possible kindly give me a guide to how I can achieve that. Thanks in advance.

Score: 0
Allow an unprivileged user to modify network settings
se flag
Tom

My son uses my second laptop. Every time he connects to a wifi network, I have to put my password in to. Is there a way to let him connect to wifi networks without making him a fully privileged user?

Ubuntu 18.04.

Score: 0
baba avatar
Ubuntu 20.04 netplan second interface to access a host directly
vg flag

i've an ubuntu 20.04 server with netplan (netplan.io/focal-updates,now 0.104-0ubuntu2~20.04.2 amd64). There are two network interfaces ens18 and ens19. ens18 is the main interface, all traffic should be routed through this interface. ens19 should only be used to access the ip 10.10.3.36 directly without a gateway. All other clients in 10.10.3.0/24 should be accessed by ens18.

# This is the network  ...
Score: 1
Bill in Kansas City avatar
Kill and restart a program with a single command
pk flag

Autokey-QT sometimes gets stuck. It hasn't crashed, it's still running, but it's done half of a script and then stopped for some reason. I haven't been able to figure out why because I can't duplicate the issue at will. The only way I've found to continue is to kill the program in System Monitor and re-launch.

How could I do that in a bash script? The goal being to create a keyboard shortcut that ...

Score: 0
vbee avatar
No sound on Steam and Steam games in Kubuntu 22.10
il flag

I installed steam (via apt-get) on my Kubuntu 22.10 64 bit (HP Envy laptop), but there is no sound or music coming out (either from the steam client or the game "Star Conflict").

I had no previous issues with the sound in my system and everything else is working/sounding fine.

Also the Steam client and the games work well, other than the sound...

Any ideas??

Btw. I see that there might be some incompatibi ...

Score: 0
Don1499 avatar
How do I get my e-mail address off my Folders GUI?
bs flag

I know this is trivial, but I don't like it and I will learn something. How do I get my e-mail off of the folders gui? Email in folder

Score: 0
Harsh avatar
Why can fdisk create a 10GiB partition on a 10GiB device but not a 9.9GiB partition
in flag

I am currently learning about creating and managing devices on my Ubuntu Server 22.04 VM running on a KVM host. I added a virtual qcow2 storage disk to the VM. I used fdisk and for very specific purposes I need to create a 9.9GiB partition . I setup a DOS style partition table and then tried to create a primary partition.

Following are the steps to reproduce

root@hmxserver:/home/hmx# fdisk /dev/vd ...
Score: 0
Amir Sardar-Abadi avatar
Failing to update NVIDIA drivers with flatpak
cn flag

I am using Ubuntu 22.04 LTS. I want to update my flatpak drivers, and it requires NVIDIA driver (org.freedesktop.Platform.GL.nvidia-515-86-01). Unfortunately, NVIDIA doesn't allow my IP to download the driver directly (my country is banned), so I tried to use a VPN. It gives this error: Warning: Wrong size for extra data https://us.download.nvidia.com/XFree86/Linux-x86_64/515.86.01/NVIDIA-Linux-x86_64-515 ...

Score: 0
PouJa avatar
How to install stunnel5 on ubuntu?
km flag

I have recently stunnel4 from my Ubuntu server. I installed it using:

apt-get install stunnel4

Now as I read online it seems that a later version has already been released. It is stunnel 5. How do I install that or upgrade to it?

Score: 0
johnDoe220 avatar
how to clear crontab ubuntu cache memory
aq flag

I started my server and configured the server without cPanel or direct admin. And to run queues in Laravel, I need to run cron, so I wrote the desired command in cron and everything works fine. Until I noticed that cron is consuming too much RAM, while the execution of this queue is very light and is done every 5 minutes. Now my question is how can I free up the RAM, thanks memory usage in crontab  ...

Score: 0
chges avatar
Keyboard layout conflict with Ubuntu Budgie 22.04.1
bv flag

I upgraded Ubuntu Budgie from 20.04 to 22.04.1. Previously, I had configured in the settings dialog that I can switch between the keyboard layouts "DE" and "NO", which worked flawlessly with Super+Space. After the upgrade, this does not work anymore, but the keyboard settings in the system settings are set correctly.

In fact, the behavior is weird: The Tray symbol for the keyboard layout switches correct ...

Score: 0
Сергій Гудзь avatar
"Run as program" does not open a terminal window
gt flag

I am use Ubuntu 22.04 (on Ukrainian language). I want to run my scripts (like .py) quickly, but:

  • if I use function "Run as a program" in File Manager (Nautilus) it work is correct (a terminal window opens)
  • but if I use this function from desktop nothing opens (although the script, according to my observations, is executed).

How can this be fixed?

video

Score: 0
user310148 avatar
No connection despite being properly connected (not solved by changing resolv.conf)
gh flag

I was trying to install my new earphones, and mid download internet stopped working. I had come across this issue where pinging google.com would lead to « temporary failure in name resolution » My previous fix was to add the proper DNS in wi-fi settings which did the trick, but this time the DNS was already set up properly.

As you can expect, modifying resolv.conf to include « nameserver 8. ...

Score: 0
Juandev avatar
Unable to connect wifi
ps flag

I have established new wifi, but my Ubuntu 22.04.1 LTS doesn't want to connect it and repeatedly asks for PSW. I have tried to connect from Win 11 and MIUI 13.0.7 and it works from there. How to debug?

Score: -3
ubuntunew avatar
Unmet depedencies and not enough free space (eventhough i have plenty)
kn flag

I'm super new in this Ubuntu world, so i have been having a hard time looking for solutions( also English isnt my first language so please be kind). I recently tried installing TeXLive but the instllation stopped due to not having enough free space, even though I gave 49GB to my Ubuntu partition and Disk Manager points ive only used 0.3%. Moreover, every time i try uninstalling the TeXLive package I end ...

Score: 0
John McDermott avatar
Error when installing WSL and Ubuntu on Windows 11
in flag

I'm attempting to install Ubuntu on a Windows 11 pc (build 22621.963) using WSL, but I'm receiving the following error:

screenshot of error

Ubuntu was installed from the Microsoft Store.

Windows Features:

  • Virtual Machine Platform is ON
  • Windows Hypervisor Platform is OFF
  • Windows Subsystem for Linux is ON

UEFI BIOS settings:

  • Virtualisation Technology - Enabled
  • Hyperthreading - Enabled

I'm wondering if this is a Windows ...

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.