Latest Ubuntu related questions

Score: -1
gabe6540 avatar
OrangePi 5 disconnecting from internet-less ethernet
aw flag

We just purchased an OrangePi 5 and tried to run both the OrangePi Bullseye OS and Ubuntu Focal yet we face the same issue in both. The ethernet (eth0) keeps disconnecting from our Doodle Radio (which is an RF mesh communication device) every few minutes.

When we plug in an ethernet from the Wi-Fi router we don't have the issue. We have multiple regular laptops running windows and RaspberryPis ru ...

Score: 2
SePröbläm avatar
Ubuntu Upgrade: How to fix "Failed to fetch"
pl flag

Trying to upgrade Ubuntu 22.10 to 23.04 by calling "sudo update-manager -c" repeatedly fails with the following three errors:

Failed to fetch http://ch.archive.ubuntu.com/ubuntu/pool/main/b/base-passwd/base-passwd_3.6.1_amd64.deb Connection failed [IP: 109.202.202.202 80]
Failed to fetch http://ch.archive.ubuntu.com/ubuntu/pool/main/libr/libreoffice/libreoffice-common_7.5.2-0ubuntu1_all.deb Connect ...
Score: 0
user9437856 avatar
Your password does not satisfy the current policy requirements and Access denied for the root user
ne flag

I am trying to install the PHPMyAdmin but I am getting some errors.

I have referred this link for PHPMyAdmin

I have tried the below command

sudo apt update
sudo apt install phpmyadmin php-mbstring php-zip php-gd php-json php-curl

Let me share them one by one here

  1. Every time I am getting the below password error

Your password does not satisfy the current policy requirements

Then I select abort

Score: 0
risingfish avatar
Uninstalling snapd broke networking on Ubuntu Server 22.04
mx flag

While working on a different problem I decided to uninstall snapd on one of my Ubuntu Server 22.04 boxes because I wasn't using it. Now that it is removed the server refuses all network connections. I can see that it has the correct ip (I use OPNSense to pin it to a specific one). I can't ssh to it, nginx refuses all connections, and the webmin interface also won't work. Not sure what to do here, and wa ...

Score: 0
lee genny avatar
How to delete matched filenames from a list
in flag

I want to scan for filenames in a source directory and all its sub-directoris then print the output to a file like:

ls -hR >> del.txt

