Latest Ubuntu related questions

Score: 1
Can't ping after adding secondary network interface in aws ec2
ec flag
Cal

Ubuntu version 20.04.

First we created a 2nd private IP on the only (primary) network interface. Both private IP addresses could be pinged. Now the instance has 2 private IP addresses, 1 public IP address.

Then we attached a secondary network interface with two private IP addresses (no public IP address) and attached to the instance, then added .yaml configuration, following this article. Now the i ...

Score: 1
After installing Ubuntu 21.04, programs can't write to NAS
us flag

I've had a couple of programs copying or moving files from my Ubuntu PC to my NAS - FreeFileSync for backups and a custom Python script for maintaining my media library. Since upgrading to 21.04 both have reported errors:

  • FreeFileSync reports errors on files it tries to sync in the form of:

    "Cannot write modification time of "/mnt/backup/Google Drive/DocumentsBackup/temp.a086.ffs_tmp". Error Code 1: Ope ...

Score: 0
salmmus avatar
Ubuntu 18.04 VirtualBox disk full error: "ahci-0-3" (rc=VERR_DISK_FULL)
in flag

On my Ubuntu 18.04 desktop, I installed VirtualBox and added Windows 10 to it. Currently, Windows won't launch because VirtualBox experiences an error stating the following infoprmation:

"An error has occurred during virtual machine execution! The error details are shown below. You may try..."

DETAILS: "The I/O cache encountered an error while updating data in medium "ahci-0-3" (rc=VERR_DISK_FULL).  ...

Score: 0
pastacompany avatar
How to download bittorrent form ppa?
ng flag

I am using this command to try to download qBittorrent

sudo add-apt-repository ppa:qbittorrent-team/qbittorrent-stable

However, I am getting this error:

Hit:1 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu focal InRelease
Get:3 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu focal-backports ...
Score: 0
ubuntu 21.04 - gnome-tweaks - themes don't stick after restart
cn flag

I recently switched to ubuntu/gnome due to my having replaced my 1920x1200 laptop by a a new 4K-capable machine: the old setup that I copied over did not handle scaling to my satisfaction.

Pretty much everything on the new system meets my expectations with the exception of the gnome-shell-related stuff especially anything where text is involved — menus, notifications, calendar, overview searche ...

Score: 5
tweimann avatar
How to install AMD-GPU-PRO Drivers in Ubuntu 21.04?
cn flag

Every time I execute

./amdgpu-pro-install --opencl=pal,legacy

within the

amdgpu-pro-21.10-1247438-ubuntu-20.04

folder, it will try to install it, but then it will crash with the error:

Errors were encountered while processing:
 amdgpu-dkms
 amdgpu
 amdgpu-pro
 amdgpu-pro-lib32
E: Sub-process /usr/bin/dpkg returned an error code (1)
Please Help, thanks.

Things I've tried:

Score: 0
Korbel avatar
how to make Ubuntu 20.04 give guest permissions for local file share to windows 10
cn flag

so far i have a file share set up and ive gotten to the point where it is now discoverable on my windows 10 pc by adding a wsdd service (i think thats what i did anyway. mostly just following tutorials online cause i dont understand very much yet. im getting there tho.)

so at this point i can now see and open the network location and am able to see the shared folders inside the network folder. wh ...

Score: 0
liels avatar
20.04.2 locks up completely when writing to RAID 6 array
ar flag

I can reproduce the problem consistently (and in minutes quickly) but I can't find any messages in the logs that are helpful. This problem occurred with a RocketRaid 3740C HBA and the proprietary nvidia driver but now occurs with an LSI/Broadcom 9305-16i HBA and nouveau drivers. I have flashed the Broadcom card to the latest firmware and bios. The Host Bus Adapter is connected to 9 drives (of 10, RAI ...

Score: 1
Issues installing Ubuntu Studio 20.04 at Acer Nitro 5
pl flag

I have the message error (Trying to translate from portuguese to english)

the external command failed:

the command apt install -y -no-upgrade -o Acquire::gpgc::Options=..ignore-time-conflict shim signed failed while finishing in 300 seconds. There is any output

Score: 0
Mark Lee avatar
How to launch default browser from bash script
cn flag

How do I launch the default Web browser from within a script? In the below script, the browser opens when the script is successfully run as an executable shell script:

#!/bin/bash
cd $1
php -S 127.0.0.1:5000
for f in *.html; do cp -- "$f" "${f%.html}.php"; done
x-www-browser http://127.0.0.1:5000/index.php

