Latest Ubuntu related questions

Score: 0
Elliot Flour avatar
Can't run 'sudo update-grub' after making changes to grub file
mv flag

sudo update-grub gives this error message:

Sourcing file `/etc/default/grub'
/usr/sbin/grub-mkconfig: 26: /etc/default/grub: want: not found

I deleted the commented out line 26 of the /etc/default/grub file and I got:

Sourcing file `/etc/default/grub'
/usr/sbin/grub-mkconfig: 25: /etc/default/grub: want: not found

I am trying to turn on command line boot, so I can see what's going on at boot tim ...

Score: 0
Tom S avatar
inaccurate mouse cursor in Ubuntu Desktop 22.04.1 in VM Fusion on Mac
in flag

My cursor is significantly off where I think it should be, ie, if I want to copy text from Terminal, it will capture text one line down at least from where the cursor is. Resizing windows shows the resizer to be waay inside the window, not over the edge of app window (as expected). This is the same for the trackpad or Wacom tablet, which works just fine in all my other VMs and Mac apps. any suggestions? ...

Score: 0
Olumide avatar
Accidentally downgraded libstdc++6:amd64 from 12.1.0-2ubuntu1~22.04 to 10-20200411-0ubuntu1
br flag

Why trying to get debug symbols for gcc/g++, I accidentally downgraded libstdc++6:i386 and libstdc++6:amd64 from 12.1.0-2ubuntu1~22.04 to 10-20200411-0ubuntu1 by running the following commands

wget http://archive.ubuntu.com/ubuntu/pool/main/g/gcc-10/libstdc++6_10-20200411-0ubuntu1_i386.deb
sudo dpkg -i libstdc++6_10-20200411-0ubuntu1_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/g/gcc-10 ...
Score: 0
GWGeorge007 avatar
I have upgraded to Ubuntu 22.04 LTS from Ubuntu 20.04 LTS & Kernel 6.1.4 from Kernel 5.15, lost control of GPU fan speeds in NVIDIA X Server Settings
at flag

My GPU is an EVGA GeForce RTX 3080-Ti, and I am running BOINC (if it matters).

I apparently forgot to remove 'asus-ec-sensors' from the previous kernel 5.15 when I upgraded. Now I have this in DKMS:


dkms status:

asus-ec-sensors/unknown, 5.15.0-57-generic, x86_64: installed
asus-ec-sensors/unknown, 5.15.0-58-generic, x86_64: installed
asus-ec-sensors/unknown, 6.1.4-060104-generic, x86_64: install ...
Score: 0
Alexander Zeitler avatar
Package 'dotnet-sdk-7.0' has no installation candidate on Xubuntu / Ubuntu 22.04
ye flag

I followed the instructions from here to install .NET 7 SDK after having installed .NET 6 SDK from the Ubuntu feed.

wget https://packages.microsoft.com/config/ubuntu/22.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
rm packages-microsoft-prod.deb

sudo apt-get update && sudo apt-get install dotnet-sdk-7.0 results in this error:

Reading packag ...
Score: 0
User1986 avatar
Can't boot from flash drive with custom .img
al flag

I recently tried using this answer to create a custom .img of my system. I created a fresh Ubuntu Install in a new partition, set everything up, installed all the bloat I need for some stuff and then switched to main my Main Partition to flash an .img of the partition using the default disk manager and Create Partition Image.

It all worked and I now have the .img. I named it accordingly:

