Latest Ubuntu related questions

Score: 1
U.V. avatar
cannot install winehq-stable due to broken packages on 20.04 upgraded from 18.04
cn flag

I found this article Unable to install wine32 due to broken packages but this is not quite the end of the story for me.

After digging down the dependency trees it seems that the underlying cause were older gcc-11 installation on the predecessor 18.04 holding essentials libraries.

The following packages have unmet dependencies:
 libgcc-s1 : Breaks: libgcc-s1:i386 (!= 11.1.0-1ubuntu1~18.04.1) but 10.3.0-1 ...
Score: 0
notworking avatar
Where are 32 bit libraries installed?
eg flag

I have canberra-gtk-module 64 and 32 bit versions installed, but the app I'm running can't find it.

I find the 64 bit version here:

/usr/lib/x86_64-linux-gnu/gtk-3.0/modules/libcanberra-gtk3-module.so

but there is no corresponding 32 bit folder.

Score: 0
G.Y.C avatar
dbus cannot start manually?
cn flag

when i check ssh status:

sudo systemctl status sshd

it returned:

● ssh.service - OpenBSD Secure Shell server
   Loaded: loaded (/lib/systemd/system/ssh.service; enabled; vendor preset: enabled)
   Active: active (running) since Thu 2022-01-06 10:00:46 UTC; 16h ago
  Process: 14197 ExecStartPre=/usr/sbin/sshd -t (code=exited, status=0/SUCCESS)
 Main PID: 14198 (sshd)
    Tasks: 21 (limit: 6143)
  ...
Score: 1
Samuel Osoba avatar
Change conda environment to the preinstalled system Python version
cn flag

I switched to Linux completely 4months ago. I have been able to install Anaconda in my Ubuntu 20.04, but I observed something which is like a headache.

After setting up an environment, I needed to change the Python version it uses from 3.10 to 3.8. So I used these commands:

conda activate my_env  
conda install python=3.8

which is the standard way of doing it in Anaconda.

However, I observed that  ...

Score: 0
bit_scientist avatar
move files that match file names in another directory
in flag

I have two directories: dir_1 which has a.mp4, b.mp4, c.mp4, d.mp4 and dir_2 which has only a.txt, b.txt. The script should move a.mp4 and b.mp4 to dir_3 because only these file names match the file names in dir_2. I find it to hard follow the scripts when I need to do these type of particular operations.

Score: 1
unable to connect wired network and wifi in newly installed ubuntu 18.04
br flag
MCM

I just have installed ubuntu 18.04 (single operating system) with Intel I9-10900K CPU in MSI 490 unify motherboard through a GPU (Asus Video NVIDIA GTX1650 O4G TUF Gaming). I am unable to connect internet through ethernet cable and wi-fi as well. There is no option for wired network (only VPN and proxy network are displayed) and Wi-Fi shows no adapter found. The internet cable works in other computers,  ...

Score: 1
myusrn olk avatar
Launch xfce4 or other desktop in Windows 11 WSLg Ubuntu distro
bd flag

I'm using Windows 11 WSLg (installed using the Windows Subsystem for Linux Preview from the Microsoft Store) and the current WSL Ubuntu distribution from the Microsoft Store.

How can I launch xfce4 or another Ubuntu desktop?

Currently an apt install xfce4 followed by startxfce4 produces the errors cannot open display: wayland-0 + Failed to connect to session manager and some other output.

With Win ...

Score: 0
goroshek avatar
Grub refuses to work
za flag

My laptop has Windows and Ubuntu on it. I reinstalled Ubuntu and then my grub stopped working. Firstly I was in grub-rescue console and loaded my ubuntu with "set root, set prefix, insmod normal, normal" scheme. Then I tried boot-repair tool and it gave me this result:
https://paste.ubuntu.com/p/bn7hVGT5YC/
Now when I turn on my PC in both UEFI and Legacy mode, I see grub 2.02 (without rescue) cons ...

Score: 0
GitHub Runner taking 2x physical RAM - what's the fix?
rs flag

I've had 4x crashes now of AWS ERP servers due to memory apparently maxing out and the system essentially dying with 100% CPU and no [little] available RAM.

Ubuntu 18.04.5 LTS (GNU/Linux 5.4.0-1060-aws x86_64) (AWS AMI)

Three times this occurred in the middle of a GitHub action. The action was doing a database import, and then a slack notification. You would thus think it was one of these steps that ...

Score: 0
Frank avatar
Install net-tools fail in Ubuntu VM in Apple M1 notebook
ke flag

I have installed Ubuntu VM (Ubuntu 20.04.2 ARM64) using Parallels in the Apple M1 notebook. After that, I tried to install net-tools using apt, it failed. Below is the error message.

parallels@ubuntu-linux-20-04-desktop:~$ sudo apt install net-tools
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to cor ...
Score: 0
alchemy avatar
usermod: cannot lock /etc/passwd, but user is in root group which owns file
in flag

As the title says. Interesting behavior. I just switched over to nologin on root user for security, after adding my user to root and sudo groups. I added a longer sudo timeout as described in the link below. So I should be able to use usermod without adding sudo because root owns /etc/passwd and user is part of the root group..no?

https://unix.stackexchange.com/questions/26074/is-there-a-way-to-stop- ...

Score: 0
Samuel Osoba avatar
Broke Python Whilst Trying to Upgrade 3.8 to 3.9
cn flag

Here is what happened; I tried to upgrade python3.8 to 3.9; my goal was to Install python3.9 and then force my system to start using 3.9 instead of the current 3.8.

Then I found thsHow to Upgrade to Python3.9

Ignorantly without reading the comments, I jumped into my terminal and started executing the install and update-alternatives commands; at the end of the article; I discovered that I wrote a  ...

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.