Latest Ubuntu related questions

Score: 0
Richard Barraclough avatar
Ubuntu 22.04 on iMac5,1 graphics problem
cn flag

Installed Ubuntu 22.04 on an iMac5,1. This isn't straightforward as this machine is a bit of a lemon -- it's a 64-bit Core2Duo but has 32-bit EFI. Thankfully, Matt Gadient's pathced installer worked.

Well, nearly. There's this strange cyan strip at the top of the screen. Windows appear over it completely normally.

enter image description here

Score: 0
SePröbläm avatar
How to fix "Failed to fetch libreoffice-common.xxx.deb"?
pl flag

When trying to install Libre Office on Ubuntu 2022.10, all packages download successfully, except package libreoffice-common, which keeps failing with error:

E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/libr/libreoffice/libreoffice-common_7.4.2%7erc3-0ubuntu1_all.deb  Connection failed [IP: 185.125.190.39 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix- ...
Score: 0
Csisanyi avatar
bash bad interpreter permission denied
us flag

I have a freshly installed Ubuntu 22.04.

I'm trying to execute a single-file java code

./SingleFileSource

I get the following error

bash: ./SingleFileSource: /usr/bin/java: bad interpreter: Permission denied

I tried

chmod +rwx SingleFileSource
chmod +rwx /usr/bin/java

also tried to execute it as root but I'm getting the same error

On my previous Ubuntu 20.04 I was able to execute the code and I don't ...

Score: 1
Firefox complaining about a running instance after crashing with umounts on Xubuntu
US flag

In order to run Firefox without allowing any changes to its configuration, I did setup a tmpfs and from it, create two overlays before launching the browser.
Script runs fine, creates and destroys the mounts as expected, but when booted into a launcher, some umounts apparently fail, and subsequent calls to Firefox complain about a running instance of themselves. I could verify, that some mounts re ...

Score: 0
Adrian avatar
failed to commit changes to dconf: Failed to close file descriptor for child process (Operation not permitted)
bd flag

I want to run gedit in a docker container, but I realized that even though I can open the GUI, I can't change the color scheme.

This is the command I run:

xhost local:root && docker run -i --rm -v /tmp/.X11-unix:/tmp/.X11-unix --env DISPLAY=$DISPLAY ubuntu <<<'apt-get -yqq update && apt-get -yqq install gedit >/dev/null 2>&1 && gedit'

And this is the output I ge ...

Score: 0
Cojack avatar
Trouble switching from Intel UHD to Nvidia graphics
bg flag

I have followed the tutorial here. Everything went well, I have the correct drivers installed, and the command prime-select query returns nvidia. However, in settings it says I'm still using Mesa Intel UHD Graphics (TGL GT1), and graphical issues I assumed were from using the CPU's dedicated card still persist (distortion/black lines when there's movement as well as overheating while running things t ...

Score: 0
milevel avatar
Ubuntu 20.04 with GNOME on a Chuwi Hi10plus
uy flag

I just found how to do work the touchscreen on Chuwi Hi10plus with Ubuntu, I just installed Ubuntu 20.04 with GNOME (because the touchscreen's driver didn't work on Ubuntu 22.04). I tried to install in a Ubuntu MATE, and it works, but I don't like use it with touchscreen.

Now, with GNOME, everything works normally, Wi-Fi, Bluetooth, touchscreen, bright, sound and battery, but the problem is the next ...

Score: 0
Mark74 avatar
Problem with Dell XPS and AMD Polaris 22 XL videocard
sb flag

I've just installed Ubuntu 22.04 on this pc. When I tried to start the normal way, I get similar results as this user https://www.reddit.com/r/Ubuntu/comments/ve94yr/ubuntu_2204_amd_vegam_cant_boot_without_monitor/

When I look in the terminal with lshw -c video, I get this result:

WARNING: you should run this program as super-user. *-display UNCLAIMED
description: Display controller product: Polaris 22 ...

Score: 1
Jackson Li avatar
Ubuntu 18.04 error: you need to load the kernel first
ke flag

I was trying to fix a 'overlayfs: missing 'lowerdir'' issue very similar to Boot problem after update - missing 'lowerdir'.

I removed these packages:

linux-aws - Linux kernel for Amazon Web Services (AWS) systems
linux-azure-4.15 - Linux kernel for Microsoft Azure Cloud systems
linux-dell300x - Linux kernel for Dell 300x platforms
linux-gcp-4.15 - Linux kernel for Google Cloud Platform (GCP) system ...
Score: 2
user28788 avatar
How do i add firmware to get es8336 audio to work?
ke flag

I am still without audio even after upgrading to Kernel 6 which supposedlly fixed this issue with the es8336 intel built-in hd audio card. I've done thorough work trying to fix this under the previous kernel.

I have one of those generic Chinese-made laptops that for some reason NO linux distro seems to support (regarding audio). Mine is an ALLDOCUBE i1405S using the Jasper Lake chipset. Of course ...

Score: 0
ber999 avatar
For Ubuntu 22.10 installation using Something Else is UEFIi system mandatory
ua flag

Ubuntu 22.10 Installation using Something Else.

Is using the UEFI system mandatory or not?

If not mandatory, how do I disable the UEFI partition?

Score: 3
Ray Butterworth avatar
What are /media/[user]/disk, /media/[user]/disk1, etc.?
ck flag

These mounted filesystems:

$ df /media/ray/d*
Filesystem     1K-blocks  Used Available Use% Mounted on
/dev/loop8         48128 48128         0 100% /media/ray/disk
/dev/loop3         64768 64768         0 100% /media/ray/disk1

$ ls -la /media/ray/d*
/media/ray/disk:
total 4
drwxr-xr-x  10 root root  119 Jun 15 09:43 .
drwxr-x---+  5 root root 4096 Nov 24 12:29 ..
drwxr-xr-x   2 root root   53 Jun ...
Score: -2
Detective strange avatar
My ubuntu software center is not loading, how can I repair this defect
pw flag

How can i deal with an Ubuntu software center that is not loading when I click on it?

Score: 0
aliabdullah2694 avatar
Mysql-innodb-cluster Juju charms not able to join instances in the cluster
tk flag

Hi I am facing an issue with the MySQL-Innodb-cluster charm. There was a power outage in the Datacenter. When everything was restarted, the mysql-innodb-cluster went into a split-brain condition. I tried to resolve the issue.

Now, I have done some steps, the leader is in the R/W mode, showing that it can tolerate upto 2 failures (as i have 5 instances). All the instances are being shown in the da ...

Score: 0
devZ avatar
Can't connect to local MySQL server through socker
uz flag

I am using Ubuntu 20.4. LTS version.

I sucessfully installed mysql server with

sudo apt install mysql-server

Than I checked

mysql --version

and it says: mysql Ver 8.0.31 for Linux on x86_64 (MySQL Community Server - GPL)

Than I wanted to install secure installation with sudo mysql_secure_installation and it says :

Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.so ...

Score: 0
Ubuntu 18.04 LTS - incredibly slow TCP/IP connection time over ethernet
in flag

This problem has recently appeared - last few days. New connections are taking up to 60 seconds. Once connected the up and down speeds are ok IF the requested service hasn't timed out.

I thought I read that this might be related to a kernel upgrade from 5.3 to 5.4, but can't find that post

Output of uname -a

Linux paul-HP-15-Notebook-PC 5.4.0-132-generic #148~18.04.1-Ubuntu SMP Mon Oct 24 20:41:14 UTC 2 ...

Score: 0
Sierra avatar
Ubuntu Server hard lockup detected
cu flag

I've been having an issue with Ubuntu Server 22.04 where I get a lockup seemingly at random times but on average about every 12 hours.

I'm running netconsole to get logs and when the issue occurs I can ping the server, but not much else. SSH doesn't work and neither does netconsole or anything else.

My kernel version is 5.15.0-53. My hardware is:

  • Gigabyte A320M mobo
  • AMD Ryzen 5 1600
  • Geforce GT 710  ...
Score: 0
sneakyswin avatar
"No valid state has been set by load or init-program"
ru flag

I'm trying to run a Mac OS 10.2 virtual machine on my laptop running Ubuntu. Whenever I use virt-manager to create the vm, I get the error in the title. However, I was able to get into Mac OS using the following terminal command: "qemu-system-ppc -L pc-bios -boot c -M mac99 -m 2048 -hda hdd.qcow2". What could I be doing differently between the command and the machine from virt-manager?

Score: 1
user352290 avatar
Ubuntu 20.04 boot and performance post login is very slow
mx flag

My Ubuntu is very slow to boot and freezes constantly, even saving a file and exiting the editor takes a very long time. The system just freezes after an hour of usage and its very slow to use any program like Chrome as you have to wait for some time every time you open or browse a tab

cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 2 ...
Score: 1
biogence avatar
Bluetooth service "grayed out" and unresponsive
sb flag

My dell laptop has had many issues with bluetooth in the past, including it dropping out or just refusing to turn on. It hasn't been able to connect to any devices for about a month (around when I upgraded to jammy jellyfish. I'm currently on kinetic and the issue still persists).

Running systemctl status bluetooth.service gives me the following error: bluetoothd[1000]:src/service.c:btd_service_co ...

Score: 2
bahsnub avatar
How to log URL to a file only if it’s HTTP status code is 200?
ro flag

I want to make a script so I can check if I can connect to several URL.

For example I do curl -i -L --silent URL | grep "HTTP/2 200" >> *.txt

I want to combine it with an if statement so I can do if grep "HTTP/" 200" >> *.txt", then: grep "Location" >> *.txt

So if it does grep "HTTP/2 200" then it should grep the "location" (URL) as well. I can't get it to work though.

Also I want  ...

Score: 0
Migrate Ubuntu server from NetPlan to NetworkManager without disconnection (possibly over SSH)
in flag

I see that Ubuntu server after the installation comes as default with NetPlan with a DHCP configuration (at least in Ubuntu 22.04 focal fossa).

Some users don't want NetPlan and just want NetworkManager, for example to use nmcli, nmtui, or import VPN configurations etc. and so after the installation I think it's frequent to migrate to NetworkManager.

At the moment this is my procedure to migrate from Ne ...

Score: 6
user480840 avatar
Terminal not launching in Ubuntu 22.04
aw flag

For some reason, I can't open the terminal through the shortcut (terminal icon) in Ubuntu 22.04. It works through Visual Studio Code, though, so that makes me confused. I tried using the F keys, but they are only working to the fn functions (such as controlling the brightness). I am not very knowledgeable on how Ubuntu works, so I am terribly confused.

I did try (unsuccesfully) to change my python  ...

Score: 1
secondquark avatar
Ubuntu 18.04 messed up after failed upgrade
tm flag

Last night I tried to upgrading from ubuntu 18.04 to I think 20.04 by using the following command:

sudo do-release-upgrade

Than afterwards, I got an error and for this reason my laptop stayed at 18.04. I don't remember the exact error. But it didn't directly messed up my computer.

Today after turning it on during booting I get the following error, I can't use my computer so this is copied from the belo ...

Score: 0
eDonkey avatar
How to define multiple interfaces which are in the same subnet
ss flag

In my setup I have a Zabbix Server on a Hyper-V Ubuntu Server 22.04 LTS VM which is running on Server A. The Ubuntu Server has two virtual interfaces of which each is associated to one physical interface.

Both interfaces are in the same subnet; one is connected to an RMC Port (of Server B) and the other is connected to a normal LAN port of Server B.

This is the current netplan (of the Zabbix Server ...

Score: 0
Scod Dgo avatar
linux-firmware error
pk flag

When I try to do something in the terminal like sudo apt update it does everything like normal but returns

E: mkinitramfs failure zstd -q -1 -T0 25
update-initramfs: failed for /boot/initrd.img-5.19.16-76051916-generic with 1.
dpkg: error processing package linux-firmware (--configure):
 installed linux-firmware package post-installation script subprocess returned error exit status 1
Errors were en ...
Score: 0
Kuba Samulski avatar
Windows not booting after boot repair
bn flag

I installed Ubuntu 22.04 on acer predator desktop on diffrent partition and it was booting to Windows only. So i've read that my motherboard has hard-coded efi file to boot from so I ran boot-repair on live Linux and checked the box for fixing hard coded efi file. After that I saw the grub with options to boot to Ubuntu or windows boot manager but when I chose windows it returns to grub, Ubuntu works fi ...

Score: 0
ReeceAB avatar
Remote users do not retrieve files on login
tg flag

We have LDAP implemented on the network, and a remote file server which contains the home directories for these LDAP users, most machines on our network have been configured so that when a remote user logs in, their home directory located on our file server is mounted to the machine they are logged in to.

If "tester" logs into one of our servers he gets all his files, we need to roll this out to  ...

Score: 0
nusound avatar
Can't access ubuntu after installing new Windows 10
lb flag

I had a Windows 10 going crazy that messed up software I need for work so I Installed a new Windows 10 and now I can't access Ubuntu, I can't see it in UEFI either. They are on separate hard drives. I tried booting from USB, and Boot-repair https://help.ubuntu.com/community/Boot-Repair I read all answers to similar problem and none helped. Tried Gparted but from step 6 recommended commands did nothing ...

Score: 0
Rega Dane avatar
E : Unable to locate package sysv-rc-conf
ir flag

I am using Ubuntu 22.04.1 LTS

I tried to install sysv-rc-conf but the package is unable to locate. how can I fix it?

E : Unable to locate package sysv-rc-conf

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.