Latest Ubuntu related questions

Score: 1
lululuna avatar
Errors when trying to upgrade to Ubuntu 21.04 from 20.10
it flag

Whenever I try and run software updater I just get the error "Failed to download repository. information please check your internet connection." and whenever I run sudo apt update I get the error

Get:6 https://packages.riot.im/debian default InRelease [2,892 B]
Err:6 https://packages.riot.im/debian default InRelease
  The following signatures were invalid: EXPKEYSIG C2850B265AC085BD riot.im packages <p ...
Score: 1
quinta avatar
CopyQ global shortcut not working on Ubuntu 21.04
cn flag

CopyQ clipboard manager global shortcut to show/hide main window does not work on Ubuntu 21.04 (doesn't work under Wayland windows manager)

Score: 0
gypsyEyes avatar
Shell script errors out due to PATH variable not set
gg flag

Ubuntu version: Ubuntu 20.04.2.0 LTS

Shell: bash

I have a shell script which will be executed by root from root’s cron job. But, even when I execute the script manually, it errors out saying the following

# ./fix_wifi.sh
./fix_wifi.sh: line 17:  : command not found
./fix_wifi.sh: line 18:  : command not found

Lines 17 and 18 are the ones with echo and service network-manager restart

Providing th ...

Score: 0
Output of `top` command not saved to variable
fr flag

I created the follow bash script, called ./notify-me.sh, in Ubuntu:

#!/bin/bash

emailmessage=$(top -b -o %CPU)
echo $emailmessage

But when I run this script by doing ./notify-me.sh and pressing the Enter key, the command prompt just skips to the next line and does nothing. It just stays on the empty line until I press Ctrl+C to break the process.

How do I store the output of the top command to a variabl ...

Score: 0
Anyone happen to know if with 21.04 AD integration, tighter integration with Certificate Services is being considered?
gf flag

As an admin in a mixed environment, the biggest bane of my existence it trying to issue internal certs. Right now the only option is using NDES/SCEP, but Microsoft apparently has no interest in supporting that since it can't support their CNG certificate providers, which means the only certificates I can issue to linux machines via NDES/SCEP is ones using older cryptography. Not to mention that setting  ...

Score: 0
Ahmad Hussian avatar
Device won't go to login screen after removing gdm3
pl flag

My Lenovo Legion laptop has Ubuntu 20.04 on it. My initial problem was that, when I boot up the laptop after it goes to sleep, the screen will remain black and I have to reboot to log in again.

I saw one of the solutions was to remove gdm3, so I ran the command:

apt remove gdm3

and rebooted.

Now the laptop freezes at the welcomie screen that is shown after you fire up the device.

welcoming screen

Any help would be ...

Score: 0
Brad Thompson avatar
GParted takes long time
nl flag

Ubuntu 21.04 hirsute 5.11.0-18-generic #19-Ubuntu SMP Fri May 7 14:22:03 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

One of the partitions has to be check. I tried to fix it with gparted - check and repair the filesystem. GParted said this might take a long time. The CPU is utilized by gpartedbin about 100%. My question is how long a long time could be? I am waiting for about 6 hours and the progress ...

Score: 0
Joshua Flynn avatar
How do I create a script file for terminal commands that require sudo permissions
jp flag

my system keeps killing my wifi connection and I am having to use the terminal to restart it using the following comand

sudo systemctl restart NetworkManager

how would i write a script for this that I could place in my favorites bar

Score: 0
c1uq92 avatar
iPod not syncing properly
tn flag

So I just pulled an old iPod Nano 4th gen out of my drawer and tried to sync it up with rhythmbox. I received an error but was able to fix it with

sudo mount -t hfsplus -o remount,force,rw /media/jonas/b47eb0c0-5c2e-3ea5-8f3a-aa37972d3287

I had 40 mp3s I wanted to sync with the device and had them under the music tab.

the music tab screenshot

I think I was able to sync the files properly, because when I click on the iPod ...

Score: 0
Ubuntu Software application has dissappeared
us flag

I followed the suggestion (Can't open snap-store) to fix the recent breakage of the snap store, but now my "Ubuntu Software" desktop app has completely disappeared. Is there any way to get it back?

Score: 0
How to mount AFP shares/volumes via /etc/fstab in Ubuntu 20.04?
de flag

How to mount AFP shares/volumes from a remote server using /etc/fstab?

Since I can connect to AFP servers using Nautilus (afp://...) all required shoftware should be on my system. But how to get it automounted via fstab?

Score: 0
sk8nfool avatar
gnome apps missing from taskbar in Ubuntu 18.04
vn flag

Why did all my gnome apps disappear from my taskbar(?) when I restarted to complete updates? I'm using Ubuntu 18.04 and Gnome 3.28.4

EDIT: fixed misspelling and version number in title

Score: 1
Ubuntu 20.04 boots slowly after regular update; boot and efi partition appear on toolbar and Nautilus left menu; files load slowly into editor
mx flag
xyz

Apparently after todays system update, Ubuntu 20.04 boots slowly.

Other effects are that boot and efi partitions appear on system toolbar and Nautilus left menu.

Also files load slowly into editor.

Dual boot Windows partitions do not show in Nautilus under "Other Locations" any more. However, they can be booted explicitly, e.g. using "disk" tool.

After the regular update with the standard software updater ...

Score: 0
Shlomi avatar
Bash script output on the screen also to the log file
cn flag

I created a simple script that does a curl command ( I run it every month via crontab ) and I made it echo to a logfile with the date of run. The problem is that I want to receive the shell script output as well to the log file and I'm sure quite sure how to achieve that. This is what I have:

#!/bin/bash
#
LOGFILE=/root/Delete-Old-Indices.log
#Nginx Logs - Delete older than 90 Days
curl -XDELETE XX ...
Score: 0
Vicky avatar
Ubuntu 18.04 crashes abruptly
gb flag

From last few days, my ubuntu installation shuts down abruptly. I have no clue on what is causing this.

I tried few steps which I could gather and am attaching the log output as well. Can someone steer me in the right direction please?

reboot   system boot  5.4.0-74-generic Thu Jan  1 05:30 - 17:08 (4541+11:38)
runlevel (to lvl 5)   5.4.0-74-generic Tue Jun  8 16:15 - 17:08  (00:52)
myubuntu    :0     ...
Score: 0
Mona0000 avatar
How to backup from Ubuntu bootable usb?
gt flag

I have a problem when booting Ubuntu 19.10 on my laptop, I would just like to do a fresh install instead of solving the problem but before I do that there are a couple of important folders I need to backup. How do I do that with a Ubuntu bootable USB?

I created the USB and tried following a tutorial I found but I am at a loss of what to do. I clicked on "try Ubuntu" and then "files" then "other l ...

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.