Latest Ubuntu related questions

Score: 0
Big_Duck avatar
Why does the security.ubuntu.com repository exist?
gb flag

Looking at the contends of the /etc/apt/sources.list file two repositories are listed:

archive.ubuntu.com and security.ubuntu.com

At first I thought that the security repository only contains security updates but it seems like it contains every other directory as well( i.e. -proposed, -updates, and so on).

Is this just a backup copy of the archive? If so, why is it named 'security'?

Why does it exist?

 ...
Score: 0
CrookD avatar
LXC and LXD Commands not running
dz flag

I have lxd and lxd installed on my ubuntu 20.04 server. RAID 1 configured. Container backup files was deleted from /var/snap/lxd/backups/lxc and after that i am getting issue running lxc. whenever i run LXC it shows all command but whenever i do lxc list or any command. It stucks same with lxd command.

Results for systemctl status snap.lxd.daemon.service

Disabling shiftfs on this kernel (auto) lx ...

Score: 0
Yu Shen avatar
Use external X server for application (emacs) on WSL1 (recently upgraded)?
ru flag

On Jan. 23, 2022, I was led by MS Windows 10 to upgrade the WSL on my Windows 10 (20H2). It promised to support WSL2 and WSLg.

However, the support of graphic display is not possible. I can only start emacs using the terminal of an Ubuntu/WSL in terminal mode (not GUI).

The problem is that even running vcXsrv, the Ubuntu/WSL1 application would not be able to use the external X server to run as GUI a ...

Score: 2
Robdog37 avatar
Dual boot Ubuntu on two hard drives
kp flag

I currently have a laptop running Windows with two drives, the Windows 11 drive and a clean drive. I would like to dual boot my laptop with these two drives, one for Windows and the other one for Ubuntu. If possible I would like to keep my Windows drive untouched and unmodified for this. My problem is I don't know how to do this.

I have some idea since I have dual booted operating systems before  ...

Score: 1
Gayan Weerakutti avatar
How to tail multiple gz files
id flag

To tail multiple log files, I use:

tail /path/to/logs/*.log

To tail a zipped log file:

zcat /path/to/mylog.1.gz | tail

But I'd like to tail multiple zipped log files since the output of the following will not be readable:

tail /path/to/logs/*.gz
Score: 0
paulbee avatar
How to recover lost customized desktop/ubuntu/gnome settings?
mv flag

My Ubuntu 20.04 system froze/crashed while trying to install anaconda, and after rebooting, I found that all my customized Ubuntu/Gnome/Desktop settings had been reset to the defaults. (Eg background screen image, the appearance of the files windows, the location and behavior of the status/menu bar, and a whole lot more besides.)

Does anyone know if there's any way these settings might be recover ...

Score: 2
reinforcers avatar
cant install WineHQ on ubuntu 22.04
mr flag

I'm using Ubuntu 22.04 which is 64bit, when I try install Wine from WineHQ or Ubuntu repository this happen

$ sudo apt install --install-recommends winehq-stable
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 you are using the unstable
distribut ...
Score: 0
Charles1964 avatar
Gnome-Software running in background and consuming RAM
az flag

Why does this newfangled Gnome-Software have to consume 300mb of my precious RAM in the background? I remember when an previous computer of mine only had 300mb of RAM total, and now this one program is using that much on its own in the background, what can I do ?

Best regards Charles.

Score: 1
MNEMO avatar
Jetbrains Toolbox and fuse2
in flag

I have set up Ubuntu 22.10 and trying to install jetbrains-toolbox on it.

After kicked toolbox included in the archive file, it says it requires fuse, so I have installed it with apt install fuse and logged out. Then GUI started to crash and never comes up.

I have recovered it with Alt-F2 -> login in CUI -> apt install --reinstall ubuntu-desktop and successfully regains GUI login panel, but, accor ...

Score: 0
osilverstone96 avatar
How to make Pipewire work with Carla?
mc flag

I just reinstalled Ubuntu Studio 22.04.1 and, in my previous installation, I had replaced pulseaudio with Pipewire as per the instructions on this site: https://trendoceans.com/enable-pipewire-and-disable-pulseaudio-in-ubuntu/. This is to make Carla display all active applications and audio and MIDI devices so that you can connect them in the patchbay. However, in my new installation, I have done the sa ...

Score: 0
mpgioia avatar
Ubuntu Server 20.04 in VMware Workstation (Windows Host); open-vm-tools isn't working?
sk flag

I don't think open-vm-tools is working in this Ubuntu Server 20.04 guest. Small screen in runtime. Paste isn't working.. But I see vmtoolsd with a ps aux | grep vmtoolsd running.. :shrugs ?

Score: 0
Eduardo Wada avatar
How can I figure out which package currently provides a command?
br flag

I'm trying to run a Java program and I'm getting the error "xxx has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 52.0"

However, I have already installed jdk 16.0.2 which I believe should give me the updated version, which means I need to remove my old Java, my question is, how do I figure  ...

Score: -1
today avatar
Convert PDF uni-directional cross-reference links to bi-directional links
cn flag

I have a PDF file with some cross-reference links which when clicked on, they point to different parts of the file. However, this works only in one direction, say from "link..." to "content...". I was wondering if there is any way to make these links bi-directional, i.e. I can click on the "content..." to go to "link...".

One thing that annoys me the most is that currently when the file is read f ...

Score: 0
anshah avatar
Clear DNS Domain with systemd-resolve
py flag

resolvectl can clear a DNS Domain set to "~."

$ resolvectl domain
Global:
Link 3 (ens192): ~. <--

$ sudo resolvectl domain ens192 ""

$ resolvectl domain
Global:
Link 3 (ens192):  <--

I'm using Ubuntu 18.04 which doesn't have resolvectl. My only choice is systemd-resolve but I'm unable to clear the DNS domain:

$ sudo systemd-resolve --interface=ens192 --set-domain=""
Failed to set domain conf ...
Score: 0
Warning message while rendering LaTeX in Inkscape
us flag

I installed pdflatex-full.

When I try to export a math expression using LaTeX in Inkscape 1.1 (with Extension -> Render -> Mathematics -> LaTeX (pdflatex) (in Inkscape 1.2, it is Extensions -> Render -> Formula (pdflatex))), I get the following warning message.

/usr/share/inkscape/extensions/inkex/command.py:73: DeprecationWarning: The distutils package is deprecated and slated for r ...
Score: 0
HighlyHylian avatar
How do I fix the errors I'm getting while trying to install/run GNOME?
mf flag

I am using wsl (wsl2 I believe). I have GNOME installed, but Ubuntu will not boot into it. I have tried using the line sudo reboot like the guide says to do, but I got this error message.

System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
Failed to talk to init daemon

I have no clue what to do here as nothing I can find referring to  ...

Score: 1
ZL-Arctic avatar
Ubuntu 22.04 support for 12th gen Intel CPU
bf flag

I am running Ubuntu 22.04 on a laptop with Intel 12th Gen CPU, with 8 p-cores and 8 e-cores. The CPU supports 24 total threads, 2 for each p-core and 1 for each e-core. Ubuntu identifies the model of the CPU correctly but only recognizes 12 cores and 24 threads. I am running parallel jobs with OpenMPI, which also complains if I try to use more than 12 cores. I also noticed some processes run much faster ...

Score: 1
HGP avatar
Ubuntu boot stops after “Loading Initial ramdisk” - can’t start in recovery mode or using bootable USB
in flag
HGP

I have Ubuntu installed on Intel NUC 10 since mid 2020. It was working fine up until this week. The system doesn’t boot past “Loading initial ramdisk…” - automatically shuts down right after that message on the screen.

Same thing happens if I try to boot in recovery mode and also with bootable USB.

I’ve checked Grub to see if it’s reading the right hard drive partition. Most other soluti ...

Score: 1
Rajendra avatar
ubuntu cannot find /usr/bin/ld -lperl
bd flag
/usr/bin/ld: cannot find -lperl
collect2: error: ld returned 1 exit status.

command used

-L/usr/lib/x86_64-linux-gnu/per;/5.30/Core -lperl -ldl -lm -lpthread -lc -lcrypt libtool

On the above path I see these files related to perl

/usr/lib/x86_64-linux-gnu/perl/5.30/CORE$ ls -l | grep perl
-rw-r--r-- 1 root root   48759 Oct  5 10:27 iperlsys.h
-rw-r--r-- 1 root root  270175 Oct  5 10:27 perl.h
-rw-r--r ...
Score: 1
Abdo.Ch99 avatar
Pi-hole Admin Interface doesn't load with http:///admin
cc flag

I've Installed Pi-hole on my ubuntu 22.04 server

When I go to https:///admin, there should be an Interface. But it return 404 Not Found!

Debug token generated by pihole -d returns the following on Red:

[✗] tcp:*:80 is in use by apache2 (https://docs.pi-hole.net/main/prerequisites/#ports)

*** [ DIAGNOSING ]: Pi-hole processes
[✗] lighttpd daemon is failed
[✓] pihole-FTL daemon is active


*** [ ...
Score: 0
Fmhegs avatar
Dual boot issues with Ubuntu 22.04
uz flag

I bought a cheap refurbished laptop that had Windows 10 installed and I wanted to setup a dual boot system with the latest version of Ubuntu. I did this and it was successful installing Ubuntu and preserving Windows 10. The machine is an HP and is very old and uses BIOS by default but has UEFI experimental mode.

After the installation the laptop displayed that an OS is not installed, so I switche ...

Score: 0
PouJa avatar
How to grep on a file owned by nobody?
km flag

I have a /etc/openvpn/test.txt file with the following status and a single word content "test":

-rw-r--r-- 1 nobody root  173 Jan 25 21:48 test.txt

When I try to grep on it I get a permission denied error.

/etc/openvpn/test.txt | grep -c "test"

results in:

-bash: /etc/openvpn/consumption.txt: Permission denied
0

If I try to run grep with sudo as nobody I still get the same error:

/etc/openvpn/test.t ...
Score: 0
Drake Scott avatar
WSL2 - How to use apps installed on root while logged into another user
ro flag

Basically, on my root user in WSL2 I have a /.vscode directory and a /.docker directory for those respective applications. this allows me to type in the "code ." command and open a folder in vscode using the vscode server extension.

I am now trying to do this within a different user to attempt to get into good habits of avoiding downloading third party software in the root directory, but am given ...

Score: 0
JIN TLG avatar
Ubuntu 22.04 losing wifi connection everday at the same period
md flag

The wifi of my Ubuntu 22.04.1 works normally for most of time. But, recently, each day at around 21:45 to 22:45, I will lose the connection to my apartment's public wifi from my laptop.

Strangely, when it happens, my phone can connect to the public wifi, and my laptop can connect to my phone. It looks like both my laptop and the public wifi are normal.

Actually, I have dual boot on my laptop. The wi ...

Score: 1
Raakh avatar
Give root password for maintenance (or press Control-D to continue):
th flag

I just upgraded Ubuntu today and when it's restarted it's showing subject message. The main problem is I forgot my root password. Now it's repeatedly saying: Give root password for maintenance (or press Control-D to continue):

I tried to start in recovery mode but:

  1. Recovery mode is displayed as shown below and the arrow keys are not working to select the root option.

ScreenShot

  1. After some seconds the same m ...
Score: 1
Insomnia avatar
ubuntu 22.04.1 lts failed to start. wait until snapd is fully seeded
kh flag

Hello i have a problem with Ubuntu 22.04.1 LTS. This problem are: FAILED failed to start Wait until snapd is fully seeded. Pls anyone help me i must have that os for school. Sorry for English. Im from Poland

Score: 1
Adarsh avatar
Only 2 cpu out of 16 in i7 are being used for heavy task in ubuntu
cn flag

I am using ubuntu 22, with an i7 12th gen gpu with 16gb ram and Nvidia rtx 3060 gpu with 6GB vram.

While doing heavy tasks such as gaming I have observed in the activity monitor that only 2 CPU out of 16 ( mainly cpu5 and CPU 7 ) are being utilized to 100 percent whereas the other CPU hover near to 0.

I have also observed that the graph of CPU 5 and CPU 7 are almost mirror images, if CPU 5 is being  ...

Score: 0
Ray Butterworth avatar
Why does this scp copy from Windows fail when copying the containing folder, but not when coping the individual contents?
ck flag

I'm using scp to copy a folder from Windows 10 back to Ubuntu 20.4 (all software has been updated).

$ uname -a
Linux ray-desktop 5.15.0-46-generic #49~20.04.1-Ubuntu SMP Thu Aug 4 19:15:44 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

This is what's on the Windows 10 host:

$ ssh asus -n 'dir Desktop\Test\_Underscore\_Albert\2022'
 Volume in drive C is OS
 Volume Serial Number is 545E-5BEF

 Directory of C:\Us ...
Score: 0
BillyBubba avatar
Pipewire, Wireplumber, almost working like I want, but sound thru the center speaker only?
ua flag

I was using Pulse for sound and had it working with great 5.1 surround sound. I could hear Angus Thunderstruck-ing all around me! But Jammy jammed me up, with the upgrade! (FYI: I do love this version) So with pipewire coming soon as default sound/video, I decided to make the move!

My issues: (1) My machine shows it's seeing the surround, so cards, sinks, all that stuff is working (?), but all so ...

Score: 1
Frank avatar
Can't connect to remote server using Remmina
US flag

I used Remmina for extablishing an RDP connection to a remote server for which I have credentials. I used it until a few months ago and worked smoothly. Today I tried connecting to that same server again and I get the error "Cannot connect to the server" I don't know why I get this error. When I first tried to connect to the server I got no errors so I didn't have to change any setting so I don't know  ...

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.