Latest Ubuntu related questions

Score: 0
José Ramos avatar
System has not been booted with systemd as init system (PID 1). Can't operate. Failed to connect to bus: Host is down
la flag

I have Windows 11 with Ubuntu installed with WSL2. I'm not able to configure Systemd in order to use snap installations.

I have configured the file /etc/wsl.conf configured with the following entries (According to this page):

[boot]
systemd=true

But it doesn't work for me.

I can execute systemctl list-unit-files --type=service and list the services, but when I try to start, stop or see the status of a ...

Score: 0
Hans Weijers avatar
Problems with USB Tethering on a Samsung XCover 5 (Android 12) and Ubuntu 20.04
fj flag

Ubuntu (20.04 with kernel: 5.15.0-53-generic) keeps connecting, but nothing happens. I think the smartphone (Samsung XCover 5 with Android 12) is not responding on a dhcp request. I see with ifconfig the RX errors count increasing.

When I use bluetooth tethering, but slow, the ubuntu system works fine with the same smartphone.

When I use usb tethering with a windows 10 system and the same cable then ...

Score: 1
icu avatar
Ubuntu Server 22.04 How to create WiFi Access Point?
tn flag
icu

How exactly does one learn how to create a WiFi AP with Ubuntu Server 22.04? Google those key words and there is conflicting and out of date instructions for older versions of Ubuntu Server.

I've attempted a few "how to" pages and nothing seems to work.

Score: -1
user7275610 avatar
Add my personal repo to Ubuntu main repository(s)
vn flag

