Latest Ubuntu related questions

Score: 4
Николай Дянков avatar
Is there anything I can do to ignore any questions during apt-get install ? -y doesn't work for "python3-tk"
eg flag

I'm setting up a dockerfile and one of the included packages should be "python3-tk". However, while building the image, the package asks for a location (???), where you need to specify a value from 1 to 8, depending on your continent (why??) and then timezone.

I tried like this:

RUN apt-get update \
    && apt-get install -y \
        python3-tk \
    && apt-get clean \
    &&  ...
Score: 0
mathtick avatar
22.04.2 LTS software updater is trying to do upgrades and hits some error?
in flag

This just starting happening today I think.

It makes it sound like the updater is trying to upgrade Ubuntu to some other version. apt-get update works without error.

Does anyone know if this is some weird local setting I have that is causing this, or it is expected? Or some bug in the updater?

enter image description here

UPDATE:

As requested

$ sudo apt update
Hit:1 http://gb.archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 htt ...
Score: 0
Martin Law avatar
Ubuntu 22.04 - apt 503 Service Unavailable
be flag

I'm having troubles with apt and the sources list. I keep getting 503 errors, even though the ur'l work with curl. ofther repo's (zabbix for example) does work fine.

There is NO proxy settings needed, nor are they setup. Any tips on this are welcome. I've reviewed several other articles regarding 503 errors with APT but none solve my issue.

So any tips are welcome.

root@geda-zabbix:~# apt update
Ign:1 ht ...
Score: 0
Arash Jahdkaran avatar
kernel 6 Freeze with Broadcom 4313
gf flag

Ubuntu 23.04 hard freezes with 1-2 min of using wifi. I tried the proprietary driver broadcom-sta-dkms suggested by ubuntu but it didn't solve the issue. I'd had the exact same problem with any distribution with kernel 6 (like Fedora). Any thoughts on how to solve the problem?

Output of lspci -nn | grep Broadcom

05:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM4313 802.11bgn Wir ...
Score: 0
Pitchfork Guy avatar
Dell XPS 8950 Ubuntu 22.04 USB Devices Freezing
kp flag

Tried asking this previously on the Ubuntu Forums and got no response. I hope I do better here.

Greetings

Running an XPS 8950 and Ubuntu 22.04.02 LTS. BIOS is up to date. Kernel is Linux 5.19.0-40-generic x86_64

I have some kind of issue that is causing my machine to freeze. Intervals between vary between three times a day and sometime it can go days without happening. When it does my keyboard and mous ...

Score: 0
grishka avatar
Any custom resulution in ubuntu 22.04 doesnt work
lt flag