(I, however, don't know how to not list folders)

I don't need to save the file's list to a file but I think that will make things safe and clear.

Then, I want a "command" to search a certain destination directory and its sub-directories and delete all the mat ...

Score: 0
Hotwrench avatar
what is unsupported file given on command line
us flag

Trying to install protonvpn-stable-release_1.0.3_all.deb using sudo apt-get install. terminal responds: E: Unsupported file ///home/george/Downloads given on commandline

$ sudo apt-get install ///home/george/Downloads protonvpn-stable-release_1.0.3_all.deb
[sudo] password for george: 
Reading package lists... Done
E: Unsupported file ///home/george/Downloads given on commandline

protonvpn-stable-rel ...

Score: 0
INTENSA avatar
Run Mono Application on Startup with a Service
gr flag

When the ubuntu system boots up, my service that starts test.exe fails (using systemctl status Testprog.service):

at System.Windows.Forms.XplatUIX11..ctor ()
at System.Windows.Forms.XplatUIX11.GetInstance ()
at System.Windows.Forms.XplatUI..cctor ()
--- End of inner exception stack trace ---
at System.Windows.Forms.Application.EnableVisualStyles ()
at Testprog.Program.Main (System.String[] args)
 ...
Score: 0
bengtfalke avatar
Loosing graphics when doing update of Ubuntu studio from 22.10 to 23.04
yt flag

I tried to use the update function from 22.10 to 23.04 but I loose all graphics settings and the resolution is down to 1080..... Any Idea what can be wrong?

Score: 0
Sébastien Gicquel avatar
php -v and phpinfo(); returns different versions
fr flag

I want to use php 8.1 on Ubuntu server Currently it works with php 7.4.30

lsb_release -a

returns

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.6 LTS
Release:    18.04
Codename:   bionic

I followed tutorials and so I executed these commands

sudo apt update
sudo add-apt-repository ppa:ondrej/php
sudo apt update
sudo apt install php8.1
sudo apt-get install -y ph ...
Score: 1
Raghav avatar
Syntax error in object.h file from python3.10-dev package
ba flag

I am writing a code to edit Sqlite database from c++ and then using PyBind11 to use the program with python. I installed PyBind11, built it till here no issue but when I am building the code it shows an error:

/usr/include/python3.10/object.h:227: error: expected unqualified-id before ‘;’ token
In file included from /usr/include/python3.10/Python.h:74,
                 from /usr/local/include/p ...
Score: 0
kfct avatar
Ubuntu 22.04 bluetooth not finding devices (specifically a bluetooth speaker)
kp flag

I have a Soundcore Select 2 and my Ubuntu 22.04 isn’t able to pair with it. The hardware is a HP Prodesk 600 G4DM.

If on startup, on the black screen before the Ubuntu logo shows up, I see some error message briefly about hc10 unable to start, failure to start, or something like that, then when I go to Settings > Bluetooth > Enable the "Devices" will have a little spinning circle that wil ...

Score: 0
Elias Tommeh avatar
Build mediapipe on Linux (Ubuntu 22.04)
md flag

I'm trying to build MediaPipe from source with Bazel on Linux ubuntu 22.04. here are the full steps ive done so far:

1. git clone https://github.com/google/mediapipe.git
2. cd mediapipe
3. bazel build -c opt --define MEDIAPIPE_DISABLE_GPU=1   mediapipe/examples/desktop/desktop/holistic_tracking:holistic_tracking_cpu

but it's always failing with the following error:

In file included from ./mediapi ...
Score: -1
Installed nvidia drivers: black screen with blinking cursor
bd flag

I was running Wayland on 22.10 using nouveau on a GTX 550 Ti, and decided to install nvidia's 390 drivers using the Additional Drivers tool. The installation finished with asking me to reboot. After doing that I get to the Ubuntu splash screen, see some systemd output, and I'm then left with a black screen with a blinking cursor.

Now what do I do?

  • I tried this answer to allegedly force the login s ...
Score: 0
Raj Khandwala avatar
After upgrading from 22.04 to 22.10 keyboard,mouse works only in Menu bar and dock and cannot start terminal
us flag

I am already running 22.04 when I try to upgrade to 22.10 but when I boot my cursor is only active in the dock and menu bar. I can start some programs but cursor disappears and keyboard will not work. Cannot start terminal. What could be the problem

Score: 0
Harry avatar
ubuntu assign 2 local ip's to on machine
dj flag

Explanation: I have one Ethernet port that on my server and i want my services to be routed through a VPN. e.g. nordVPN / Mullvad. I would also like to a reverse proxy running on the server that is port forwarded. Meaning I CAN'T have the reverse proxy effected by the VPN. What's the best way to tacle this? fyi. its on a raspberry pi, so it cant run 2 VM's

Score: 2
ilie alexandru avatar
Creating HLS Playlists (M3u8) Using FFmpeg
cg flag

I created my own bash script that will create videos on demand with different resolutions and bit rates. I used "ffmpeg" tool do that, "ffmpeg" is a must, hence I can not use any other tool.

The result of my script is:

enter image description here

And each folder has:

enter image description here

The default video and the other videos with different bit rates.

I want to create a "HLS" playlist using "ffmpeg". I found a website that shows a script that is doi ...

Score: 1
zsolt avatar
ubuntu 22.04 wireless mouse disappeared
cf flag

Using xubuntu without problems till now. I turned on my computer today and realized my wireless mouse is not working. It ran correctly earlier and doesn't work now. Of course I've checked available topics but that didn't help any.

The problem looks similar to [this][1] one but the only one answer does not work for me.

Of course I've checked usb devices (lsusb):

Bus 002 Device 001: ID 1d6b:0003 Linux Foun ...
Score: 0
roelvanmeer avatar
How to find out why GNOME/Openbox session doesn't work on 22.04 LTS
cn flag

I have a fresh install of Ubuntu 22.04.02, and I would like to use Openbox with GNOME.

However, if I choose the GNOME/Openbox option when logging in, I get the sad monitor image and the message "Oh no! Something has gone wrong." with a Log Out button.

After the default install I installed the openbox and openbox-gnome-session packages. Maybe this isn't enough?

I've looked in syslog and in /home/$us ...

Score: -1
Zahid avatar
I am facing problem while trying to mount of my drive
as flag

I am facing this issue while trying to mount on my drive:

Screenshot

There are two drives on my PC, one is for OS only (SSD) and another one 1TB (HDD). The problem with 1TB hard drive, there are 3 drives, two are fine. But facing trouble with 1 drive which has lots of data. I am unable to mount it. What should I do? Ubuntu 20.04.6 LTS

Score: 0
Jayjones avatar
How to fix screen glitching when trying to "try or install ubuntu" in grub?
ie flag

Screen glitch:

Screen photo

I have an old lenovo g450 laptop. I am trying to install ubuntu in it using a bootable usb drive. There is no windows in it. I entered grub and clicked "try or install ubuntu". But then after the underscore blinking on top left corner of screen, it shows this glitching (refer the image). I went to this link and did the nomodeset command after splash, but it is still showing the screen glit ...

Score: 1
Andi Hafner avatar
What is the difference between the root folder "/" and "/media/username/ubuntu-root"?
us flag

I recently did some housekeeping on the file system of my workstation (Ubuntu 22.04). I used NCurses Disk Usage in the terminal to get an overview of the largest folders and files.

Amongst others, I found /media/username/ubuntu-root/var/lib/yacy/INDEX wasting 14 Gigabyte of my storage space. The confusing fact about that is, that the folder /var/lib/yacy doesn't exist respectively doesn't appear unde ...

Score: 0
texter97 avatar
Ubuntu 20.04 boots to purple screen or black screen with blinking cursor
so flag

My ubuntu 20.04 boots to a purple screen / black screen with blinking cursor. I tried installing several nvidia-driver versions (515, 525, 530) but all seem to result in same problems with booting. I have tried installing them via the software centre, via the terminal, with a download of the driver via the website, but nothing seems to have the solution. Also booting in recovery mode does not always wor ...

Score: -1
shahin davoodi avatar
How access to apt from a filtered network?
sz flag

The filtering and spamming is so high in my country. I can not access apt commands. How do I use a VPN or proxy or some other tool to access apt?

Score: 0
steevven1 avatar
Lenovo Bluetooth Mouse Freezes During Use
es flag

Help! I bought my wife the mouse of her dreams, and it doesn't work correctly. It pairs without any issue and never disconnects, but at some point during use (after 5-30 minutes), it completely stops responding (while staying connected according to Blueman). If I try to disconnect and reconnect with Blueman, it fails to respond to the "disconnect" command at all, and I'm forced to reboot. Then, it works ...

Score: 0
cyfex avatar
Is there an equivalent snap command to the Flatpak's `permission-show` and `permission-set`?
cn flag

I am asking, because I have to handle a permission problem with a Firefox webextension and the sandboxed Firefox in Ubuntu 22.04. (See https://github.com/mi-g/vdhcoapp/issues/139)

The solution turns out to be, I have to grant permission for Firefox to use that webextension. But I only find such commands in Flatpak's permission-show and permission-set, which means I have to install Flatpak to modify t ...

Score: 0
David Oneill avatar
Update old server
in flag

I have a file server I set up a few years ago. It is running ubuntu server 20.10. I haven't touched it in more than a year (other than connecting to the shared network folders). When I logged in today, it said this release is no longer supported, and that I need to do-release-update.

But when I do that, it says the required dependency 'apt (>=2.1.10ubuntu0.3)' is not installed

Currently: apt --ver ...

Score: 0
bilogic avatar
System wide custom bash prompt
bj flag
  1. I would like to have a system-wide custom prompt
  2. Added . /path/to/prompt.sh to my /etc/bash.bashrc but prompt remains unchanged
  3. I have some scripts in /etc/profile.d that tried to . /path/to/prompt.sh but also prompt remains unchanged
  4. Placing . /path/to/prompt.sh in ~/.bashrc was the only one that worked, but I would have to specify it for every single user

I recall reading somewhere Ubuntu restore ...

Score: 1
user311397 avatar
Catfish search output displays filenames in symlinked folders as though they are duplicate files
jp flag

I'm using Dolphin and Catfish in Ubuntu Studio. I'm looking for a way to get Catfish to either exclude files in symlink folders from search results, or to display them so it is obvious that they are from a shortcut rather than a duplicate (e.g. in italics, as Dolphin does.) I can't find this in Preferences. Does anyone know if it can be done?

So for instance, in my "Morning routine" folder, and i ...

Score: 1
runningraptor avatar
Unable to ssh into ubuntu core on NUC
fr flag

I have installed Ubuntu Core (ubuntu-core-22-amd64.img.xz) on a NUC. Using these instructions: https://ubuntu.com/core/docs/install-nuc.

When I get the screen, which is similar to when I have successfully booted a server. I am unable to ssh in.

I have created my Ubuntu One account. And loaded a public key (which does not have a passphrase). I went as far as to spin up two VirtualBox instances using the ...

Score: 0
NightWng120 avatar
Can't run snap apps
bh flag

I'm running Ubuntu 22.10 and I'm having an issue where if I run this command in my .xinitrc file snap apps aren't able to run.

exec dbus-launch --sh-syntax --exit-with-session dwm

However, if I just run exec dwm there isn't an issue, but I really need the dbus command. This is what I get when I try to run any snap app from the terminal

/user.slice/user-1000.slice/session-1.scope is not a snap cgroup

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.