Latest Ubuntu related questions

Score: 0
Filip  avatar
Issue Installing Ubuntu 20.04 on Dell Optiplex 7080 - Disks Not Detected
do flag

I encountered a problem while attempting to install Ubuntu 20.04 on a Dell Optiplex 7080. During the installation process, I received an installer error:

installer error

After rebooting the PC, I received the following message: "Block probing did not discover any disks. Unfortunately this means that installation will not be possible."

hdd not detected

Now, my M.2 SSD seems to have disappeared complete ...

Score: 0
guettli avatar
apt-key deprecated. Install key without installing gpg?
in flag

I know that apt-key is deprecated and want to install kubectl like this:

docker run -it ubuntu:22.04 bash

apt update; apt install gpg curl sudo

curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | gpg --dearmor -o /usr/share/keyrings/kubernetes-archive-keyring.gpg

echo "deb [signed-by=/usr/share/keyrings/kubernetes-archive-keyring.gpg] https://apt.kubernetes.io/ kubernetes-xenial main" | tee ...
Score: 0
MGibbons avatar
Mysql doesn't start after moving var/lib/mysql
mf flag

I'm running mysql 8 under Xubuntu 20.04. I needed more space for my database so I moved it using rsync. I then updated /etc/mysql/mysql.conf.d/mysqld.cnf to my new datadir. I then ran sudo systemctl start mysql which failed: mysql.service: Start request repeated too quickly.

My /var/log/mysql/mysql.log file shows:

/usr/sbin/mysqld (mysqld 8.0.33-0ubuntu0.22.04.2) starting as process 11483
2023-05-25T22:50 ...
Score: 1
Daansk44 avatar
Prevent hearing damage ubuntu, program
gn flag

After extensively using a Macbook, I eventually transitioned to an Ubuntu laptop. During my time with the Macbook, I installed a program that restricted the maximum volume output when using headphones, ensuring it never exceeded a certain level. This measure was essential to prevent hearing damage. Is there a similar tool available for Ubuntu that can enforce volume limitations and prevent increasing th ...

Score: 0
tzzz z avatar
Can not start a instance in multipass
ax flag

When I install multipass at macos 13.2.1, and then exec multipass launch to create and start a instance.I get a error:

launch failed: The following errors occurred:
Instance stopped while starting.

At the multipass.log, I find some error level info:

[2023-05-26T15:13:27.073] [error] [boss-pelican] vmx_set_ctlreg: cap_field: 2 bit: 8 unspecified don't care: bit is 0
[2023-05-26T15:13:27.073] [error] [bos ...
Score: 0
Alex Cristian R avatar
Keyboard layout, FN brightness
kr flag

I have installed ubuntu mate on my Lenovo 15IAU7 and i can not use the FN+F5 and FN+F6 to control the screen brightness. When i press the key combination it does nothing. Other FN keys work ok, like the volume, airplane mode...

I ran xev -event keyboard but pressing FN+F5 and FN+F6 outputs nothing. On other FN keys it displays the same message:

KeymapNotify event, serial 26, synthetic NO, window 0x0,
key ...
Score: 1
Nav avatar
What default screensaver does a freshly installed Ubuntu 20.04 or 22.04 have, and how to check if it is active?
in flag
Nav

I had the impression that Ubuntu had Gnome screensaver or xscreensaver by default. But when I tried gnome-screensaver-command --query, I'm shown the error "Command 'gnome-screensaver-command' not found". When I try xscreensaver, I'm shown "Command 'xscreensaver' not found".
When I do ps -aef | grep "screensaver", I'm shown this process running /usr/libexec/gsd-screensaver-proxy.

I know I can install  ...

Score: 2
René Nyffenegger avatar
Where is the meaning of "--fix-broken" of "apt install --fix-broken" documented
cn flag

The guide for installing Chrome on WSLg suggests to execute sudo apt install --fix-broken. I don't find the --fix-broken option documented in man apt. Is this option documented somewhere and/or what does it do?

Score: 0
Pongsakorn Kanjanatanin avatar
Uable to connect Ubuntu server by remoting
ax flag

Hello I'm newbie of Ubuntu system. I have some problem that I've figured out for a while but I could not solve it yet. I could not remote to Ubuntu 22.04 server from my laptop (Putty said connection timeout), but, vice versa, the Ubuntu server can connect other servers. So, I checked many things that already installed such as openssh and check their status by service ssh status which work well. And also ...

Score: 0
shino avatar
gdb-multiarch cannot recognize my arm binary file
au flag

I want to use gdb-multiarch to remote debug arm code running in qemu. Below is my mk script:

ARM=arm-none-eabi
QEMU=qemu-system-arm

$ARM-as -o ts.o ts.s -g
$ARM-ld -T t.ld -o t.elf ts.o
$ARM-nm t.elf
$ARM-objcopy -O binary t.elf t.bin

dd if=t.bin of=flash.bin bs=4096 conv=notrunc

$QEMU -s -S -M realview-pbx-a9 -kernel t.bin -nographic -serial /dev/null

however, when I type gdb-multiarch ./t.bin

Score: 0
Jan avatar
After upgrade from 22.04 to 23.04, kernels > 5.17 freeze a boot
jp flag
Jan

Any of the newer kernels > 5.17 (running Linux galactica 5.17.5-051705-generic here) all freeze during boot up, just after loading initrd, without printing anything -- even though I'm setting loglevel=7 and --verbose (i saw someone recommend that).

Is there anything I can do to make it print out something that will hint on what is going on ? Or even better, any ideas on what could be happening ...

Score: 0
jabroni avatar
Old IP displayed in route table after Ubuntu image clone on new server
cn flag

I have cloned an existing Ubuntu image off of our AWS server, upgraded to 20.04, and am trying to configure the connection to the outside world. I've been running into a lot issues on the frontend where I would get 401 authentication failures every time I would try to log in via the web interface.

I did some digging and a lot of googling, and I found that the server was trying to resolve to the o ...

Score: 1
AhmFM avatar
ubuntu 20.04 kernel downgrade from 10.15 to 10.13 fails on update-grub
au flag

Team, I need to downgrade my kernel and i am stuck at this step. any hints? please observe my system details and what all i did and stuck at sudo: upgrade-grub: command not found

I want to have Ubuntu, with Linux 5.13.0-52-generic

user@user-DT:~$ cat /usr/sbin/update-grub
#!/bin/sh
set -e
exec grub-mkconfig -o /boot/grub/grub.cfg "$@"

user@user-DT:~$ lsb_release -a
No LSB modules are available.
Distribut ...
Score: -2
tmoney avatar
Error concatenating directory path in a bash script
zw flag

I have over-complicated this problem with if/then scripts and super simple one line commands but for some reason I keep getting stumped.

I am trying to create a new directory a-e and place the files a,b,c,d,e inside of it. For some reason it will create the directory just fine but places the files inside of the ps directory instead of the new directory.

#!/bin/bash
    
mkdir /home/adminuser/ps/a-e &am ...
Score: 2
Aramnoj avatar
High Fidelity Playback stopped working on Airpods
nz flag

I have recently installed Ubuntu so I'm sorry if I made any obvious mistake! I installed 22.04 yesterday and my Bluetooth headsets (AirPods) worked fine.

I saw that 22.10 was available so I installed it. After one hour of use, they stopped working. By that I mean, High Fidelity Playback works for half a second when paired then doesn't output any sound. However, Hands-Free mode still plays sound ( ...

Score: 1
Moon avatar
System problem detected when trying to install nividia drivers and random system freezes
tm flag

linux newbie here I have just installed Ubuntu 22.04.2 with a few other things such as Docker and some jetbrains IDEs but besides that its a relatively clean install

it keeps freezing quite often but quite randomly (takes usually 1-2 min to full come back and be usable, the entire computer freezes, mouse, keyboard, screen, even hitting alt+F2 does nothing) so I assume it's that I haven't installe ...

Score: 1
nadermx avatar
Possible missing firmware amdgpu
mx flag

When I run sudo prime-select intel I get the following warning

$ sudo prime-select intel
Info: selecting the intel profile
Updating the initramfs. Please wait for the operation to complete:
|W: Possible missing firmware /lib/firmware/amdgpu/ip_discovery.bin for module amdgpu
\W: Possible missing firmware /lib/firmware/amdgpu/vega10_cap.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgp ...
Score: 0
virtuous avatar
Ubuntu 23.04 Headphone Microphone is not recognized
vg flag

I have a MONSTER TULPAR T7 V20.5 laptop(a foreign brand). I have Ubuntu 23.04 installed with the kernel version of 6.2.0-20-generic x86_64.

The problem I am having is that my headphone microphone is not recognized. I searched almost everywhere on the internet and tried bunch of codecs from kernel.org

I tried the suggested solutions with pulseaudio, hdajackretask, echomixer etc. Nothing worked so f ...

Score: 0
Richard Dawson avatar
How to access internal hard drive from the terminal when booted from external drive
as flag

The installed OS is kubuntu, but it suddenly ceased being able to boot. I booted with Kubuntu USB drive. I am able to see and access all the files on the internal hard drive with the graphical file manager, but I want to run TAR to capture some of the files.

The internal hard drive shows up in the graphical file manager as a device with the name 234GB Internal Drive (sda2). how can I access that ...

Score: 1
cufo _ avatar
Elements not showing in Brave browser after updating Ubuntu MATE
mw flag

I recently installed Ubuntu MATE on an old laptop, and installed Brave on it. I used it with no problems for about a week and today I was prompted to perform a system update. After I did, Brave is unusable as most text elements are not showing (see attached screenshots). I have tried restarting the computer multiple times as well as using sudo apt remove brave-browser and reinstalling it. The issue p ...

Score: 0
Ksenia Semenova avatar
How to translate nmcli IP6.GATEWAY format to network-manager yaml file syntax?
rs flag

What goes in the yaml file where I have placed these question marks?

gateway6: "????::?"

Continue reading for more detail. OS = Ubuntu 20.04.1 LTS I am attempting to set a static IP via netplan, (aka network manager) by means of editing the file /etc/netplan/01-network-manager-all.yaml

Performing nmcli device show displays a line IP.GATEWAY but it is 2 hyphens. There is , however an IP6.ROUT ...

Score: 1
YarikTH avatar
How to ban access to .zip TLDs?
sx flag

After seeing a lot of articles and videos about a new .zip top level domain I want to block it to not to accidentally fall for it. For example, now all zip file names (attachment.zip for e.g.) are converted to links by web aware programs.

I searched for ways to block/redirect to localhost requests for sites on this domain, but failed. /etc/hosts doesn't support masks and other solutions seems too ...

Score: 0
CruzC avatar
User Issue on Ubuntu 20.4 VM
pa flag

I am attempting to follow posted instructions for a class and have the SEED Ubuntu VM installed and able to run. The default SEED user seems to work just fine, however whenever I attempt to follow step 2 of the instructions and create my own user with my name, I am able to create the user, but attempts to log into it result in just a black screen accompanied often by user preference windows that are mis ...

Score: 0
Arthur Arakelyan avatar
How to give space for sda2 from sda4(/dos)
gm flag

I have got too much not used space in sda4(/dos) folder

sda 4 Usage

But, actually my space in sda2 is about to end :(

sda 2 Usage

So, the question is: Is there a way to make available space for sda4 from 90GB to for example 10GB, and give that 80GB space for sda2?

System Monitor/File Systems

Score: 0
Quentin Chartreux avatar
Ubuntu doesn't wake up after standby
li flag

I have the last version of Ubuntu. When my computer goes in standby because I don't use it, I was not able to wake it up. If I move my mouse or touch my keyboard, the screen wake up and show a red/orange (Ubuntu color) but nothing else and I need to shut down the computer by staying on the on/off button and start up again... Any solutions ?

When I use it and choose "suspend" and try to wake up ju ...

Score: 1
Akam avatar
can user under www-data (PHP) escalate privileges by only knowing root password
cn flag

The scenario is Ubuntu system with web server:

  • SSH Disabled
  • User doesn't have any terminal access
  • UFW enabled only HTTP and HTTPS allowed
  • PHP and Apache ran under www-data
  • www-data not added to sudeors

Considering a user who uploaded a php shell in the system, can this user escalate privilege only by knowing root password? considering that system() function can only run shell commands under www-data. ...

Score: 0
programmer with problems avatar
Using high level assembly (HLA): sh: 1: hlaparse: not found
ng flag

I was following section 3.2 of the HLA reference book to install HLA. After completing all the steps to extract the downloaded tar file for HLA, I added the appropriate folders to the .bashrc file.

Typing hla -? correctly displays the HLA help text, but trying to compile the hla file hla file_name failed, giving the error:

sh: 1: hlaparse: not found

I use Xubuntu 22.04.2 but I believe this error is also ...

Score: 1
Oghli avatar
Install Ubuntu Alongside Windows Partitions
pn flag

I am trying to install Ubuntu with Windows 11 on my device to make it as multi bootable OS.

I chose the installation Type:

  • Install Ubuntu 22.04 alongside Windows Bootable Manager

I have 2 Drives on my Windows OS:

  • Drive C which Win 11 installed on it.
  • the other drive is D which is empty.

I want to install Ubuntu Desktop on drive D alongside windows. I have selected drive D for installation.

The questi ...

Score: 0
techipank avatar
Autoinstall is failing for Ubuntu Server IoT 20.04
vg flag

I am trying to automate Ubuntu Server 20.04 IoT. First thing is it doesn't generate autoinstall-user-data file for some reason. Then i used a very basic user-data(added below). It starts installation process and it runs for sometime finally getting error always at this point.

enter image description here

autoinstall-user-data

#cloud-config
autoinstall:
  version: 1
  identity:
    hostname: ubuntu-server
    password: "$6$exDY1 ...
Score: 0
JBody avatar
Unable to install openssh server
hn flag

I am trying to install OpenSSH server on my Ubuntu 22.04 machine. I executed: sudo apt-get install openssh-server and sudo apt install openssh-server.

It then exits with the errors:

Temporary failure resolving 'gb.archive.ubuntu.com'
Ign:3 http://security.ubuntu.com/ubuntu jammy-updates/main amd64 ncurses-term all 6.3-2ubuntu0.1 Err:3 http://security.ubuntu.com/ubuntu jammy-updates/main amd64 ncurses-term ...

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.