Latest Ubuntu related questions

Score: 0
Wayne avatar
Python Flask error "ValueError: malformed url rule"
cn flag

I'm quite new to Python Flask framework and I'm trying to run this code.

from flask import Flask
app = Flask(__name__)

@app.route('/welcome')
def welcome():
        return '<h1>Welcome to Flask</h1>'

@app.route('/hello/<path:/welcome>')
def set_path(path):
        return path

app.debug = True
app.run(host='localhost', port=8080)

But then, when I run the code, I will get an error t ...

Score: 5
teledyn avatar
Upgrade to 22.10 pipewire killed bluetooth audio: org.bluez.Error.Failed br-connection-profile-unavailable
er flag

I am running UbuntuStudio with KDE Plasma, using last week's release of 22.10. The new version now supports headsets, and I had been using an Anker Soundcore as stereo speakers, I've used it with ubuntu for years, but it is now recognized as a Headset. In the Audio Settings I could test the mono output, but I needed the stereo mode, so set out to see if that could be switched back, which required blueto ...

Score: 0
José Rojas avatar
What could be making WiFi to get "hardblocked" by hardware between reboots?
ro flag

I bring this question up in the hope that someone knowledgeable would shed some light into the issue.

I am currently running Xubuntu 22.10 in a VAIO laptop (don't know much about its specifications) after having upgraded it from 22.04. Ever since, I have been experiencing something strange with my wifi: it wasn't working and it appeared as "disable" and with the rfkill command I realized it was "h ...

Score: 1
raylight avatar
gunicorn process with 100% of CPU after Ubuntu 22.04 upgrade
in flag

I had Ubuntu 20.04 installed and I used the following commands to upgrade it to Ubuntu 22.04:

sudo ppa-purge
sudo do-release-upgrade

After that I realized there's a gunicorn process that consumes 100% of CPU, killing it doesn't solve the problem and I don't know how to debug it. Apparently, Ubuntu 22.04 uses it somehow. Is there anything I could do to fix this problem? I didn't find an easy way of  ...

Score: 0
luisito_36 avatar
22.04 apt-key is deprecated - wine64
th flag

I was installing wine64 because I know that it's useful to install and to run any Windows app, I was following the steps how to install from this website.

The step that I couldn't continue to complete the installation is:

$ wget -qO- https://dl.winehq.org/wine-builds/Release.key | sudo apt-key add -

Output: Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8 ...

Score: 2
fin444 avatar
Why am I updating GNOME Application Platform on Kubuntu?
ki flag

Kubuntu runs KDE, not GNOME, right? So why does Discover want me to update to GNOME Application Platform version 3.38?

Score: 0
AC-DC avatar
How to move Ubuntu 22.04 remote desktop daemon off NVIDIA GPU and to another video card?
in flag

I am repurposing an old Dell Precision T7910 workstation for machine learning with CUDA on NVIDIA Titan X GPU. I did a clean install of Ubuntu 22.04 LTS followed by nvidia driver installation from Ubuntu Software & Updates -> Additional Drivers. Next, I installed the CUDA toolkit from NVIDIA.

There is another video card in this system - an AMD Radeon Pro WX 3100. I use this Radeon card for ...

Score: 0
Sam avatar
Ubuntu 20.04 and 22.04 ed25519 format ssh key isn't automatically unlocked at login
ao flag
Sam

Is there a way to automatically unlock an ed25519 format private ssh key (which has a passphrase) upon login?

As I recall, our previous format keys did automatically unlock after login (thanks to Seahorse?) but the ed25519 format keys don't seem to.

The bypass I've found is to manually run:

eval `ssh-agent` && ssh-add

and then run screen or tmux so all the child processes inherit the unlocked  ...

Score: 1
Turhan Ergene avatar
404 not found error when apt-get
cf flag

I am using Ubuntu 22.10 on a Digital Ocean image. I try to run this command:

sudo apt-add-repository -y ppa:brightbox/ruby-ng

but I get these specific error messages in output;

Err:3 http://old-releases.ubuntu.com/ubuntu kinetic-security Release                                                         
  404  Not Found [IP: 185.125.190.37 80]
Err:8 https://ppa.launchpadcontent.net/brightbox/ruby-ng ...
Score: 2
prikarsartam avatar
confusion about internal graphics and installation procedure
td flag

upon using sudo lshw -c video I obtain the information about the graphics processing units in my system as following:

p@prikarsystem:~/Downloads$ sudo lshw -c video
  *-display                 
       description: VGA compatible controller
       product: Skylake GT2 [HD Graphics 520]
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 07
       width:  ...
Score: 1
Andy Atsugah avatar
ssh to remote host from a list of hosts from a file
jo flag

What to use for loop to log into websevers using this command?

for host in $(cat remhost); do
   ssh devops@$host uptime;
done

keep getting:

ssh: Could not resolve hostname host: Name or service not known

what do I need to correct?

Score: 3
ajadal avatar
Nautilus 43 not following gtk-theme
lc flag

I am using ubuntu-budgie 22.10 (fresh install) and i want to use nautilus instead of nemo-file-manager. My problem is (as in firefox) that nautilus 43 is not following the gtk theme that i want to use (ark-darker) Is there a way to bind nautilus to the system theme? I tried to install nautilus 42 (ubuntu 22.04) but i couldn`t force the installation of nautilus. Any suggestion? Thank you for your time. ...

Score: 0
ArmInImrA avatar
ubuntu 22.10 and mount xfs partition
ci flag

Is Ubuntu 22.10 able to mount the xfs partition by default or does it still need to install the package?

Score: 0
lorenc avatar
Where can I find the source for the latest linux kernel 6.0.5?
na flag

I have installed the latest kernel 6.05 (linux-image-unsigned-6.05-060005-generic). When I try to get the source code for this kernel I am not able to.

I run :

$ sudo apt-get build-dep linux-image-$(uname -r)

I get the following error:

E: unable to find source package for linux-image-6.0.0-060005-generic
Score: 1
Benjamin Lloyd avatar
Unable to apt-get update on IPv6-only ubuntu server
mg flag

Whenever I try to apt-get update on my IPv6-only ubuntu server, the command fails with connect (101: Network is unreachable) Cannot initiate the connection to us-east-2.ec2.archive.ubuntu.com:80 (52.15.102.108). - connect (101: Network is unreachable. Is there a way to update and install packages on IPv6-only instances? I need packages like build essentials, etc.

Score: 0
domattioli avatar
WSL: No such file or directory when installing a setup.py for a third-party
mw flag

I'm trying to run a setup.py file for a third-party package in my Ubuntu WSL:

$ sudo env PATH=$PATH python setup.py develop

The setup.py file is designed to modularize the package, and I'm running it with sudo because I do not have admin write privliges. However, I get the error:

env: ‘Files/WindowsApps/CanonicalGroupLimited.UbuntuonWindows_2004.2022.1.0_x64__79rhkp1fndgsc:/mnt/c/Program’: No such f ...
Score: 0
Recently Updated Ubuntu user avatar
security updates not installing - missing directory
cn flag

I have just updated from 21.04 to 22.04.

A couple of times after booting I get a requestor about updates. I click the "INSTALL" and it goes off and starts to do it's thing. Then says "Can't install, check internet connection".

Today I remembered to try to do the update myself.

This is what happened:

me@me-desktop:~$ sudo apt update
[sudo] password for me: 
Reading package lists... Done
E: Could no ...
Score: 0
Tal Weiss avatar
Dell 7430 - no sound from speakers - HDA-Intel" Realtek ALC289 - Ubuntu 22.10
it flag

almost giving up - new laptop has no sound from speakers. They show as playing, but I hear nothing.
Dell Latitude 7430, 12th Gen Intel® Core™ i7-1270P × 16.

tal@tal-Latitude-7430:~$ cat /proc/asound/cards

 0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0x6055290000 irq 207

tal@tal-Latitude-7430:~$ ls -ld /proc/asound/cards

-r--r--r-- 1 root root 0 okt 2 ...
Score: 0
user1737538 avatar
Call to webservice fails from Ubuntu, whereas it succeeds from Windows
ki flag

I have a python piece of code which calls a SOAP webservice via SUDS library. If I use the name of the server in the webservice URL, the call fails from Ubuntu, saying that the server is Unknown, whereas it succeeds from Windows 11 (I have a dual-boot PC). I've verified that in both cases the ethernet card gets configured the same way by the DHCP server. Is there any reason for that behavior? Thanks in  ...

Score: 0
fabiokavlac avatar
Screen brightness increase and decrease keys inoperative
ee flag

Screen brightness increase and decrease keys inoperative

On notebook Lenovo:
Family: IdeaPad 3 15ITL6
Press increases and decreases brigthness directly on the keyboard.
But on Ubuntu 5.19.0-23-generic keys are inoperative.
VERSION="22.10 (Kinetic Kudu)"

Command output
echo $XDG_SESSION_TYPE
wayland

Following is the information of the output of lspci:
lspci -k | grep -EA3 'VGA|3D|Display' 0000:00:02.0 VGA ...

Score: 15
yusuf75 avatar
Ubuntu 22.04 Can't Play Disney+ Videos After Update
sy flag

Disney+ videos refuse to play in either Firefox or Chrome. I get no error codes.

Score: 1
Gunay Karaoglu avatar
How can I group files by star "rating"?
fr flag

I have a bunch of files in a folder that I've added rating metadata. How can I access rating information of files in Ubuntu? and How can I group files with their ratings?

Score: 0
Buster4126 avatar
Can I install Ubuntu Server on E5-2650 v2?
pr flag

I wanna build a server and wanted to know if I can install Ubuntu Server on a server that runs with this CPU: Intel XeonE5-2650 v2

Score: 0
Confguy2016 avatar
HP 2778 Wireless printer - cannot add this printer in Ubuntu 22.10 wirelessly. hp-setup freezes
gh flag

enter image description hereI recently bought a HP Deskjet 2778 AIO printer. It works well in Windows laptop as well as from android phones. But, when I tried to add this printer for wireless printing in Ubuntu 22.10, the hp-setup lists the printer and the gui freezes with some error message telling to check firewall rules. How to setup this printer? Note: latest hplip 3.22.6+dfsg0-1 is installed.

EDIT: I have answered with the sol ...

Score: 0
Torsten avatar
Microphone input is freezing/having a long delay in Ultra Star Deluxe
th flag

I posted this almost a year ago at the usdx github projcet and got redirected to these boards. I hope somebody can help.

In the mean time I upgraded to Ubuntu 20.04.5 LTS.

Actual behaviour

Singing into the microphone is registered by the program with a big delay. You can see the visualization of the sung pitch freezes or updates only every few seconds (in the game itself, when you sing a song or also in t ...

Score: 0
janosrusiczki avatar
Cloning to larger drive, resizing partion to fill
ml flag

I have an Ubuntu 20.04.3 system which started out as a curiosity and I used a 120 GB SSD I had laying around to build it. Then I started self hosting things on it (mostly Docker images) and now I'm at the point that I grew out the drive. I bought a new 1 TB SSD and I would like to clone the old drive to it and enlarge the partitions to fill it out.

My drive looks like this:

janos@ubuntubaiasprie:~$ su ...
Score: 1
BeepBoop avatar
Logout slow on 22.10
in flag

Did a fresh install of 22.04, then upgraded to 22.10. I noticed that logging out from Gnome takes a very long time (about 10 seconds!) on 22.10, while it was pretty much instant on 22.04. Is anyone else experiencing this? Any ideas on where to look to find the issue?

Score: -4
ferdymercury avatar
Problem when upgrading ubuntu 14 to ubuntu 16
fr flag

While upgrading from Ubuntu 14 to Ubuntu 16 via do-release-upgrade, I ended up with the following relocation error:

apt-get: relocation error: /usr/lib/x86_64-linux-gnu/libapt-pkg.so.5.0: symbol _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareERKS4_, version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference

as described here. https://github.com/Microsoft/WSL/issues/ ...

Score: 0
Kelvinator avatar
Maintaining WIFI driver installation after an OS update
in flag

I have a laptop that came with a WIFI card that was not recognized by Ubuntu. I was able to install drivers to get the device to work. However as soon as I upgraded the system the driver no longer worked.

Is there a way to configure drivers so that they will still work after OS upgrades?

Score: 2
raddevus avatar
What is /proc/85/root/tty & why am I seeing it written to every 1 second?
us flag

I'm watching which files / directories are being written to on my Ubuntu 22.04.1 LTS installation (kernel v. 5.15.0-52-generic).

Suddenly I'm seeing writes to /proc/85/root/tty every 1 second.
I know this may be some specific process (such as firefox) to my machine.

If so, can you tell me how I can determine which process it would be that is writing to this tty?

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.