(It is 16gb  ...

Score: 0
user2820579 avatar
In a dockerfile, what is the purpose of "#APT::Get::Install-Recommends"?
bd flag

Inside a Dockerfile I have the lines:

RUN echo '#APT::Get::Install-Recommends "0";' >/etc/apt/preferences.d/99recommends
RUN echo '#APT::Get::Install-Suggests "0";' >>/etc/apt/preferences.d/99recommends

I just want to know what these two lines do.

Score: 0
jmarkus avatar
Update Ubuntu Studio 22.04 - 5.15.0-56 to 5.15.0-58 causes a kernel panic
ga flag

The update finished, but on restart grub loads and then the computer freezes. It's the same with Recovery mode as shown in the photo. It boots fine into kernel version 5.15.0-56, and I ran the repair packages from its recovery mode, but it no effect on the 5.15.0-58 kernel.

enter image description here

Score: 0
Hosam alzagh avatar
how to remove wireguard
ax flag

my os is ubuntu 20

i try remove wireguard

sudo apt remove wireguard
sudo apt autoclean && sudo apt autoremove
Package 'wireguard' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
$ locate wireguard

/snap/core18/2667/usr/lib/python3/dist-packages/cloudinit/config/__pycache__/cc_wireguard.cpython-36.pyc
/snap/core18/2667/usr/lib/python3/dist-packag ...
Score: 0
koverskeid avatar
Run ubuntu service after netplan has been applied at startup
hm flag

I'm running Ubuntu 22.04.1 LTS where I want to run a service after the configuration in netplan has been applied at startup.

Why? Because netplan renames an interface I need to use in my service.

Why rename? Because I need to make sure that the interface name corresponds to the same physical location of the nic on all servers. This is done by this netplan configuration.

devX:
match:
macaddress: aa:bb:cc: ...
Score: 2
SpaceEye avatar
How do I install linux-tools for a mainline kernel?
re flag

I have kernel 5.19.2-051902-generic on ubuntu 22.04.1 jammy and need linux-tools-generic. However the version that is downloaded after sudo apt-get install linux-tools-generic is linux-tools-5.15.0-58-generic which is not what i need. So what should I do to get right version of linux-tools?

Score: -1
Elias Prado avatar
keyboad layout after change with command setxkbmap -model not working in ubuntu apps
ms flag

I am using the command setxkbmap -model abnt2 -layout br -variant abnt2 and it is changing the keyboard to the brazilian format. However it is not saving the changes and is not being accepted within the system in the browser.

Then every time I restart the system I need to do this command again to format the layout again.

In addition, I have a key with the interrogation and forward slash that is n ...

Score: 0
mauricev avatar
Can't login on terminal Ubuntu 20.04 (glibc related?)
il flag

I can't login anymore neither on an Ubuntu 20.04 terminal nor by graphical login. The screen casts a pretty regular message and within a fraction of a second logs me out again.

enter image description here

The last activity I've done was the creation of a Docker image based on Ubuntu 22.04. I copied some libs from the container's /usr/lib/x86_64-linux-gnu to a directory in my /home. I carefully avoided touching libc.so (GLIBC) ...

Score: 0
Erwan avatar
How to really disable Thunderbird updates?
kz flag

In Ubuntu 22.04, I want to stop Thunderbird from updating due to this bug which prevents access to MS 365 (needed for my professional email). I followed the instructions and downgraded Thunderbird to an older version, but it still updates automatically to the most recent version every day.

Yesterday I tried to follow this answer, using the about:config method to disable app.update.auto... But today it  ...

Score: 2
skyking avatar
How to make ubuntu respect my choice of keyboard layout when keyboard is replugged
cn flag

I've found that if I disconnect my USB keyboard and reconnects it it seem to resort to using "standard" US layout, but I want US intl. layout (the same layout as in windows). In order to make that happen I have to after I reconnect the keyboard select another layout and then US intl. which is rather annoying since it means that I have to do this rain-dance each time I connect the keyboard (besides  ...

Score: 3
HHDs are unmounted on transferring a large number of files
bd flag

I am transferring a large number of files (10-100 million) between two external HDDs (connected via USB 3.0), but the external disks are unmounted during the transfer. All HDDs connected via USB (including those on a different port/dock) will be unmounted, not just the HDDs in use.

This problem never happens when transferring a smaller batch of files (e.g., 4 X 5 hours, instead of copying for 20  ...

Score: 0
linuxuser24569 avatar
Unable to resize partition in Ubuntu VM
gp flag

Original Q: I have increased my .vdi size within the control panel of my VM. Now the Virtual Size is 100gb and the Actual Size is 21.73gb.

I tried another answer to run the .iso boot disk and resize the partition within the 'Try Install' version of the disk. But the option is grayed out. In that Answer they stated to start with the top partition box and then resize the bottom partition box but mi ...

Score: 0
simotag avatar
libwacom2 dependency
kz flag

I'm trying to update libinput by building the package from github, as I found that libinput 1.22 solves my ThinkPad trackpoint drift, but at the end, when I try to install it, it says: The following packages have unmet dependencies: libinput-git : Depends: libwacom2 but it is not installable E: Unable to correct problems, you have held broken packages. What can I do? I followed this to build it:

Score: 0
plutownium avatar
Trouble using pg_restore or psql or pgAdmin4 to restore a postgres db backup
ni flag

This is low stakes and just a practice run for when I urgently need to do it, and also to confirm that pg_dump worked to satisfaction.

I am trying to use psql or pg_restore to restore my copy of a Postgres database to a new database. I am on Ubuntu 22.04.

As my usual user, rlm, at ~ I can type dir and get, among other files, my apgym.sql output from pg_dump.

So I type pg_restore -d testRestore -U postgres ...

Score: 0
How to boot from a usb stick when using U-Boot
cn flag

I am trying to install ubuntu arm onto my Mac M1 Arm but once I get to uboot I have absolutely no clear why to boot from my usb-stick that has a bootable ios installed on it.

I assume its possible to boot from a usb stick?

enter image description here

Is it possible to install ubuntu from an external USB stick via u-boot?

Score: 0
julian bechtold avatar
restart service daily at 4 am
cn flag

I have a small minecraft server running in ubuntu 22.04.1.

Currently, ubuntu has the following service:

[Unit]
Description=Minecraft server
After=network.target

[Service]
User=drgadmin
WorkingDirectory=/home/drgadmin/minecraft-server/
ExecStart=bash ./start-server.bash
Restart=on-failure
RestartSec=30s
StartLimitInterval=10m
StartLimitBurst=3

[Install]
WantedBy=multi-user.target

./start-server.ba ...

Score: 1
kevincorrigan avatar
What could cause a "user not in passwd" error when using su, ssh connection refusal on a Ubuntu 20.04 Web Server?
us flag

Something happened on one of our server running Ubuntu 20.04 that caused a co-worker who was logged in via ssh at the time to get a "user not in passwd" error when they tried to use the su command. The user they were trying to switch to existed and they have the privilege to switch to that user.

At the same time, any attempt I made to connect to the server via ssh were immediately refused (connec ...

Score: 2
codenamezero avatar
How can I add gtk+3.0 from launchpad to 20.04?
cn flag

Sorry, fairly n00b with Ubuntu. I've searched and tried a few results but not sure how I could add the repo into my Ubuntu 20.04 in order to install gtk+3.0.

I've read:

This is the package I'm trying to install through apt https://launchpad.net/ubuntu/+source/gtk+3.0/3.24.18-1ubuntu1 ...

Score: 0
Francois avatar
What overrides IPV6ACCEPTRA/RouteMetric= defaults?
in flag

I run a fresh install of Ubuntu 22.04.1 Server to which I added:

  • avahi-daemon
  • docker-ce docker-ce-cli containerd.io docker-compose-plugin

According to the documentation, the default RA metric is 1024 (https://manpages.ubuntu.com/manpages/jammy/man5/systemd.network.5.html).

However the routes actually get a metric of 100:

fd42:1cff:953a:1::/64 via fe80::dea6:32ff:fe52:6bbc dev eno1 proto ra metric 100 e ...
Score: 0
Elvin Jafarov avatar
How to access virtual machine in KVM without ssh?
ie flag

How can I access virtual machine in KVM without ssh, ssh port is disabled and I want to enter the virtual machine and enable it. I tried virsh console and VNC solutions , they did not work because it is not enabled from inside. It seems it is impossible to enter the virtual machine. IS there any way to enter?

Score: 10
Karthik Nedunchezhiyan avatar
How can I legally prove that I have recompiled the Ubuntu source?
tr flag

I like to create my own distro based on Ubuntu. I may modify the source of some packages. When I read intellectual-property-policy of Ubuntu, I noticed the following rule.

Any redistribution of modified versions of Ubuntu must be approved, certified or provided by Canonical if you are going to associate it with the Trademarks. Otherwise you must remove and replace the Trademarks and will need to recomp ...

Score: 0
Daniel Wiczew avatar
How to set duplex (two-sided printing) printing on boot - Ubuntu 22.04
cn flag

In Ubuntu 22.04, I have to set by default double sided printing, every time I boot into system. How to set it on boot, so that I don't need to change it every time I reboot system ?enter image description here

Score: 0
AJ Wu avatar
Computer is fast but loads stuff slowly
lt flag

I’ve recently got a new PC which is much faster than my old one, and to make things easier I transferred the hard drive (with Lubuntu 22.04 LTS on it) from my old PC to my new one. While using the new PC, I’ve noticed that although video games run at very high FPS and I get good performance, things load very slowly. Booting up the PC takes around ~3 minutes and launching applications takes forever.  ...

Score: 1
cryptiblinux avatar
HEVC video playback on Chrome with Ubuntu 22.04 doesn't work
cn flag

I'm aware that Chrome added HEVC support in October 2022, and this appears to work on my Windows PC, however playback of the same video isn't working on my Ubuntu 22.04 laptop.

I'm using Chrome Version 109.0.5414.119 (Official Build) (64-bit).

The chipset of the PC is 12th Gen Intel(R) Core(TM) i7-1260P

Any ideas?

Score: 0
Evert Homan avatar
Failed to start Wait for Network to be Configured
br flag

I just upgraded my Ubuntu 22.04 LTS machine and now it gets stuck during boot with the message:

[FAILED] Failed to start Wait for Network to be Configured

on an otherwise black screen. I can still access the machine via ssh

systemd-analyze blame gives

2min 230ms systemd-networkd-wait-online.service
   17.473s networking.service
   12.039s NetworkManager-wait-online.service
   10.101s gpu-manager.servi ...

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.