I have a repository sitting in Launchpad (http://ppa.launchpad.net/symonmayn/vkey/ubuntu) Can someone tell me how to add this to an Ubuntu global repository so it can be directly installed via sudo apt install or by a gui package manager? Otherwise nobody will know about my repo :-( Is this even possible? Any help would be muchly appreciated.. Sy.

Score: 0
C. Crt avatar
CMake: "ERROR: Package [...] build failed", error in m4 build() method
ec flag

I am trying to install a custom piece of software for my job. I downloaded the source, went inside the folder and typed $ cmake ... After reading AskUbuntu answers, I deduced the problem comes from my m4 installation. I freshly installed m4, but nothing changes. When I run CMake, I have this:

$ cmake ..
-- Conan: Automatic detection of conan settings from cmake
-- Conan: Settings= -pr;default
-- Con ...
Score: 2
n0tis avatar
Force suspend when closing lid
us flag

Some oppened apps (such as teamviewer or chrome when on an teleconference website) seems to prevent my laptop from going to sleep when I close the lid.

How to force laptop to go to sleep(=suspend) when I close the lid ?

ENV: ubuntu 20.04 on a thinkpad t14s

Score: 0
Patrick avatar
Upgrade from 16.04 to 18.04
gi flag

I have run sudo apt-get update and sudo apt-get upgrade

I then ran sudo apt-get dist-upgrade The output of this produced a long list headed "the following security updates require Ubuntu Pro with 'esm-infra' enabled... and concluded "0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.

I then ran sudo do-release-upgrade with the result "Please install all available updates for your r ...

Score: 0
Borg avatar
Libreoffice 7.4 on Ubuntu 22.04
si flag

Will Ubuntu 22.04 automatically update Libreoffice to 7.4.x or it will keep Libreoffice 7.3.x forever ?

Thank you

Score: 0
ymzk_ms avatar
What is proper way to upgrade .NET Core on Ubuntu Server 22.04
sr flag

I'm using this script to install .NET 7 on Ubuntu Server 22.04, these servers will be used in production

curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin --version latest --runtime aspnetcore --install-dir /usr/share/dotnet --channel STS

But how i will update it? What is proper and good way to do that? Just install it again and remove old package? Because at same time there will be mor ...

Score: 2
Erikli avatar
How can I print text while downloading file in ubuntu?
ru flag

I'm currently writing a Bash script. I want to download a file while printing text. For example, consider this script:

echo -e "---------------------------"
echo -e "Your file downloading..." 
echo -e "---------------------------"
wget example.com/1gbfile

In the second echo each . should be printed successively every second till the download finishes. If the number of . becomes three, like this: . ...

Score: 0
Oguz Dogan avatar
Why doesn't rtcwake wake up the PC after suspend?
lv flag

I'm putting an an Ubuntu device to sleep at 02:00 in the morning. I want to wake the device with rtcwake at 06:59 in the morning, but it does not wake up.

Command:

sudo /usr/sbin/rtcwake -m no -l -t $(date +\%s -d 'today 06:59')\n
rtcSet="$(sudo /usr/sbin/rtcwake -m show |grep -i on)"
if [[ $rtcSet != *on* ]];
then
sudo /usr/sbin/rtcwake -m no -l -t $(date +\%s -d 'today 06:59')
fi
Score: 0
xarilaos avatar
how can we place our files in document root? (copy-paste not working)
im flag

My Apache Web server is working and I need to copy some files to document root.

Score: 0
Po2i avatar
Boot-repair tool tells me Legacy mode compatibility (CSM) is turned off, but the ASUS bios tells me it's on
jm flag

After a mistake on my part during an Ubuntu reinstall, I lost my legacy windows boot.

I tried to get it back with boot-repair, who does see the windows session, but tell me to activate CSM. I did, and checked it was actually turned on on subsequent attempts, but the same warning messaged appeared in boot-repair:

-On my installed Ubuntu, it said that a legacy windows version was detected, and I shoul ...

Score: 0
Gangadhar s avatar
error occur while install git cmd
si flag
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 gir1.2-mutter-10 : Depends: libmutter-10-0 (= 42.5-0ubuntu1) but 42.2-0ubuntu1 is to be installed
 git : Depends: liberror-perl but it is not going to be installed
       Depends: git-man (> 1 ...
Score: 0
S M avatar
Ubuntu 20.04 LTS /etc/resolv.conf is getting overwritten after either netplan apply or server reboot and not able access DNS
ph flag
S M

Ubuntu 20.04 LTS /etc/resolv.conf is getting overwritten after either netplan apply or server reboot. We are not using networkmanager.

We did the following changes not sure if this will help:

sudo unlink /etc/resolv.conf
sudo ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf
sudo systemctl restart systemd-resolved
sudo systemctl enable systemd-resolved

Add DNS in netplan and do sudo netpl ...

Score: 0
Mohul Chakraborty avatar
Can't change directory of the saved screenshots
sz flag

I have accidently deleted my Pictures folder and then I have restored it.But now the screenshots are being saved in /home/Screenshots instead of/home/Pictures/Screenshots.I have tried multiple methods.Installed the gnome screenshots extensions,changed the directory but nothing has happened.Please help me.

Score: 0
T.S. avatar
Error when running apt-get update from my own apt-mirror
gr flag

I recently setup a server for apt-mirror with Ubuntu 20.04 server in our network. The mirror-sync itself works without any error. After that i changed the Repository path on one of my Ubuntu 20.04 test servers in /etc/apt/sources.list . When running apt-get update on the test-server i receive the following errors:

Err:7 http://repository.XXX.XXXXX.XX/ubuntu/mirror/archive.ubuntu.com/ubuntu focal-updates/m ...
Score: 0
abukaj avatar
Output of e4defrag
us flag

e4defrag - the only defragmentation tool I know for Linux - outputs a lot of information not covered by its manual. I assume that if a command outputs something, it is important thus I would like to understand the output.

Here is exemplary outputs (without superuser privileges and verbosity):

$ e4defrag defrag/
e4defrag 1.45.5 (07-Jan-2020)
ext4 defragmentation for directory(defrag/)
[2/3]/*/defra ...
Score: 3
guyaloni avatar
Different history for different terminals
in flag

I would like to have something like "history environment", so for different consoles I can access different histories.

I have different terminals defined, I would like to have for each terminal its own history:

enter image description here

Score: 20
Sad3ng avatar
What is meant by 'APT News'?
vn flag

When I run apt update and apt upgrade on my system, I get this message:

 News about significant security updates, features and services will    
 appear here to raise awareness and perhaps tease /r/Linux ;)
 Use 'pro config set apt_news=false' to hide this and future APT news.

What is meant by 'APT News' ?

Thanks.

Score: 0
Bluetail avatar
Installing MySQL as database for airflow - password issue
in flag

I have Ubuntu 20.04.4 LTS (GNU/Linux 5.10.102.1-microsoft-standard-WSL2 x86_64) on WSL2.

I'm following this guide to install Mysql and have reached step 4 where I have chosen MEDIUM and was prompted to enter a new password.

(https://phoenixnap.com/kb/install-mysql-ubuntu-20-04)

sudo mysql_secure_installation

Connecting to MySQL using a blank password.
The 'validate_password' component is installed on th ...
Score: 2
Where do I install portable apps?
us flag

I'm trying to install an app from tar.xz. It is portable, meaning I have only to unpack it to some directory and it should run from there as normal user. But where do I unpack it to?

Google recommends /opt but it is owned by root and I cannot write to it as normal user. If I create a subdirectory there as root and copy the files as root, the apps runs correctly only as root. When run as normal user, it  ...

Score: 0
SergiusPro avatar
Close only one window of a hanging program
rs flag

I've had two separate windows of gedit. In one of them I've tried to open some file and this has made gedit hang giving me the typical choice of "Force quit" or "Wait". Continuous clicking on "Wait" didnt help, the choice window continued to pop up. Clicking on "Force quit" would close ALL gedit windows, and I had some unsaved text in the other window (which became unresponsive, too, of course). The

Score: 0
SebMa avatar
sysUpTime.0: Unknown Object Identifier (Sub-id not found: (top) -> sysUpTime)
de flag

I've installed these snmp Ubuntu packages :

snmp snmpd php-snmp libsnmp-base libsnmp-dev

I have the following paramters :

$ sudo egrep "^agentaddress|rocommunity" /etc/snmp/snmpd.conf
agentaddress udp:161
# rocommunity: a SNMPv1/SNMPv2c read-only access community name
#rocommunity  public default -V systemonly
#rocommunity6 public default -V systemonly

and created a snmp user :

$ sudo systemctl stop snmp ...
Score: 0
which nvidia driver to choose
jp flag

I am writing to all as I am a newbie with NVIDIA drivers. I have Ubuntu 22.04 want to install CUDA for which NVIDIA driver is required. I followed this post here and after running this command - apt search nvidia-driver I got this which has really confused me:

(base) amit@amit-X705UDR:~$ apt search nvidia-driver 
Sorting... Done
Full Text Search... Done
libegl-nvidia0/unknown 515.65.01-1 amd64
  NVIDI ...
Score: 0
GuerillaRadio avatar
How to keep a tool running in an Ubuntu VPS server?
ir flag

I am ready to be ridiculed and embarrassed ha! So I have a Ubuntu VPS, and say I SSH into it and start Hydra, Hydra can take a while. And I usually don't stay on the VPS for that long, nor the computer. Is there a way to have tasks like Hydra stay running even when I close the session? And when I SSH back into it, have the results either in a file, or if it's still ongoing then for it to come back? I'm  ...

Score: 0
Francis Munganga avatar
How do I get a ZTE CDMA modem working?
mv flag

I connected my ZTE CDMA modem to my computer and it has appeared on the Mobile Connections but when I click on it, I receive an error "Activation of network failed"

Score: 1
James Harkins avatar
Ubuntu Studio 22.04 USB stick failing to mount volume
ci flag

I've downloaded ubuntustudio-22.04.1-dvd-amd64.iso from https://ubuntustudio.org/download/ .

sha256sums:

  • Reference checksum (online): 3fe6fa9a17fa7a4b34b2ec7ff3b9500d354ca644aedcc37096b923f14247f504
  • Checksum from the download: 3fe6fa9a17fa7a4b34b2ec7ff3b9500d354ca644aedcc37096b923f14247f504

AFAICS the download is intact.

I used unetbootin to create a bootable USB. The machine successfully loaded the GR ...

Score: 1
accentWool avatar
Firefox freezes in foreground
pn flag

While using Firefox actively, it freezes. I can't scroll, nor can I interact in any other way with it. Although it seems like actions are passed through to the program. For example, I am somewhat able to switch tabs, because the view gets updated when the focus of the window is switched to another app.

I am on Ubuntu 22.04.1 LTS and using Firefox (snap) v106.0.5. My extensions are: NoScript, Priv ...

Score: 0
LeonidMew avatar
dummy output or "no codecs found" on ubuntu 18.4
ph flag

Sound stop working, possible after update. Following instructions to fix it, I make following changes: sudo nano /etc/modprobe.d/alsa-base.conf Added at bottom: options snd-hda-intel model=auto dmic_detect=0 sudo update-initramfs -u

This doesn't help

Additional info: sudo cat /var/log/syslog | grep -A5 -B5 codec

Nov 16 12:47:15 leo-pc kernel: [   48.689434] snd_hda_intel: unknown parameter 'dmic_detect ...

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.