/r/Ubuntu
The Ubuntu community on Reddit
The Ubuntu community on Reddit
This subreddit is for support for Ubuntu.
Getting started
Download Ubuntu 24.04.1 LTS fast torrent download (recommended) or direct link.
Ubuntu 22.04: Frequently Asked Questions
Windows refugees, start here
Rules
Support resources
Documentation
Flair
Ubuntu Members and employees of Canonical have emblems next to their names, indicating their affliation. Members are distinguished by a small Ubuntu logo next to their names, Canonical employees by a purple "O", a portion of Canonical's logo.
To apply for flair, please see here.
Subreddit CSS
The CSS on /r/Ubuntu is an on going development keeping up to date with the latest Ubuntu Unity theme.
Code can be found on Github
Any issues can be reported here
Additionally, feel free to message us if your (non-spam!) post is accidentally trapped in our spam filter, and we'll sort it out.
/r/Ubuntu
Hello,
My Ubuntu Jammy, would like upgrade Python but fail.
Do you want to continue? [O/n] O
(Reading database ... 375728 files and directories currently installed.)
Preparing to unpack .../python3.12_3.12.8-1+jammy1_amd64.deb ...
Unpacking python3.12 (3.12.8-1+jammy1) over (3.12.7-1+jammy1) ...
dpkg: error processing archive /var/cache/apt/archives/python3.12_3.12.8-1+jammy1_amd64.deb (--unpack):
trying to overwrite '/usr/bin/python3.12', which is also in package python3.12-minimal 3.12.7-1+jammy1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Preparing to unpack .../libpython3.12-stdlib_3.12.8-1+jammy1_amd64.deb ...
Unpacking libpython3.12-stdlib:amd64 (3.12.8-1+jammy1) over (3.12.7-1+jammy1) ...
dpkg: error processing archive /var/cache/apt/archives/libpython3.12-stdlib_3.12.8-1+jammy1_amd64.deb (--unpack):
trying to overwrite '/etc/python3.12/sitecustomize.py', which is also in package libpython3.12-minimal:amd64 3.12.7-1+jammy1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/python3.12_3.12.8-1+jammy1_amd64.deb
/var/cache/apt/archives/libpython3.12-stdlib_3.12.8-1+jammy1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
What is best practice ?
Thanks
What are upgrade paths from 23.04 lunar to 24.04.x current LTS (do-release-upgrade, update-manager do not offer an option)?
So I've been admining various linuxes for a long time so I'm not a newb, I just haven't often done in place upgrades from ubuntu release to subsequent ones.
I'm fully aware I should back everything up regardless and that it's quite possible to just wipe a disk partition and install the new release fresh then manually try to restore /home and other locally curated files manually ad hoc to get much of the user documents data restored.
In this case I have one big "/" partition / FS which contains pretty much everything (OS and /home and other such data) in one FS (except /boot, /boot/efi etc.) which doesn't make it as easy to wipe "/" and not touch /home etc.
I really don't care much about the OS particulars though the rough package selection pertaining to the desktop environment etc. would be nice to "keep but update" and also even more than that there's all the usual /home/username/.config and such user settings / preferences files and state wrt. cinnamon, desktop preferences, nautilus / other file manager preferences / settings / shortcuts, firefox & chrome profiles / settings, etc. etc. which would be a rather annoying to have to lose and recreate if I'm going to just get 18 months newer versions of the same software installed and there may be backward compatibility / forward migration options that are seamless.
So am I missing out on something in terms of ubuntu OS ecology innate update paths or is the "there is no migration option from lunar to 24.04.1 LTS" message from the aforementioned software tools the alpha and the omega of what ubuntu's innate options are about this?
More specifically I've always been a bit fearful about how to restore an old /home/username directory from a system one was happy with a year or two ago onto a newly installed OS and then not really know if all the typical user desktop / application settings and scripts and data contained in there is REALLY "just like magic" forward compatible to 1-2+ year subsequent variants of the "same" applications (cinnamon, kde, libreoffice, gnome, whatever one has) or whether some structures / data / settings got deprecated / EOLed and will actively cause problems if placed into a "new" OS /home directory or if some things need to be actively translated / remapped (possibly manually or via non-automatic restore / update processes). And it's a topic I've seen VERY little mention of on LINUX over the years though I guess delving into the sysadmin depths of 40 different user applications / frameworks would yield particular answers in particular cases.
So in that respect IDK what ubuntu's "update-manager" et. al. even DOES to cause an "old installation" to be "updated" beyond the obvious "install all the corresponding new packages and their dependencies, remove obsolete old packages, try to merge in user customized system settings files from /etc and such". But updating all the user /home desktop state / settings etc. it's much less obvious if it does anything even when it works and if so, what?
Browser (chromium, firefox, chrome) profiles are kind of self contained and self-managing. Similar with thunderbird, and some other things. But all the other more desktop / session / environment / office / theme / accessibility etc. stuff is much more opaque and "touches" much more of the not self contained system package version / library / etc. stuff wrt. versioning / schemas / directory structures and whatever.
Not a huge deal. I can just nuke it and start over with restored documents but I'm just trying to ease the pain and keep on top of updates given the "new" 24.04 LTS if possible until I switch to something else as an installation / partitioning / OS devops scheme.
Hi Team,
I have Ubuntu 24.04 with nautilus and samba installed. The folder already have the green share icon.
I have followed youtube and google instructions on how to get it fix but nothing.
I edited smb.conf with all possibles ways but Windows see a "HOST" folder that I can also see in Ubuntu
but when I try to connect to it I have error code 0x80070035.
I would like some help on this matter, I've been dealing with this almost 2 days and nothing.
Thanks team.
New to Linux and I'm on the latest LTS version and the sound on speakers, even at max, even at beyond max is way too low. I can barely hear it. Messing with pavucontrol did not work either. This is not leaving a great impression.
Does anyone know if there is a difference between the Steam Snap or the .deb downloaded from the Steam website? I have no problem with snaps in general but I want to install the best version of Steam.
After I login it instantly brings up the login screen again. I am able to open the terminal by using Ctrl alt f3 and login fine there but the GUI just keeps looping.
I have tried:
ls -ld /tmp
in which it has all permissionssudo apt update
sudo apt-get -y dist-upgrade
sudo apt-get -y autoremove
sudo apt-get -y clean
reboot
5. sudo apt-get autoremove
sudo apt-get autoclean
6. Systemctl doesn't seem to see xdg-permission-store
Please any help is greatly appreciated.
I am not sure what causes this but I am desperate for help here losing all of my configuration on this laptop will really suck. And potentially cost me money.
I come from the Enterprise 'nixes (RHEL, Cent, Alma, etc). And I really need some help understanding the out of box firewall config on 24.04 LTS.
I've read some online forums but nothing explains what I am seeing here. :\
Clearly iptables is running:
iptables -L -v -n
Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain FORWARD (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
0 0 DOCKER-USER 0 -- * * 0.0.0.0/0 0.0.0.0/0
0 0 DOCKER-ISOLATION-STAGE-1 0 -- * * 0.0.0.0/0 0.0.0.0/0
0 0 ACCEPT 0 -- * docker0 0.0.0.0/0 0.0.0.0/0 ctstate RELATED,ESTABLISHED
0 0 DOCKER 0 -- * docker0 0.0.0.0/0 0.0.0.0/0
0 0 ACCEPT 0 -- docker0 !docker0 0.0.0.0/0 0.0.0.0/0
0 0 ACCEPT 0 -- docker0 docker0 0.0.0.0/0 0.0.0.0/0
.... (Truncated)
However, there is no iptables service, only this "UFW" service:
systemctl status ufw.service
● ufw.service - Uncomplicated firewall
Loaded: loaded (/usr/lib/systemd/system/ufw.service; enabled; preset: enabled)
Active: active (exited) since Thu 2024-12-05 22:42:02 UTC; 2min 6s ago
Docs: man:ufw(8)
Process: 3254 ExecStart=/usr/lib/ufw/ufw-init start quiet (code=exited, status=0/SUCCESS)
Main PID: 3254 (code=exited, status=0/SUCCESS)
CPU: 1ms
Dec 05 22:42:02 nyc-colo-passwd systemd[1]: Starting ufw.service - Uncomplicated firewall...
Dec 05 22:42:02 nyc-colo-passwd systemd[1]: Finished ufw.service - Uncomplicated firewall.
Fine, great. I run ufw status and it says nothing is running...
~# ufw status
Status: inactive
But really I just want to discover how iptables is started so I can stop and disable it.... So I try to stop the UFW service because it is the only service in systemctl that looks remotely related to anything firewall (and there is no iptables service) and despite "ufw status" reporting "inactive", everything I've gathered states UFW manages iptables and since there's no iptables service I figure lets give it a try:\
# systemctl stop ufw.service
# systemctl status ufw.service
○ ufw.service - Uncomplicated firewall
Loaded: loaded (/usr/lib/systemd/system/ufw.service; enabled; preset: enabled)
Active: inactive (dead) since Thu 2024-12-05 22:48:03 UTC; 6s ago
Duration: 6min 780ms
Docs: man:ufw(8)
Process: 3254 ExecStart=/usr/lib/ufw/ufw-init start quiet (code=exited, status=0/SUCCESS)
Process: 3269 ExecStop=/usr/lib/ufw/ufw-init stop (code=exited, status=0/SUCCESS)
Main PID: 3254 (code=exited, status=0/SUCCESS)
CPU: 2ms
Dec 05 22:42:02 systemd[1]: Starting ufw.service - Uncomplicated firewall...
Dec 05 22:42:02 systemd[1]: Finished ufw.service - Uncomplicated firewall.
Dec 05 22:48:03 systemd[1]: Stopping ufw.service - Uncomplicated firewall...
Dec 05 22:48:03 systemd[1]: ufw.service: Deactivated successfully.
Dec 05 22:48:03 ufw-init[3269]: Skip stopping firewall: ufw (not enabled)
Dec 05 22:48:03 systemd[1]: Stopped ufw.service - Uncomplicated firewall.
Okay great. Its stopped. Does that turn off IPTABLES?!!!?! nope!
iptables -L -v -n
Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain FORWARD (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
0 0 DOCKER-USER 0 -- * * 0.0.0.0/0 0.0.0.0/0
0 0 DOCKER-ISOLATION-STAGE-1 0 -- * * 0.0.0.0/0 0.0.0.0/0
0 0 ACCEPT 0 -- * docker0 0.0.0.0/0 0.0.0.0/0 ctstate RELATED,ESTABLISHED
0 0 DOCKER 0 -- * docker0 0.0.0.0/0 0.0.0.0/0
0 0 ACCEPT 0 -- docker0 !docker0 0.0.0.0/0 0.0.0.0/0
0 0 ACCEPT 0 -- docker0 docker0 0.0.0.0/0 0.0.0.0/0
.... (Truncated)
# lsmod | grep iptab
iptable_filter 12288 0
ip_tables 32768 1 iptable_filter
x_tables 65536 9 ip6table_filter,xt_conntrack,iptable_filter,nft_compat,xt_addrtype,ip6_tables,ip_tables,xt_MASQUERADE,arp_tables
Well that's just great. I've been using *Nix for 25 years, have experience with many commercial as well as open source software distributions and I can't (quickly) figure out something that's meant to be simple like locating & stopping the firewall service... Yes I can go parsing through start scripts and follow the dependency tree and figure out where the firewall service is being hook'd into so I guess this is more of a rant than an ask for help but just WTF.... Honestly.
Yes I'm only using Ubuntu LTS because I have to for a one-off project. Will go right back to true enterprise linicies .
Hello guys, my laptop has a lot of issues on linux due to the nvidia card. I tried many different distros, and I noticed that my laptop is supposed to be certified on ubuntu: https://ubuntu.com/certified/202309-32039
but here it's says that it has a special iso image, will that change a lot? Does anyone that has the same hardware as me managed to make it work with linux? Basically the issues I have are freezing and artefacts, due to the GPU.
Is there a way I could acquire this custom image? thanks for any help.
I just got this thinkpad at a great deal, but it comes with W11 be default. Is it safe to use U24.04, i did a search on this sub and found some mixed opinions. Has anyone had any luck ?
I am traveling right now for some month and use my phone data as hotspot for my ubuntu notebook. But every day it loads 1GB and more and i dont even know what for. Ubuntu is literally not useable for me. I did set it to a metered connection so it shouldnt load updates, but like 2 minutes after i opened firefox it age another 1GB of my precious data.
Also its dead annoying that it asks me almost every day to upgrade ubuntu, even though i have it on my setting to never ask for updates. Every few days it wants to do like 260mb security update. So disturbing data hungry.
The second thing is i want to use veracrypt to open old backups of fotos. I spend many houres to figure out why it wont let me install it. Its because Ubuntu supports libfuse3 and vera only accepts libfuse2. So downgrading my libfuse would brick my desktop according to some post i read.
I wanne leave windows because i hate bill gates, and i am to poor for apple vD, i just hopped ubuntu would make me a less hard time to atleast like it.
Hi,
SSH server config file as provided by Ubuntu Server 22.04 package management has listen address line:
ListenAddress ::
What is its semantic?
Line is placed in comment hence out of effect. It is also preceded by line
ListenAddress 0.0.0.0
Do these two lines need be together to get their function?
If there is a need to limit the range of addresses fot SSH server to be listening on does the config modification need also the line "ListenAddress ::" ?
Hello guys so I just installed latest Ubuntu and I put it a sleep after a while I turned it on but facing graphical defects and lagging and slow performanceand sometimes the system freezes for a while I'm using Asus rog g751jl that come with only nvidia GPU and core I7 4720hq
Hi. I have an Intel box (10i7) running Ubuntu 24.04.1 lts. Edit-: Wayland
When I RDP into the machine it seemingly works from the Windows end, but all I get is a black screen.
I have a similar setup with another Intel machine that works perfectly.
I have tried uninstalling and reinstalling anything related to RDP on the machine with the RDP black screen without success.
Is there a more foolproof way in terms of uninstalling and reinstalling or editing a config file that I can get RDP working again without just reinstalling everything again?
I did upgrade this box from 22.04 to 24.04 a few months ago and I was hoping it would fix RDP but didn't...
Thanks.
Edit -- I gave up with messing around with Ubuntu and I installed Nomachine and it was an amazingly simple fix that works 100% of the time.
Created .theme folder in home directory and tried to apply from gnome tweaks and user theme but not working
Hi all,
I cant find proper info on that case - do Ubuntu actually can use the security capabilities of the chip or not? And if it can - how to achieve that, as i think its way better then TPM1.2/2 as implementation..
I found that you can't replace a Case (for example a per A or viceversa) in a folder or file name, it says the name is already in use. I would report in to Nemo directly but I don't know where to do it.
Hi,
I was trying to encrypt a folder which contained some important information, I installed Encryptfs
for this. It seems that I messed up something and encryptfs ended up encrypting my whole /home/
directory.
To make things worse, I ended up deleting the /home/.encryptfs/
directory.
I realized the mistake and somehow managed to recover the deleted files using PhotoRec
. I have these recovered files saved in an external hard disc.
How can I decrypt this and access data from my home? Encryptfs didn't ask me any passphrase while encrypting the files, so I don't know how it will decrypt the files.
Hi folks. I have installed Zorin OS on my Chromebook. Chromebooks don't have an Fn key or a Delete key. And I sorely miss the Delete key while using it.
Is there any way to configure Super + Backspace or Right Alt + Backspace as the delete keys?
ubuntu 22.04
I'm planning on uninstalling Windows and install Ubuntu on my gaming laptop. But I'm not sure if the drivers are readily available and also if there are software like the pre-installed ones that monitor/manage the CPU and GPU.
Can anyone guide or share resources/links for the same please?
Edit: The current setup is AMD Ryzen 7 with RTX 4060, if that helps.
Trying to debug a WM issue so I killed lightdm service and logged into tty1. X doesn't print any obvious reason for this problem. I have an .xinitrc that works when I launch X from lightdm.
I am having trouble connecting my JBl tune buds to my laptop. On ubuntu 20.04-based linux lite on broadcom adapter it connected fine. But now on this new laptop i can visually connect to headphones with normal menu, but they do not exit the search mode, and do not show up in audio out. I installed blueman, and while in search, there is no connect option for them in right click menu, and if i connect via double-click, it also shows connected, but all signal bars are maxed out which does not seem correct, and buds also do not register connection on their side and do not show up in audio devices. I also tried connecting via console bluetoothctl, and while i can pair, i cannot connect as it either says that device does not exist (if i use mac that i pair with) or times out if i use the newly reported mac
Wifi on same adapter works just fine though. What could be a problem?
Inxi info: https://pastebin.com/9msbrgwe
UPD: After some tinkering i found that changing ControllerMode to bredr in /etc/bluetooth/main.conf and restarting bluetooth service helped both problems. Why it did though - i have no idea
I’m looking for an emulator that will work on my le potato that’s running Ubuntu 22.04. Any help would be appreciated EDIT: le potato is aml s905x cc I want to emulate game boy and game boy advance games
Hallo zusammen,
ich habe ein Problem mit meinem PC, bei dem er nach etwa 15 Minuten Nutzung einfriert. Die Maus lässt sich zwar noch bewegen, aber keine Eingaben werden mehr akzeptiert (keine Reaktion auf Klicks oder Tastatureingaben). Ich muss dann einen manuellen Neustart durchführen, um ihn wieder zum Laufen zu bringen. Der PC stürzt nicht nur ab, sondern lässt sich erst durch einen vollständigen Neustart wieder starten. Dabei scheint es sich nicht um ein Hardware-Problem zu handeln, da die Komponenten funktionieren und keine ungewöhnlichen Geräusche oder Fehlermeldungen auftreten.
Hier sind ein paar Details: • Das System läuft mit Ubuntu. • Ich habe versucht, den RAM zu testen, und es gibt keine Fehler. • Die CPU-Temperatur wird überwacht und scheint in Ordnung zu sein. • Beim normalen Arbeiten oder intensiveren Nutzung zeigt der PC die Symptome.
Ich habe bereits einige grundlegende Schritte durchgeführt: 1. Das System wurde auf Fehler überprüft (kein Ergebnis). 2. Verschiedene Anwendungen und Prozesse wurden getestet, ohne dass der Fehler behoben werden konnte.
Hat jemand eine Idee, was hier die Ursache sein könnte? Und wie kann ich das Problem beheben, ohne auf umfangreiche Neuinstallationen oder Reparaturen zurückzugreifen? Ich bin für jede Hilfe oder Tipps dankbar!
Danke im Voraus!
Hello there. I recently installed Ubuntu and Im trying to learn a lot about how to use it. The problem I have is that, despite having 500gb available in disk, programs like Steam tell me there is 50gb or less. Afaik, Ubuntu creates partitions with specified space available. I think my mistake was assigning the default value for partition space when installing. What can I do to have all disk space available?
I have been using arch Linux for the past 2 years now and i have ran into a lot of problems with stability and packages i either break the system by downloading a malware on yay (AUR) and i don't know which is the best stable system i asked dell support and they said Ubuntu and fedora if anyone could help me choose
Trying to install Ubuntu on an early 2014 Macbook Air & the trackpad will freeze before I can even select the USB drive. Unsure how to proceed without an external keyboard as I only have 1 working USB port, other than to buy a dongle.
Hi, since yesterday I started having a problem with the Ubuntu 24.04 terminal, the terminal runs and opens the window but doesn't show anything... it doesn't even let me write commands... I need help.
I have a Raspi 5 with Ubuntu 24.04.1 installed on it. I'm using it as a desktop replacement in my garage. It works fantastic for this purpose except for some reason I can't watch Netflix on it. Something about Widevine? The errors differ depending on the browser I use.
Anyway, I did some searching online and tried all the various browsers such as Chrome, Chromium, Firefox, Brave, and all of them give me an error when I start to try to stream a show. I went through the various security settings within the browsers and tried a few changes but the end result was always the same.
Is there some deeper issue here that is beyond my skills? I'm fairly handy with computers but this one seems like a roadblock every which way I try. Thanks!