Questions tagged [ubuntu]
Free, open-source operating system based on Debian GNU/Linux. Ubuntu questions are on topic here, but if you prefer an Ubuntu-only audience there is Ask Ubuntu (https://askubuntu.com/).
22,132
questions
0
votes
0
answers
8
views
ffmpeg on Ubuntu 22.04 always sets subtitle track to default even with 'disposition:s:0 0' command
I'm running Ubuntu 22.04.1 LTS and installed ffmpeg 4.3.1. Entering the following command to copy an mkv file as 1 video track, 1 audio track defaulted, and 1 subtitle track not defaulted, but the ...
-1
votes
0
answers
10
views
transmission permission error but all sets are good
When I try to download a file with transmission I get an error that the permission denied. Of course first thing is asking google, but it didn't helped.
The pages I investigated was this , this, this, ...
-2
votes
0
answers
23
views
How should I solve Ubuntu 20.04 update errors?
I have problems when I try to update Ubuntu 20.04 , when I run sudo apt update to update, I get this output:
sudo apt-get update Err:1 http://security.ubuntu.com/ubuntu focal-security InRelease Could ...
-1
votes
0
answers
22
views
i have install kali linux but u i am unable to fetch relesase and kali change non-free to non-free-firmware
firmware-nonfree└─$ apt update
Error: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
Error: Unable to lock directory /var/lib/apt/lists/
Warning: Problem ...
0
votes
0
answers
19
views
bluetooth is not running ... failed
I need help to solve this problem.
I'm trying to solve the problem that on my Linux, wlan0 and wlan1 are not being displayed.
So I saw in a group that it would be necessary to install Bluetooth, I saw ...
0
votes
0
answers
19
views
Magic trackpad moves the cursor, but does not click on a tap (linux mint)
So, thanks to Does the Apple Magic Trackpad 2 work on Linux?, I now have configurations that make my magic trackpad kinda work (quoted below)
xinput set-prop "Apple Inc. Magic Trackpad 2" &...
1
vote
2
answers
32
views
NMAP says host is down, but it's not
When running nmap -A -vvv 192.168.0.141 from host A I get the following result:
Note: Host seems down. If it is really up, but blocking our ping probes, try -Pn
But running ping 192.168.0.141 is ...
0
votes
1
answer
41
views
Accessing personal computer remotely (Ubuntu) without VPN
I would like to use my work computer to access my home computer while in the office, motivation for this is that I will be able to install whatever packages and tools to play with on my home computer ...
1
vote
1
answer
28
views
HP Z2 G9 workstation: Cannot boot Ubuntu, nor enter the BIOS
I have a HP Z2 G9 workstation with Ubuntu preinstalled.
Due to an update process went wrong, I accidentally deleted some important packages of my Ubuntu system (unfortunately I cannot remember the ...
0
votes
0
answers
32
views
How to uninstall WSL from Windows 10 [duplicate]
So basically I installed WSL from PowerShell using wsl --install command. After I didn't need use for it, I uninstalled Ubuntu from the apps and feature in settings. When I restarted my pc, the ...
0
votes
1
answer
17
views
How to skip/not_probe certain hardware features (firmware)?
I would like to harder/clean my system and a have read about clearcpuid and initcall_blacklist.
How can i skip some hardware-machine, built-in linux and modules, certain code_snippet (firmwares) from ...
-2
votes
1
answer
45
views
Is it possible to under-watt from power source (battery) to better control Linux draining?
I would like to know if can i set a battery profile from its own. Maybe something like:
battery-model.default_profile=
{powersave[underwatt-minimal],
normal[scalling-power-permitted-from-powersave],...
3
votes
1
answer
407
views
How to resolve hostname by mDNS?
I am using Ubuntu 22.04. I want to be able to resolve hostname of a device connected to my local network. The device is publishing its hostname using mDNS. On my machine, I am able to ping device....
0
votes
0
answers
32
views
Error during updating Ubuntu - WSL
I am trying to update/install some packages using sudo apt on Ubuntu in WSL. This is the error I get -
/sbin/ldconfig.real: Can't link /usr/lib/wsl/lib/libnvoptix_loader.so.1 to libnvoptix.so.1
What ...
0
votes
0
answers
11
views
qbittorrent and Mullvad in Docker wont work
So I installed ubuntu 22.04 on a machine and Docker afterwards. Then I installed Portainer.
I tried to setup qbittorrent and mullvad both as container but they don't work. I checked the logs of both ...
1
vote
0
answers
7
views
3d anaglypth with xrandr (gamma) and xgamma, is that possible
I would like make left side of output (screen) red and the other blue using commands like xrandr --gamma r:g:b or xgamma -rgamma f.f -ggamma 0.000 and -bgamma f.f
Maybe blue and red, no matter ...
Is ...
2
votes
1
answer
37
views
Access to USB HSM Token
I have an ubuntu 24.04 and a Nitrokey HSM.
I use p11tool --list-token-urls to list the HSM url.
When I run it from a local session it works, and it print:
pkcs11:model=p11-kit-trust;manufacturer=PKCS%...
0
votes
0
answers
9
views
Why the external monitor does not show Ubuntu VM?
I have a Ubuntu Linux laptop, I used virt-manager to install a Ubuntu VM. The VM worked great. Now I connect the laptop to a monitor using HDMI cable, but on monitor I can only see the host Ubuntu, I ...
1
vote
0
answers
26
views
Reading memory temperatures with i2c-tools
I am trying to read the temperatures of two DDR4 SDRAMS on my motherboard via Ubuntu 22. I can reach these memory temperatures with the HwInfo program on Windows, but the with i2c-tools on Ubuntu can'...
0
votes
1
answer
37
views
How to beep from WSL?
How can I beep from WSL terminal?
Running on Windows 10 x64 with WSL2 running Ubuntu 24.04 LTS
Things I have tried that didn't work:
$ tput bel
$ echo -ne '\007'
$ echo -e "\a"
all produced ...
0
votes
0
answers
10
views
External networks and docker container
I've a docker container on my VM , exposing ports 5042, 7247. And I want to make it available from external networks. OS: Ubuntu 22.04.3 LTS
curl http://172.17.0.2:5042/v1/user/HasUsers gives me 200 ...
2
votes
1
answer
118
views
Trying to install MediaInfo Python 3.13 (Ubuntu) and it is not working out as expected
I am trying to install MediaInfo Python 3.13 (Ubuntu) and it is not working out as expected.
https://pymediainfo.readthedocs.io/en/stable/
from pymediainfo import MediaInfo
media_info = MediaInfo....
0
votes
0
answers
17
views
Docker restarting containers on reboot when shut down
I've been playing around with Docker for the past few months. I've created several docker-compose.yml files and have a handful of services running. I'm at the point where I'm finalizing my setup. I ...
0
votes
2
answers
505
views
Ubuntu 24.04.1 LTS update: What to do with ppa-purge?
I want to upgrade from Ubuntu 22.04 LTS to 24.04 LTS.
However, by doing sudo do-release-upgrade or sudo do-release-upgrade --allow-third-party, I always get the following error:
Could not calculate ...
0
votes
0
answers
25
views
mt command with mkpartition operation on HP LTO-6 drive not working properly
I'm trying to create a second partition on LTO-5 and LTO-6 cartridges using the command mt -f /dev/nst0 mkpartition 100 on a HP LTO-6 drive but it fails with /dev/nst0: Input/output error.
I also ...
1
vote
0
answers
20
views
How to create Ubuntu arm64 docker container with gcc-multilib?
I have a working i386 cross-compilation build container and attempting to recreate the container as arm64 to remove the Rosetta overhead in Docker Desktop for Mac (macOS Sonoma on an M1 MacBookPro)
...
1
vote
0
answers
42
views
Stuck at try or install Ubuntu when trying to install Ubuntu 24.04 on VirtualBox 7
I am trying to run Ubuntu Desktop 24.04 LTS inside VirtualBox 7.0.20 on my Windows 11 PC. Virtualization is enabled. I’ve allocated 16GB RAMs, 6 CPUs, 64GB storage. I set graphics controller to VMSVGA,...
2
votes
1
answer
26
views
How to reliably get the amount of internet traffic used on an Ubuntu server?
I have multiple servers and they have limited internet traffic usage.
Unfortunately, the provider has not set up a system to notify the remaining traffic for the servers.
And I am also trying to build ...
0
votes
0
answers
39
views
Netplan messing up network priority
I have PCI ethernet and USB ethernet on an Ubuntu machine. I want the USB ethernet interface to select a specific connection (to 10.42.0.1, name = UR) on boot automatically, but it selects the other ...
-1
votes
0
answers
16
views
Is my tcpwrapper hosts deny file option correct? reserve_shell blocked?
My /etc/hosts.deny is as follows:
ALL EXCEPT LOCAL: ALL : SPAWN ( /usr/bin/echo "$(date) Host\: %c, Connection blocked" >> /var/log/filter.log ) &
My /etc/hosts.allow is empty
Is ...
0
votes
1
answer
82
views
I am using Linux Ubuntu 24.04 LTS. Anytime I launch my terminal, the image below shows up. I don't understand why
I am using Linux Ubuntu 24.04 LTS. Anytime I launch my terminal, the image below shows up. I don't understand why.
When I try to make the change as per the recommendation, I get an access denied ...
0
votes
0
answers
46
views
mv "Input/output error" when trying to rename a file on a usb connected phone
I'm trying to use a bash script to replace an old file on my phone with a newer one from my laptop. First I want to rename the file on the phone and then move it to a backup folder.
To rename I run ...
0
votes
0
answers
15
views
service docker start doesn't work if systemd is enabled
If I have this in my /etc/wsl.conf file service docker start doesn't work:
[boot]
systemd=true
If I comment out the systemd=true bit service docker start works but not with that line in place.
wsl --...
0
votes
2
answers
52
views
How to not get redirected to localhost when trying to access an Apache 2 ran server on Ubuntu in the same network?
I am currently hosting an Apache 2 server on an Ubuntu 24.04 server that is hosted on a VirtualBox ISO however when I tried to put the network into bridged mode as someone recommended it now works ...
2
votes
1
answer
285
views
Virtualbox stopped working (Package has no installation candidate)
I'm using a Ubuntu 22.04.4 LTS desktop and have been successfully hosting VMs via virtualbox 6.1.32, until I got the following error:
Kernel driver not installed (rc=-1908)
The VirtualBox Linux ...
0
votes
2
answers
38
views
Receiving different output from terminal commands and script commands
When running the "cat" command without any arguments, the shell halts until I use ^C to return to command prompt.
The same happens when I run the command via a script named cat.sh.
#!/bin/...
0
votes
0
answers
30
views
Unable to open Windows 11 on Dual boot machine with Kubuntu 24.04
I'm encountering several issues with my dual boot system on a Lenovo Ideapad Gaming 3 laptop running Windows 11 and Kubuntu 24.04. Here are the details:
Problems:
GRUB Error: Selecting Windows from ...
2
votes
1
answer
26
views
How to install a 3rd OS with Ubuntu
I have a laptop with Windows 10 and Ubuntu 24 with GRUB 2.06.
I would like to install another Windows in order to have:
-Ubuntu
-windows 10
-windows 10
What is the right procedure in order to not lose/...
0
votes
0
answers
88
views
Firefox downloads weird empty HTML file [closed]
I am running Firefox 129.0.2 (64-bit) on Ubuntu 20.04.4
Recently, I have been browsing a StackExchange site and hit the back button of the browser several times (still remaining on StackExchange). I ...
0
votes
0
answers
15
views
Azure Image Builder (AIB): 'sudo apt update -y' fails with 'ERROR: Bad port'
Executing sudo apt update -y as part of a shell script from a Customizer "Shell" action fails with the following error message (packer logs):
ui: azure-arm: + sudo apt update -y
ui: ...
2
votes
2
answers
113
views
Firefox doesn't save changes made in about:config
I have a Ubuntu (Unity) 22.04.4 LTS (Jammy Jellyfish) installation which distributes firefox via snap.
The problem im facing is, that whatever changes i made in about:config, after a restart of ...
-1
votes
0
answers
37
views
'nautilus' command not working
ever since the last upgrade of ubuntu, nautilus has had issues. after entering the command:
$ nautilus
I got the following:
** Message: 22:44:58.325: Connecting to org.freedesktop.Tracker3.Miner....
-2
votes
0
answers
51
views
How do I revert to the old microcode?
Ubuntu 20.04 is installed.
A new microcode was uploaded with the update. How can I learn the old microcode? And how can I revert to the old microcode?
Hello
since one of the containers is connected ...
0
votes
0
answers
42
views
`ldconfig` not found on any `apt-get install`, `upgrade`, etc commands. `PATH` seems to be set correctly for su
I'm getting this error when I attempt to install anything with apt-get install:
dpkg: warning: 'ldconfig' not found in PATH or not executable
dpkg: error: 1 expected program not found in PATH or not ...
0
votes
1
answer
65
views
Why does disk management tool show the same values after I deleted 700GB of files
I wanted to install Ubuntu 24.04 next to the windows 11 on a Dell XPS 17 9710 (equipped with a 2TB SSD). As I don't want to format the whole C drive, partition and reinstall Windows 11 and then Ubuntu ...
1
vote
0
answers
20
views
Ubuntu VNC failing to connect after Nvidia driver update
I am using Real VNC to connect to an Ubuntu 18.04 desktop. Yesterday, I updated the Nvidia drivers to version 535 and ran sudo reboot. Since then, however, I am unable to connect to the desktop, with ...
1
vote
0
answers
57
views
Why doesn't iostat show any I/Os for 2 mins?
I'm logging iostat every second (and writing to /tmp to avoid interference with any Disk) with the following command:
iostat -ymtxz -p sda,sdb,sdc,sdd,sde 1 270000
During a time window when the write ...
0
votes
1
answer
49
views
Jetson TX2 is unreachable over ethernet
I’ve managed to connect my TX2 Developer Kit ( Ubuntu 18.04 installed with JetPack 4.6.5 ) to my laptop ( Ubuntu 20.04 ) with ethernet cable but neither I can ping or connect via SSH. These are the ...
0
votes
0
answers
21
views
Internet connectivity: Windows 11 host, Ubuntu 22.04 VMware client, two identically configured computers behave differently
I have two Windows 11 machines, each with VMware Workstation 17 Player and each with a virtual Ubuntu 22.04 client OS loaded and running. I can ssh from one virtual client to the other and transfer ...
1
vote
0
answers
44
views
Installing GRUB in chroot to create bootable ISO
I would like to make my own live system. I have already setup a chroot environment in /home/live/chroot, but could not figure out how to install GRUB to make a bootable iso file.
After some thinking, ...