I want to use custom resolution on my ubuntu, i have tried using cvt and umc,and i can select and use custom resolutions in my settings. The problem is that my display starting lagging and flashing like it got hit by a rock. any custom resolution doesnt work, no matter of width and height or hz. ( I have FHD 144hz eDP monitor on my laptop.(HP PAvilion gaming 15.6, ryzen 7 4800h, nvidia geforce 1660ti wi ...

Score: 1
justinian482 avatar
Hardware RAID1 not recognized
ug flag

I have a Dell Precision 7820 running Ubuntu 20.04.06, for which I have setup a hardware RAID1 with two 20TB HDDs: enter image description here

When I check Disks, I cannot see it as a single RAID1 volume, but only as two separate drives: enter image description here

I have checked the Dell website but I could not find any additional information or drivers. How can I properly setup this RAID1 volume in Ubuntu?

Score: 0
user981916 avatar
Ubuntu 22.04 RDP Fails to connect if Auto Login is enabled
my flag

On Ubuntu 22.04 with Gnome and Wayland server (also tried X11) it is not possible to remote to the Gnome RDP when Auto Login is enabled. Even after re-starts.

Is there some sort of config I am missing?

Score: 0
Niko O avatar
Really clear screen when using minicom
cn flag

I'm using minicom -w -D /dev/ttyUSB0 on Ubuntu 20.04.3 LTS to communicate through a USB to serial converter with an embedded Linux. I want to clear the screen in the same manner as reset does when using ssh or when just plain typing in a new terminal. That is: when I scroll up after clearing, I don't want old output to show up again (which is what clear would do). While in minicom, the behavior of  ...

Score: 0
Enes Tanis avatar
Ubuntu Reset System loop, Boot-Loop
gh flag

I installed Ubuntu on my Windows 10 computer and tried to set up dual boot, but after doing so, the message "Reset Systems" appeared in the top left corner of the screen and the computer began to restart repeatedly. After seeing this, I gave up on dual boot and reinstalled Ubuntu by selecting the "Erase disk" option (i.e. formatting the disk), but I still got the same error. The strange thing is that I  ...

Score: 1
MikeJ avatar
How can I use my old laptop as a virtual monitor for my main laptop? both are running ubuntu 20.04
mx flag

I am looking for a simple way to use my old laptop as a second monitor for my main computer, this would be very useful to me.

I'm not that tech savvy that's why I said a simple way, or maybe a very well documented way...I can follow detailed instructions.

Thanks

Score: 0
Keith Plunske avatar
Clonezilla as an option on a grub2 boot menu
mx flag

I'm trying to insert a clonezilla-live option into my Ubuntu grub menu. I'm trying to insert a clonezilla-live option into my Ubuntu grub menu. Is there anyone out there that is running a recent version (i.e. 3.0.3-22-amd64) of a clonezilla.iso file from a Linux PC grub2 boot menu? If so can you share your menu entry with me? I put the Clonezilla .iso file in the root directory and then updated the

Score: 0
bob1954 avatar
Is there an Ubuntu alternative for Windows snipping tool?
id flag

Is there an Ubuntu alternative for the Windows snipping tool?

Score: 0
AngrySquirrel avatar
Can't install Wi-Fi driver on Ubuntu Server 22.04
pk flag

I've got a small problem on my Ubuntu Server 22.04 that I made a few days ago. I'm a noob at this and I'm just trying to set it up to host some game servers and personal project of mine. During this endeavor, I was connected to internet via Ethernet so everything was fine, but now I don't have access to any anymore. That's why I decided to buy one on Amazon, an Asus PCE-AC51.

I got the drivers here

Score: 0
Why won't my laptop speakers work Ubuntu 22.04.2?
US flag

I am unfamiliar with how to troubleshoot audio, however, I can tell you the following:

  1. My headphone jack works, audio goes through
  2. The "output device" under Settings->Sound is listed as "Speaker - sof-hda-dsp"
  3. I have tried using Ubuntu 20.04 all the way up to 22.10 and the results were consistent i.e. speakers never worked

There is a very similar post here but I could not find a solution: No so ...

Score: 1
Frédéric Jaëck avatar
HP Elite Dragonfly G3 webcam not recognized
sd flag

I'm running Ubuntu 22.10 on HP Elite dragonfly G3 (2023), not so smoothly. The webcam is not working (at all), among other problems.

~$ lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 06cb:0103 Synaptics, Inc. 
Bus 003 Device 002: ID 18a5:0302 Verbatim, Ltd Flash Drive
Bus 003 Device 004: ID 8087:0033 Intel Corp. 
Bus 003 Device 001: ID 1d6b:0002 Linux Fou ...
Score: 3
Gogeta70 avatar
How to 'strace' a systemd service on startup?
sa flag

I'm working on an embedded system running a stripped down version of Ubuntu 22.04. We've recently updated some hardware in the embedded system and I'm working on getting our Ubuntu image working on the new hardware.

On the old hardware the pulseaudio service always ran without any issues, but on the new hardware I'm having an issue with pulseaudio not detecting Alsa card 0 when the service starts ...

Score: -1
mat avatar
Could not get lock /var/lib/apt/lists/lock. It is held by process 1981 (apt-get)
bh flag
mat

When I try to update packages, I am getting the following:

sudo apt-get update
Reading package lists... Done
E: Could not get lock /var/lib/apt/lists/lock. It is held by process 1981 (apt-get)
N: Be aware that removing the lock file is not a solution and may break your system.
E: Unable to lock directory /var/lib/apt/lists/

After waiting for some time, I am getting the same issue. After losing patienc ...

Score: -1
alvin77 avatar
Wordpress Mysql Database File - Ubuntu 20.04
jp flag

I installed Wordpress on Ubuntu 20.04 using the following link:

https://ubuntu.com/tutorials/install-and-configure-wordpress#1-overview

Then, I created a website on localhost. Now I need to migrate it to a web hosting to make it live. I did not find the database in var/lib/mysql/my_database_name. Could you tell me where I can find the database of Wordpress? I do not have installed phpmyadmin

Thank you

Score: 0
Міша Корнійчук avatar
E: Unable to locate package php-7-v-podlinnike.pdf
tt flag

I tried to uninstall PHP but I got the following error instead. What does this error mean and how to solve it?

$ sudo apt-get remove --purge php*
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package php-7-v-podlinnike.pdf
E: Couldn't find any package by glob 'php-7-v-podlinnike.pdf'
E: Couldn't find any package by regex 'php-7- ...
Score: 1
EsqWhite avatar
Can't upgrade 20.04 to 22.04
mv flag

I did all obvious steps like:

  • sudo apt update
  • sudo apt upgrade
  • sudo apt dist-upgrade

It just stops for like 5 minutes at step "nvidia-driver-530" and then aborts.

$ sudo do-release-upgrade
Checking for a new Ubuntu release
Get:1 Upgrade tool signature [819 B]                                           
Get:2 Upgrade tool [1,267 kB]                                                  
Fetched 1,267 k ...
Score: 0
How to fix cpu being throttled to 800 MHz on Dell Precision laptop?
in flag

How would you get your CPU to reach the maximum frequency when it's being throttled to 800 MHz?

After upgrading my Ubuntu distro a few months ago, on a Dell Precision 5520 laptop, I noticed it became very slow. Then I noticed I hadn't heard my fans come in a while.

I went through all the diagnostic steps in this similar question, but that only helped me confirm that maximum CPU frequency should be 3.8000 ...

Score: 0
laila B avatar
Can't run my scripts shell of my app after doing a rsync of data from Ubuntu server 18.04.5 LTS to another Ubuntu server 22.04.2?
mn flag

enter image description hereI did an rsync of those filesystems /home/ /opt/ /my_application/ /srv/

Did I forget to copy something else (...?), or is it a problem in version of Ubuntu ? I need to run all scripts so i can exploit my App thank you in advance

Score: 0
Switch386 avatar
Setting global environment variables dynamically on startup
mw flag

I have an Ubuntu 18.04 vm which executes a script via /etc/profile.d. The script reaches out to an external data source (azure, in this case), pulls down some json, and converts it into environment variables. I was hoping these environment variables would be globally available to users, daemons, systemd, etc. but I'm realizing it's only for login shells. I'm reading that /etc/environment exists, b ...

Score: 0
Vinod avatar
apt update not working.. getting Hash Sum mismatch error - Ubuntu 20.04.6 LTS
tz flag

We have configured local server where we get the packages using apt-mirror and there client trying to pull packages using apt update:

Err:30 http://xxx.xxx.xxx.xxx/ubuntu/mirror/azure.archive.ubuntu.com/ubuntu focal-security/main amd64 c-n-f Metadata
  
Hash Sum mismatch
  Hashes of expected file:
   - Filesize:12500 [weak]
   - SHA256:ffb0ba77d733b726e0dc35331cf1e03fe1ab8a297b705211f9d1fa28ed0ebc90
   -  ...
Score: 1
mLstudent33 avatar
Is this the default nvidia-driver for WSL2?
ph flag
noob@LAPTOP-DNCQ5AAC:/mnt/d/$ nvidia-smi
Thu Apr 20 00:04:03 2023       
+---------------------------------------------+
| NVIDIA-SMI 525.100      Driver Version: 528.76       CUDA Version: 12.0     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memor ...
Score: 0
Ningaro avatar
How i can connect to IKEv2 vpn server on server Ubuntu?
pk flag

Now I use the charon-cmd utility for these purposes like this:

sudo charon-cmd --host host.domain --identity host.domain --profile ikev2-eap --eap-identity my-identity

But maybe there are some other standard solutions? Also, charon-cmd requires you to enter the password for EAP access manually every time, and this is very uncomfortable

Score: 0
Rich701 avatar
Trying to understand how partitions function…
kn flag

I’m still in the learning stages with Linux. I’m running a virtual server with Ubuntu 22.04 Server. I have a 500GB disk, but I only used 200GB for the boot partition (300GB free). I am logged in as an admin user. Whenever I create a partition using the free space and format it as ext4, it mounts as /media/username/volumename. Other users cannot see that partition.
I want to use this second par ...

Score: 1
petr avatar
NetworkManager keeps reconnecting and chaning IP address, Ubuntu 22.04.2
fr flag

In certain wifi networks my laptop keeps reconnecting in seemingly random intervals, anytime between 1-60 minutes. In logs I am finding messages such as following:

wpa_supplicant[1179]: wlp1s0: CTRL-EVENT-SIGNAL-CHANGE above=0 signal=-76 noise=9999 txrate=26000
NetworkManager[1177]: <info>  [1681913817.0277] dhcp4 (wlp1s0): state changed new lease, address=10.13.2.61

Why is the system deciding t ...

Score: 0
gilp456 avatar
Unable to install build-dep for Ubuntu 22.04.2 LTS x86_64
tr flag

I am using 22.04.2. Why is linux-signed-hwe-5.19 being picked instead of the currently installed kernel version? The impact of this has been when I update my target kernel with my modified source, it breaks the ability to download any packages as I have conflicts. Any advice would be appreciated.

alex@alex-Virtual-Machine:~$ sudo apt build-dep linux linux-image-$(uname -r)
    Reading package li ...

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.