What is your experience with Archlinux regarding stability?
Good morning archers,
In my almost 10 years using Arch (wow that goes fast), I don't remember a single time it just broke on me. At least not after an innocent upgrade. I have broken it a few times, but it was entirely my fault and I could always rollback a snapshot.
Sometimes people say that Archlinux can be quite unstable, hard to maintain, etc. I know it depends on many factors, but based on my experience:
- If pacman complains about something > go to the Archlinux frontpage, read the news and fix it.
- Let it roll again for years.
I would like to know what your experience is with Archlinux regarding its stability.
Edit: Thank you very much for your experiences! It’s really nice to hear all the stories and feedbacks, I really appreciate it. As a few users have pointed out, what I called “stability” should be called instead “reliability”, for precision’s sake.
Edited 27 Feb 2019. We only hold this version.
About this post
- Posted
- Archived
- Edited
- Score
- 122 · 100% up
- Kind
- Text
- ID
- avba64
165 comments
Arch is likely the most stable and most reliable OS I have ever used in the last 25 years (and that includes Mac OS 9).
Same here. My anecdotal experience has been that everything manages to break in Windows, macOS, other Linux distros because they tend to ship massive updates in clusters. Contrast that with Arch where I have slightly more frequent but much less severe breakages where I can resolve the issue before the next one comes along and sits atop it.
Yeah. If you read the news often to check to see if manual updates are necessary, breaks are quite unlikely from my experience.
Also, breaks are usually minor, eg. one part of a program won’t work until you add a line to a config file or uncomment something.
Im just in my first year. My first attempt broke after first update -Syu I than changed my setup in a new attempt. What i changed was: i mainly use official repo packages. No aur packages. At least at a minimum and manual install without automated install scripts. I gained more understanding how to install and configure packages. Now im on the newest kernel and no fixes needed. Haven't touched liveusb ever since this second attempt. Im still learning a lot but yeah.. I'm quite happy to be on bleeding edge and it's quite reliable.
When I first started using Linux I was deterred because everyone said how easy Debian based distros were and how easy to break things like Arch and gentoo are. But even the 'easy' distros had a ton of problems.
For a brand new user, on the laptop I was on, Debian was the worst. Half the things didn't work. Ubuntu took a guide or two. Mint worked pretty well, but again. Needed a guide.
Arch? Worked perfectly out of the box. Anytime something that I needed to compile on Debian based distros, while easy, still required a guide for me to know what to do. Arch already had it in the repo and just needed the one line to install.
I learned so much with Arch and it was incredibly easy. The only thing was with me I needed a guide to do the install because I knew nothing about Linux or anything really about file systems in general.
Same.
First things first: Stable vs stable: what 'stable' means in software
I think the term you are looking for is "reliable".
Stable is where you keep horses. Arch is a wild beast, can't be kept indoors.
“Solid” or “reliable” it is then. Thanks for the link!
So in that sense Arch is incredibly unstable, because stability just isn't a goal of (and is at odds with) a rolling release. The flip side is that stable distros (like Debian) tend to be incredibly boring and don't get the latest and greatest pieces of software.
I also find it hard to understand Arch from a "reliability" standpoint, because at the end of the day Arch packages anything that's popular and not terrible with limited/no modifications to the upstream source (generally only the bare minimum of what's required to fit inside Arch's filesystem standards and such). So the "reliability" of your system really has nothing to do with Arch as a whole, but is more about what pieces of Arch you pick and chose to build your system. For example if you are building a desktop system and you pick KDE or Gnome, both are going to offer different reliability experiences, but that has little to do with Arch.
You are looking at it the wrong way. Linux breaks all the time. Distro specific parts break rarely, because no matter what distro it is, you are using same programs.
So, if linux kernel breaks after update and your pc doesnt boot anymore, its not the fault of distro, its the fault of kernel developers, same goes for bootloaders, desktop environments and any other software part.
Distros try to create testing packages, so that there would be less chance of breaks in "stable", but if it breaks, its not the fault of distro.
So, what parts of distros are actually distro specific ? Configuration of packages - yes, but in case of break, the fault would fall on shoulders of package developers for providing options that break the package. Maybe package manager, but thats about it.
Thanks for the article! That really helped. When I first started using Linux on my desktop I got confused why I was supposed to get the LTS version of Ubuntu instead of stable (I got insulted a lot for that on the Linux discord server :/).
Arch is as stable as the software you install on it. Proprietary driver, complex desktop environments, and some other corner cases like large Python projects tend to break a lot, since Arch does not go out of its way to do the developers' job for them.
Oh shit, dropping truth bombs in here.
The base system rarely breaks (the systemd/udev thing recently would be one example). What people often see as "My Archlinux is broken!!1oneeleven" are usually complex things like X in combination with closed-source drivers and whole desktop environments with upstream bugs.
Similarly the Windows kernel rarely ever breaks, but it's complex things like the Windows window manager in combination with closed-soirce drivers and the Windows desktop environment that breaks regularly.
Stop being ridiculous. The distinction you make may cause the system maintainer to dance happily, but us users don't experience any kind of euphoria.
Neither X nor closed-source drivers are an integrated component of Arch, so I’m not certain what you’re on about. If additional software breaks, then that isn’t necessarily Arch’s fault.
But if x breaks on arch, you can just hit Ctrl alt f2 and still have a working os.
Arch has broken many times for me... Or by me. One of them.
I have a laptop that is fairly reliable, everything is assembled mostly to the wiki. Works fine unless theres a GNOME update or a GPU update that it is not happy with. This is the machine I use for work, at work, every day.
I also have a desktop, which I break almost every fortnight, mainly due to my non-standard configs, nonstandard fs managers, using the old old old plymouth-gdm for booting off of fullldisk encryption (and not upgrading it), and trying to experiment with things far beyond the wiki.
“Broke” means “Need to be reinstalled, every hopes are lost” (no data were harmed tought!).
I broke ubuntu 3 times in 3 years
I broke debian 1 time in 6 months
I didn't broke mint or fedora in 6 months each
I didn't broke arch once in 7 years
Arch is the most stable distribution I used.
I believe a large part of that is due to having a better understanding of your OS on Arch by default; you know how to reinstall the bootloader, re-generate the kernel/initramfs and fix other issues by chrooting in from a live ISO because you already did all of that manually during the installation.
The way I break a system is by intalling stuff and modify configurations until I can't anymore. I wasn't able to do so on arch, even if I'm using AUR since the beggining. PPA and manual install on debian/ubuntu weren't such a happy story.
I've had exactly the same experience as you.
Ubuntu's / Debian's filesystem organization is a bit less logical than Arch's. A bunch of config files are elsewhere and many config files are generated by custom Debian utils. I hate those with a passion. Arch's simplicity is godsent after fucking around with that shit.
Not to mention that Arch Wiki is way better than Ubuntu / Debian and Arch forum users seem to be more knowledgeable on average.
Other arch users knowing what is up is what held my system together for years.
Sorry if I'm coming off as a dick, but here are some grammar/spelling corrections:
no data was harmed though
I didn't break
Arch is the most stable distribution I've used.
Thanks
I'm using Arch since 2010. Linux since 2004. Arch is the best distro for me for desktop, stable and reliable. And, of course, latest and greatest software is important to me. On my little Orange Pi PC server I use Armbian (set and forget).
I really don't know how to completely destroy an Arch system like some people do and then they share their negative experience everywhere, spreading incorrect information because of their ignorance, incompentence, lack of patience or whatever.
Arch is awesome.
Same here using it for almost 10 years. Reinstalled only once, due to file system corruption in a btrfs root fs caused by hardware (memory) errors. Best OS ever.
Ouch, filesystem corruption is one of the worst issues than can happen. Could you restores it somehow at least, or did you lose data?
Arch still booted, only after some time btrfs always reported errors and switched / to readonly. So I could copy files from it and I also had backups.
After that I switched to ext4. I never used the advanced features of btrfs anyway.
Instability of Arch is related to the bleeding edge of package management. When a new version of a package is installed, other packages depending on it are likely to be broken, at least until fixed.
I use Jekyll to build a static website and it's been broken most of the time due to it being dependent on
PythonRuby. As a result, I'm not always able to use the software I need.You can blame that on Python having an absolutely atrocious and dysfunctional approach to package management, the only sane way to use it by wrapping every python tool in its own virtualenv, regardless of distribution or OS.
A lot of languages have this problem. At least Python's solution to it (venv) works very well.
While I agree that Jekyll is wonderful and often breaking, its main problems are because of Ruby (not python!) and the fact that it needs really old versions from all of its dependencies.
I really wish they'd make a new release with bumped dependencies so that I can remove all that stuff and can follow the repository versions again.
You're right. Python updates broke Reddit Terminal Viewer for me. And then there is the current qt5 incompatibility with Mendeley. Just goes to show how many different issues there are.
The most stable distribution I know. Seriously.
The only thing you have to watch out for, is to read the news before doin upgrades, so you know if there's something officially broken/needs intervention. But other than that I have never once had an issue with arch stability or upgrade stability since 2009-ish.
edit: have been running about 30-ish arch linux servers in production use for about 3 years. those were critical systems, any downtime could mean an irreversible loss in data. And I explicitly chose Arch because of that.
Debian and Ubuntu are a freaking mess in that regard, and CentOS kinda works, as long as you don't manage to confuse yum.
Serious question; How often do you pacman -Syu? and how do you handle production updates. Do you have pre-prod environment that you test any new packages?
Depends on the use case. I have to work with 2 scenarios:
a: Machines that are directly accessible from the web, mostly standard nginx/mariadb/php stuff, or mailservers. Those get updates every 2-3 days. Reboots for new kernel early in the morning, successively. If something breaks, I rollback to the backup from the day before.
b: Machines that are very purpose-built for automated AV-Capture in a university. They will be updated 1 week prior to the semester starting, and testet thoroughly. Won't be updated at all until the semester, and thus all scheduled recordings, is finished. We can do that because these machines are in a tightly controlled network with no external access. We absolutely cannot afford breakage there, and as long as the machines are running fine, there's no point in updating them (risk/benefit)
Arch news are important, and very well explained, but I also feel that I never really had to read them before any upgrade. It would definitely be safer, but I usually read them only if pacman complains about something.
I run Arch on servers because I can run the version of software I want and they are properly integrated with the system. I tried CentOS but I had to dump it because the versions I wanted wern't available.
Arch is unstable, basically by definition. This doesn't mean that it is prone to breakage but that the packages are updated frequently, minor updates are released, etc.
To answer what I think you're asking: Arch has broken badly for me exactly once in five years, and maybe two or three times in fairly minor ways (i.e. it still boots but something no longer works, like my WM or WiFi). This is a much better track record than any other OS I've used.
Yes, I have misused the word “stability”. “Solid” and “reliable” really mean what I was thinking when asking this question. Thanks for pointing that out!
I started with linux mint, moved to crunchbang (debian based) tried 2 other debian based distros, then tried Arch, I found arch more stable than all the others mentioned and the software is much more up to date.
The only serious, system breaking issues I've had with Linux desktop distros have all been Nvidia / display related. It's always bloody Nvidia, X, Wayland and subsequent kernel monkeypatching when it comes to breaking my user experience. Systemd is also an annoying thing to use.
You may want to give AMD a shot if you want excellent Linux behavior and performance. The
amdgpudrivers are official and open source, and they are an absolute blessing.Too late, I bought a 1050ti a year and a half ago...
AMD drivers have gone from infamous to reputable in such a short time.
Pretty stable, but sometimes WiFi breaks or I do something dumb and other things break
Those cases usually led me to learn something new from the wiki, which is just amazing.
Yeah, ive learned a lot just by using arch
The only time I ever really had Arch break was when a systemd update stopped my laptop from shutting down gracefully after a -Syu. The machine hung up before unmounting the root filesystem and XFS couldn't recover the journal. xfs-repair blew away hundreds of recently written files, corrupted pacman’s database and I had to manually reinstall a lot of packages from a boot disk chroot just to get it to boot to a login prompt again.
I imagine most people would have wiped it and reinstalled the OS in that situation, but I like to know why things break.
Interesting story, something similar happened to me upon shutdown, and got fixed upstream a few versions later. I didn’t suffer any corruption issue, thankfully, and could rollback a snapshot until fixed.
I run a lot of kernel modules. Before all my bug fixes they were quite unreliable and would crash the reboot before sync. I made a package for that: pacman-sync.
My installation Arch KDE in a desktop is going to complete 2 years, and still no problem.
But I don't use AUR, nor do I have external GPU, nor second screen, don't hybernate / suspend, so I cannot talk for all cases.
EDITED: - I forgot to say I have selected LTS Kernel.
Now that you mention it, suspend and hibernate have never really worked well for me on any machine (all with AMD GPU and latest amdgpu driver). That is probably not an issue with Arch alone though.
It isn't. Linux has never been good at sleep states.
My biggest issue has only been with graphics breaking. I have NVIDIA graphics though. On a Thinkpad running intel HD graphics with open source drivers I’ve had zero issues with anything!
AMD is also excellent for this reason. Full performance and open source drivers that play nice.
My next computer will be all AMD for this reason.
The biggest incident I had was with the consolidation of /bin /sbin /usr/bin and /usr/sbin. If you didn't symlink them before the upgrade, your system was fucked. I didn't know about this and my system got fucked. I asked about this and people were just like "You should have read the newsletter."
I shouldn't have to read a newsletter for my computer to not kill itself. That was completely unacceptable. However, I can't say I've had many issues since then. But I still get a bit of anxiety every time I do an update.
My Ubuntu system incidentally was mostly fine until 18.04. 18.04 started to break itself every once in a while, including midway through it's installer once after I had to reinstall after it broke itself. Not impressed.
You could add a script to your bash to change color or notify you when there are either newsupdates or when it has been a month since your last update. Then you wouldn't have to check the arch-site for each update. However, there is rarely any news since there is rarely anything you should do before an update :)
That is a nice idea, what solution do you use to check for news before an update?
It had turned me down a few times, but totally my own fault. As time goes by and I learn more about Linux, I have fewer crashes and fewer problem. I wish I had started with Arch 10yrs ago :) Or just Linux in general, really.
EDIT: The only thing I need now is to know how to keep my system lean. I have a feeling there are several places where bloat is mounting up, but I don't know where to look. Until now it hasn't been a problem though. I sometimes delete old packages and old dependencies which are no longer needed - but apart from that I don't know what to look for.
Use paccache -r or paccache -rk1... Clears old packages. More on: https://wiki.archlinux.org/index.php/pacman Under "Cleaning the packacge Cache" Paccache may take up like 3 or 4 GB only after some 10 updates
Edit: Didnt read the comment thoroughly... But perhaps this may help you.
I already use this, but thanks for your comment :) I'm just thinking I might be missing something.
It reminds me of my experience. Every issue allowed me to learn something new from the wiki. Now if anything goes wrong I usually know where to look and how to fix it. Learning Arch is really interesting.
Totally. I really used the forums the first few months, but I haven't used them for years. However, I really like to answer questions on Reddit to help others :)
Ok, First of all when people say stable they mean about version stability, this is why Debian is considered one of the most stable distros out there. Arch is NOT stable, you wouldn't want to run Arch on your server because the version of nextcloud you have downloaded from git might break with the upgrade to the next version of PHP or something.
That being said, for personal use Arch Is really reliable, I've used it for 11 years and the only case I remember an upgrade breaking something was when KDE required an old version of libpng for a few days so I didn't had a wallpaper.
idk, I'm using Arch on two servers
Just setting to the LTS kernel, use Docker for everything and create snapshots before a upgrade
Way better than my previous Ubuntu installation which broke during the upgrade because I used a newer python version via a PPA
Or Debian which sometimes run into the issue that some packages just drop support on Debians old versions (Recent lets encrypt certbot comes to mind)
Sure, but in your case you're only running docker on Arch, as long as that doesn't break you're fine, and since docker is installed via official repo the chances are it won't.
However if you were trying to run things from outside the repo you would run into those problems, e.g. NextCloud or Wordpress, which can easily break when jumping major versions of their requirements.
Debian breaks my nextcloud instance constantly.
Same for me, using Arch for some few years sometimes you can face few issues but nothing to painful, just check the front page and try to update frequently. In addition you will find a great support within the forum.
Exactly, and the wiki is also a great source of knowledge for almost any kind of issue.
I live in Argentina. There is a tradition of strongly controlled exchange rates. About every ten years a crises arises because of sudden devaluation and/or its associated expectations. This is like my experience with Ubuntu-style upgrades. Arch is at the other end of the spectrum: small short term fluctuations, more stability in the mid term. I think something along the lines of Taleb's Antifragile concept applies here.
Same experience. Had fedora and Ubuntu upgrades fail and require full reinstalls. Arch major issues have been self-inflicted, but great learning experiences and system repairs not reinstalls. The big, infrequent upgrade results in more variance and fragility.
Don't do what I do. My machines are disposable with nothing important on them.
I have let my machines automatically update every few hours for over 2 years now. When i started i did it as a joke and i was going to keep a diary of everything that went wrong. Nothing noticeable or even vaguely major has ever happened. Boring.
You wrote that you checl the front page if soemthing does happen. I didnt even do that, i just ignored it until updates started working again.
Lazy shit right.
Don't do what I do. My machines are disposable with nothing important on them.
That is a very interesting experiment, I really appreciate it!
Most stable my machine has ever been. Only thing that occasionally trips is the OpenRazer daemon, and that i can live with.
I had been using Ubuntu for 3 years. It never "broke".
I switched to Arch Linux this year. It has been two months using Arch Linux for my daily use. I use XTerm as my terminal emulator, and i3wm as my window manager.
Arch Linux has never "broken" either.