However, in this longer version with Kdialog UI, everything executes correctly (the files are c ...

Score: 0
genderbee avatar
bash, display only in case output has count of n characters
ss flag

how can I display content of output which has only count of n characters in second col divided by ,? For example, grep only line which content 4 characters in second col.

Input.

a,123
b,223
c,1234
d,323
e,2234

Output.

c,1234
e,2234

Is some easy way to do this, for example by cut and sed, or for loop must be used?

Thanks.

Score: 0
IsntItEthan avatar
Missing final newline
cn flag

I'm very new to everything here and only got ubuntu today. Also I have no clue how to use the bit that makes it clear its code so apologies. I am trying to install git for a project and it says this:

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 dependenci ...
Score: 0
Costa Michailidis avatar
How to separate embeded videos from PDF or Powerpoint?
vn flag

I've got a giant Powerpoint document I need to present. I have no windows machine, and wine/PlayonLinux have not been working.

The PPT has a few embeded videos in it. Is there a way to extract the videos from the PDF or Powerpoint, so I can do the presentation and then just alt-tab to play the videos in a video player?

Much Love.

Score: 0
Michael avatar
Update Maven causes JAVA_HOME problem
cn flag

I broke maven... I wanted to change from 3.6.0 to 3.8.1 and nothing is working yet

wget https://downloads.apache.org/maven/maven-3/3.8.1/binaries/apache-maven-3.8.1-bin.tar.gz
tar xf apache-maven-*.tar.gz -C /opt
ln -s /opt/apache-maven-3.8.1 /opt/maven
nano /etc/profile.d/maven.sh 
chmod +x /etc/profile.d/maven.sh
source /etc/profile.d/maven.sh
mvn -version
The JAVA_HOME environment variable is not def ...
Score: 1
Ubuntu 20.04.2 MySQL upgrade mangled our data...how to fix?
mx flag

We upgraded from Ubuntu Server 18.04.5 LTS to Ubuntu Server 20.04.2 LTS. Everything seemed fine until today when we noticed that one of our applications was no longer working. MySQL appears to have mangled Unicode characters (stored as UTF-8) in the database when the database software was upgraded.

For example, UTF-8 character:

0xF0 0x9F 0x8C 0xB5

Became:

0xC3 0xB0 0xC5 0xB8 0xC5 0x92 0xC2 0xB5
 ...
Score: 0
merlin avatar
How do I get drivers for my motherboard (Z590 aorus elite AX) for Ubuntu
jp flag

My wifi is working, but it keeps dropping the connection ever couple of hours. I want to hard-wire it so I don't have to deal with this anymore, but when I plug it in to the modem I'm not getting a connection. The light on the back of the modem is flashing orange. I've had this problem with other motherboards before, and I fixed it by going to the manufacturers website and downloading the drivers. W ...

Score: 0
varungupta avatar
Installing Ubuntu in empty HDD with Windows 10 installed in SSD
eg flag

[Not Duplicate] I couldn't find a thread directly addressing this issue, and I didn't want to take chances with my Windows installation and files.

I have a SSD running Windows 10 and an empty (formatted) HDD. I wish to install Ubuntu in the HDD ['Area 51(V:)'] without affecting the SSD (C:) files.

My PC's Disk Information

The step I'm confused at while installing Ubuntu is the 'Installation Type':

  1. 'Install Ubuntu Alongsid ...
Score: 0
Mohammed avatar
The selected boot device failed Windows 10
bm flag

I am trying to install Ubuntu on my Windows 10. I was following these steps. My computer uses UEFI as BIOS mode as described here. I have downloaded ISO image and created a live USB of Ubuntu. I have also allocated free space on my disk. Lastly I disabled secure boot and also enabled legacy support following these steps. Still, I get that my boot device have failed. What is wrong? I need to downlo ...

Score: 0
berebitsuki avatar
Steam won't start on ubuntu 20.04 64-bit with nvidia 460 drivers installed
in flag

I have steam installed from flatpak, and in the recent months this is what it outputs whenever I try to run it:

masha@gudrun:/$ /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=/app/bin/steam-wrapper --file-forwarding com.valvesoftware.Steam @@u %U @@
INFO:root:https://github.com/flathub/com.valvesoftware.Steam/wiki
INFO:root:Will set XDG dirs prefix to /home/masha
INFO:root:Overriding  ...
Score: 0
F.M avatar
Unable to connect to wifi, "For accessing the wireless network SSID you need to provide a password below:"
cn flag
F.M

I'm using Ubuntu 20.04 with KDE Plasma 5.18.5. I entered my SSID and password details in Connections, but whenever I try to connect to my WiFi network, a popup shows and says "For accessing the wireless network SSID you need to provide a password below:". When I enter the password and click OK, it just says connecting for about 10 seconds and the popup appears again. When I click cancel, a notification a ...

Score: 0
mma8x avatar
How to enable chromium based hardware acceleration on early 2013 macbook?
ru flag

So got the above macbook and dual booted Ubuntu. I've been trying to enable hardware acceleration on vivaldi. Followed these instructions and after some tweaking seem to have it working. But video is still choppy. Apparently I have 2 GPUs on this thing, and vivaldi is using the nvidia gpu, whereas macOS uses intel. The video plays smoothly in macOS. Trying to figure out if a) there's a way to force/ ...

Score: 0
user14094230 avatar
Weak and disconnecting wifi with RTL8821CE that is strong with windows
ph flag

I have a 2 antenna wifi that gets a great signal on windows. On dual boot Ubuntu 20.04, it's very weak, to the point that it starts disconnecting if kept on long enough. Any ideas of what could cause this? I tried setting wifi.powrsave = 2, turning off IPV6, and turning off fast startup on windows and reinstalling Ubuntu.

Edit: I've also tried setting antenna to 1 or 2, that didn't help, and I w ...

Score: 0
CodeW avatar
changes to scaling_max_freq don't persist after edits
br flag

So I'm trying to pump up my CPU's performance by editing scaling_max_freq in /sys/devices/system/cpu/cpu0/cpufreq but for some odd reason, my changes don't actually go into effect. Instead, this happens. I have intel_pstate set to disable and processor.ignore_ppc set to 1, and my scaling governor set to userspace

My CPU is an Intel Celeron 4205U @ 1.80Ghz, 2 cores

Score: 0
Wiregurd connected but no internet access
pk flag

I was using a virtual machine for work and Wireguard was working fine on it but when I tried to connect with the same config to my laptop it's connecting with no errors but no internet access note: I stopped Wireguard on the virtual machine I am using ubuntu version 20.04.2 on Lenovo ThinkPad E15 I tried running a different config and got the same problem and tried to reinstall Wireguard I also tried it ...

Score: 0
vhdlrocks avatar
How to upgrade Ubuntu 16.04.4 to a specific version of 18.04.x (not the latest)?
be flag

Currently running 16.04.4 LTS Want to upgrade to 18.04.3 LTS

I haven't been able to find any good information on how to do this but I know others have either found the right way or installed using ISO files.

Score: 0
Dan avatar
How to disable WPA1 security and keep only WPA2-AES wifi hotspot on Ubuntu 18.04
gt flag
Dan

WPA1 is not secure I want to keep only WPA2-AES.

WHen I run nmcli device wifi list I get message below:

IN-USE  SSID  MODE   CHAN  RATE      SIGNAL  BARS  SECURITY  
*       na    Infra  1     0 Mbit/s  0       ____  WPA1 WPA2 
Score: 0
Boris Boridou avatar
"Hotspot" button removed from Kubuntu 21.04
ru flag

I use Kubuntu 21.04. After the last upgrade in my machine, the "Hotspot" button in the network system tray simply disappeared. I don't know if it is a misconfiguration or if some brilliant dev had the brilliant idea to remove a super-functional button. I use my computer as a network router in my room, so now I have very serious internet problems because this button disppeared. Does anyone know what to d ...

Score: 0
Fabian Syawali avatar
How to set ip address correctly?
br flag

I apologize in advance if my english is bad

i want to ask how to set the ip address, i have written this command, and then saved ctrl + x > Y > enter

https://i.stack.imgur.com/uUEkH.png

but the result doesn't match

https://i.stack.imgur.com/z3tuN.jpg

I've been working on it for 4 days but it keeps failing, I hope there's an angel here who can help me

Score: 0
shortmort37 avatar
phpBB uploaded file permissions vs. W3 Schools php upload file permissions
lk flag

I'm moving my phpBB board from a shared server to a VPS running Ubuntu 20.04. I previously had issues with file ownership, that has been tackled through the help of this Forum; many thanks to those that helped me. I'm now trying to solve a file permissions problem.

On my legacy board running on the shared server, uploaded files have 644 permissions - as they do when I port them to the VPS envir ...

Score: 0
FROST SKIPPER avatar
shared library dependencies wrong path
in flag

I built clazy with clang-12 but Qt creator gives an error:

The command "/usr/local/clazy/bin/clazy-standalone --version" terminated with exit code 127. /usr/local/clazy/bin/clazy-standalone: error while loading shared libraries: libclang-cpp.so.12: cannot open shared object file: No such file or directory

I have added the correct directories to .bashrc:

  • export PATH=/usr/local/clang-12/bin:$PATH
  •  ...

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.