Using the same Arch Linux installation for a decade
meribold.org
meribold.org
* In September 2014, X broke, and I created an `/etc/X11/Xwrapper.config` file with the lines `allowed_users = anybody` and `needs_root_rights = yes` to get it to work again. I don't remember and don't have notes on why that helped. It sure does sound like a pretty terrible hack. I don't have that Xwrapper.config file anymore, and I also don't know when I deleted it.
* In June 2017, audio stopped working, but all I had to do was add my user to the `audio` group.
* In May 2018, X broke a second time. This time I downgraded the `xorg-server-common` and `xorg-server` packages. A few weeks later, I ran another system upgrade, and this one went fine.
These weren't the only problems, but they were the most disruptive. Generally, things like TrackPoint driver updates changing how the cursor responds or Firefox changing its UI have been far more annoying than Arch Linux issues :)
This makes sure I get any arch news before potential breaking updates.
That's not the place to explain it. If they're going to require user intervention on updates, the place to do it is during the pacman -Syu itself. Better yet have a shell script that'll fix it automatically and give the end user the ability to read the source before execution.
I've also been on Arch for over a decade, and it's almost never been broken, even when I was playing with some seriously bleeding edge components. Almost always, it's been surprisingly straightforward to un-screw the few screw-ups I've made.
That's been my experience as well. With Arch, everything is exposed. There are usually no wrappers or layers of abstraction or weird modifications added to the upstream components it ships. That makes problems so much more straightforward to troubleshoot and fix.
The learning curve may have been steep but it definitely paid off in my understanding of how to maintain and fix issues going forward. And just my understanding of Linux overall.
These days I am stuck with WSL, and that sadly does not work with Arch. As far as I can tell the Arch community does not want to support WSL because of philosophical disagreement.
If memory serves, deleting some file from /etc/ fixes the issue.
Pretty much every glibc update breaks something, honestly.
Ah. I'm old. Somehow traumatic glibc upgrades were not how I expected to find out.
The systemd transition was annoying as I liked Arch’s unit system but it was just an annoyance rather than breaking change.
Recently I ran into an issue were I had to revert to a LTS kernel because the main kernel hangs during boot each time (spent hours debugging and haven’t found the culprit. But the LTS kernel is working fine so I’m going to stick with that).
Also, Nvidia gpu drivers are the worst (I was on Manjaro back then) to seeif I could get rid of Windows for gaming purposes. I used Linux for games for about 6 months and had to quit and get back to Windows.
I should retry now with all the steam deck fuss!
My fastest laptop is an oddball. It uses an AMD mobile processor with integrated graphics and an NVidia discrete GPU. Windows 10 handles that fine. Several Linux distros didn't install correctly at the time I bought it, but Ubuntu did. I'd have been okay with it installing to only support the integrated GPU, but it supports both and has a menu option for every app to launch it on the dedicated GPU. So far the only problem I've had with that whole laptop is a Windows update breaking the bootloader and making Linux temporarily inaccessible.
Did you go straight to full-on systemd when you installed it? Arch was transitioning to systemd by default around the time of your initial installation (default since Oct 2012 so you would have just missed it if you went with defaults).
Mine was a few years of cruft-accumulation in already and my init system understanding was not super deep at this point so this (together with the glib thing around the same time) is the most disruptive upgrade breakage I recall. If it doesn't show up in your top 5 I'm guessing you dodged it?
By installing from scratch at every new stable (or unstable) release, I get rid of a lot of potential security issues.
Now as an anecdote: ten years with the same install is nice but... I've got a dedicated server at OVH with 3400 days of uptime. You read that correctly. Nearly ten years of uptime. Once in a while I give temporary ssh access to people here and there just so they can type "uptime" and see. Kids: don't try this at home. Yes, it's insecure (although there's a firewall and only the SSH port open). No, it doesn't do much nor is it very useful. But it's fun to think I own one of the computer in the world with the biggest uptime.
I plan to kill it once it reaches ten years \o/
This goes for both my personal and work laptops. Both have been running some version of Debian for the last ten years. For the previous four/five years, I've been on Debian Sid, and I may run into an issue about every other year that requires me to use timeshift to go back to yesterday's OS backup.
With the proper backup and automation strategies in place, I do not see a point in not doing a reinstall periodically. It definitely gives me peace of mind knowing I can be back online and 98% percent functional in under an hour in most cases on just about every device in the house.
It is also a good test of disaster recovery.
By wiping your devices and doing a fresh install, you catch hidden assumptions.
The top 500 entries on that list are almost guaranteed to be mainframes.
> The computer system that has been in continual operation for the longest period is the Computer Command System (CCS) onboard NASA's Voyager 2 spacecraft. This pair of interlinked computers have been in operation since the spacecraft's launch on 20 August 1977. As of 29 October 2020, the CCS has been running for 43 years 70 days.
https://www.guinnessworldrecords.com/world-records/635980-lo...
That's very interesting. Your comment got me searching and I found a link here on HN: "Stratus: Servers that won’t quit – The 24 year running computer" with quite a discussion (123 comments) on the topic:
With Ubuntu I was afraid to change anything because I might break things and not know how to get back to a working state.
With Nix, you are always on a fresh, pristine system, because the file system is mostly read-only and an exact reflection of what's in your config. It's impossible to get crufty.
$ w
15:25 up 725 days, 6:06, 1 user, load averages: 1.31 1.21 1.30
USER TTY FROM LOGIN@ IDLE WHAT
andrew s000 192.168.1.200 15:25 - w
But! This is a system in my office at home. Not in a data center somewhere.I have all my machines plugged into UPSes and we have a standby whole home generator. So the only way any of my machines shut down is if I do it explicitly.
Office at home certainly beats datacenter hosted but by 5x? Not sure... ; )
(I got the generator not just for uptimes haha. Got it because we get a lot of outages and we were losing a lot of spoiled goods from our fridge. About half our neighborhood has generators of some kind.)
Also, a deep freeze that is the top loading style is best for preventing spoilage, especially if you keep all the available space full of bags or bottles of water.
I also have a makeshift "whole home" backup generator, 11.5kW/9.5kW peak on gas/propane, but only because i have a well, and the pump draws something like 4.5kW when running. The extra headroom allows me to run my 5 ton HVAC and have running water and lights and everything.
I very rarely use the mac mini. Basically just for testing. So at some point, it got to a crazy uptime and now I'm purposely trying to see how long I can go haha.
In theory the battery in UPS will eventually need to be replaced. Otherwise I don't see it ever losing power given that I have a generator
Pair that with a slightly higher (but still low overall) tech LD_PRELOAD libc shim so it hides itself and you got something just stealthy enough that you wouldn't find it if you don't look for it.
Remember, the easiest privilege escalation is aliasing sudo and patience.
I still like it that way: a good old write-once DVD, checksum'ed, and a brand new install. Ideally on new hardware but that's not always the case.
Isn't this a huge problem? Distro-preference/upgrade patterns aside, What's latest in the detection of a root-kit in the Linux desktop of an unsuspecting home user before they realize that they've been pwned(i.e. data exfiltration, ransomware etc.)? Assuming they aren't running any real-time scanners(Even if they want, Is there any real choice apart from ClamAV?)
I finally tried arch, and my long list of custom manual shenanigans was reduced to packman + aur. I'm seriously impressed, and it gave me a renewed hope for OSS.
I've used Linux, Windows and MacOS. For what an operating system does, the only flaw Linux has is due to lack of software and driver availability, neither of which has anything to do with the operating system itself. Because for what it is, and what it does, Linux and gnome is imo, absolutely excellent.
Even easier, the ArchWiki has detailed steps you can follow along at your own speed, together with links to each topic for a deep dive (which isn't required, but nice to have when you do need it). Reading through and following the "Installation Guide" + "General Recommendations" pages would take you 2-3 hours at most, and you'll end up with a fully installed and ready system :)
Things I like about arch: it's stable and up to date. It's stable because fixes by upstream developers are not being blocked by package maintainers that second guess what they are doing. I never understood this being a thing. Mostly all the experts for any software are exactly those people involved with producing the upstream source code. If they say something is stable and ready for use, it generally is. Arch mostly just ships software as is. Nothing more nothing less. Unless the upstream developers release broken and untested software, it generally is the best version of that software available. Basically, Arch does most of the due diligence on ensuring things at least compile, install, and run fine. So generally, it's fine. And if it's not, you just wait and it will be fixed. You always have the option to downgrade. I've never had to do that actually.
Arch is mainstream enough that all the mainstream stuff just works. Docker, snap, steam, etc. Between those, I can run just about anything I need to and get the best experience possible.
Hardware support is constantly improving and with Arch you have early access to kernel releases. I generally am within a few patch releases of the latest stable linux kernel. So, I get the most out of my GPU, CPU, wifi, and other stuff I have. Mostly chances of hardware working decrease with the age of the kernel. Best case, stuff works but with more stability issues and less performance on an older kernel. Worst case, you have stuff that doesn't work at all that you can't get working until your distribution finally updates the kernel. I've updated the kernel mostly without issues. On 1 occasion I went back to the previous version for a week while they sorted out some issues with touchpad support. Not a big deal.
This post made me play around with Arch last night, and specifically the installer. Having spent most of my last dozen years in Debian and Ubuntu, it wasn't as flashy or glamorous, but it got me a running system really quickly. One thing I missed was the network setup - I skipped it, and was left with a VM that had no network access. But after playing with it some, I spun up two VMs - one profiled 'server' and the other 'desktop' - and have really enjoyed the limited time I've had with them. Way back in the day, I spent a lot of time with Gentoo, and while building from scratch wasn't my jam every time (like, when novice me installed `emacs` and not `emacs-nox` and lost two days of compute time), but this scratches the itch I had for lower level control of my system but also with a little bit of shiny knobs and levers.
Installing Arch is the easy part. The maintenance is what gets ya.
Pros: Documentation is excellent. Better than even Gentoo or Ubuntu's docs.
Cons: Arch doesn't have an installer, and seems almost militantly against providing one, or a lot of other little utilities that could improve the user experience. I get the same sort of 'I suffered, therefore you must suffer, learn to RTFM noob' elitism that I saw with slackware 20 years ago. I'm a grizzled vet, I can figure this stuff out, but it doesn't help your average technically literate joe.
Updates seem to break for odd reasons. I had to uninstall nodejs to be able to do a system update. Why? There should be some sort of automated way to address this.
This just changed! The archinstall package is included on install media now and is not considered experimental (according to the wiki page history, that happened on 2022-07-08).
In my experience, Arch's main focus is on upholding a simple consistent architecture. There are tools that do something like the bare minimum required work, and then excellent documentation so that the end user can correctly perform the remaining required work manually (or via their own scripts).
As a result, there are certain features that will probably never be implemented. For example, if you wait too long between upgrades, your signing keys will be out of date. The solution is to upgrade the "archlinux-keyring" package first. Should pacman automatically do this? It would be nice, but it would also introduce a special case into pacman. Would that special case be abused to do unexpected things?
Another example is installers. Writing a basic installer for a single machine is easy. Writing an installer that covers any machine is very hard. Writing an installer that covers any machine with any configuration the user might want is impossible.
Put another way, everyone likes that Arch has up to date packages and an excellent wiki. Would either of these exist if there was a bunch of extra complexity that needed to be integrated? Is there any need for an excellent wiki if installers automatically resolve all your problems?
This is a cop out. An installer doesn't need to cover every option a user might want. An installer only covering popular options/configurations is only a problem if the installer is the only way to install the system. If it's just an option itself during the install there's no issue. The weird corner case can still be handled manually while more common options can be handled by an installer.
I though it is all about doing it the upstream way.
So, would it add a bunch of extra complexity? Not really; it's actually tiny compared to making a package manager and maintaining its library.
Would it take away from maintaining the package library? I guess a bit.
Would there still be a need for documentation? Of course.
Also, the amount of patches, workarounds and custom configuration files in most packages and maintainer scripts is just wild. Coming from more than ten years of Arch, it took me a while to learn to check the debian packaging source if upstream doesn't match the behaviour on my system.
Used it to create a dual boot on my main machine and works a charm.
I already run Ubuntu on my NUC, and when I was looking around to install on my former gamebox (i.e. computer with a graphics card unlike NUC with onboard graphics only) I wanted something with good steam/nvidia integration. It came down to either Pop! OS or Endeavor... because while I develop software I also want to play games without futzing around too much.
Very happy with Endeavour: pacman or yay for nearly everything, no hassle graphics drivers updates (system always suggests a reboot after and I always do that).
My only real complaint was that I wanted to do a fairly extensive change to the sway configs, and tracking down where they put all the config files took a bit of time.
At some point I'm tempted to get a fat server going so I can do my dev work remotely to it using a super light weight / long battery life laptop, but that's a complication too far at the moment.
I think most people who want easy access to Arch just go with Manjaro, which is close enough and gives you access to the AUR.
That usually happens when a package depends on a specific version of a dependency, with e newer (major) version in the repo.
It should only be an issue if you're using AUR packages or other package management systems. Official packages are updated for new dependencies afaik.
Same for me after more than a decade on Ubuntu. Switched to Manjaro Sway so I could have a better life in Wayland.
That's generally not supported and will require manual interactions.
Periodically, some upgrades of some packages do require manual interaction when configured in certain ways. However, this is usually a general issue with a change in packaging which isn't actually any more onerous for systems that hadn't been updated in a long time.
Now, it's true that every once in a blue moon something really big does change. The big one I remember was updating a system that had been shut down for some years, and the compression used by pacman had changed in the meantime. That one did require some self-imposed manual intervention :)
If I have problems during the process, it's almost always a signing keys problem. Package verification fails because too much time's passed between updates: the keys stored on my computer are too old and don't work anymore. I made a script to refresh the keys and everything started working perfectly.
Windows isn't any better. I don't have enough Mac experience but I doubt it has some magic bullet.
Other than that, and this may sound very strange given the last paragraph, Arch is fantastic. It's the most usable and useful system for general software development I've ever owned. Basically, you follow the wiki, and everything just works, sound, graphics, wifi. I never had that with Linux, not with Ubuntu, not with SuSE.
I can't remember any problem during the upgrades of the recent years. I often apply partial updates through `aptitude` on a weekly basis, and full upgrades once in a while (maybe monthly). There were some rough times long ago, but I think it was related to the transition from initrc to systemd: for a major change like this, it's would be surprising if a testing release was perfect.
I don't think I ever had problems as acute as having no Xorg or alsa. If several occurrences of this kind had occurred, I would call my OS unstable.
Sometime more than five years ago, there was some trouble always when a new version of GNOME trickled to unstable one package at a time and having part of packages the old version and part new caused a lot of small issues, like thumbnails not working in Nautilus etc.
I don't remember any other relevant issues. apt-listbugs helps avoid a lot of issues. I use aptitude as package manager (commands, not the menu UI) and often use "aptitude forbid-version" to skip a bad version, not sure if apt-get or apt these days provide something similar. apt-listchanges is nice too, although I rarely see something relevant to me specifically there.
https://wiki.debian.org/DebianTesting#Best_practices_for_Tes...
I don't normally explain why it's so fast, just smile quietly when people comment on how instant the response is.
Arch is unstable, as in, package versions constantly change and can (will) introduce bugs and regressions. Debian is considered stable because apart from security updates package versions are set in stone til the next release, so there won't be any surprises.
This is stable/unstable difference, that doesn't mean that you can't break your OS and have to reinstall in either Debian or Arch.
which is not what the rest of the world means by "stable" when talking about software, so there is in practice a lot of surprise for users coming to Debian when they hear "stable" thinking that it means "no bugs" when it actually means "no changes"
I use double boot to host both Linux and Windows; when I need to use Windows, I just put Linux into hibernation. This greatly extends the amount of time it can go without being rebooted.
Driver and X problems still cropped up occasionally, but things seem much more reliable now than they did a while back.
This is a also the distro I'm familiar with from my time working on servers, where I've used it with ZFS with great success.
I read this in the exact moment I was upgrading to 22.04.1 end it stopped due to lack of space in /boot. A rare case of synchronicity in my life.
> head -1 /var/log/pacman.log
[2012-01-22 14:55] installed filesystem (2011.12-2)
In that time I've converted the install in-place from x86 to x64, migrated from legacy boot to uefi, replaced the entire RAID set twice, motherboards, CPUs, etc. It's my own ship of theseus. Many of these tasks people would say to do a reinstall, but I've always been able to find a guide on the arch wiki to do it in-place without losing anything.I have upgraded literally every component multiple times so it's a Ship of Theseus.
To migrate machines I didn't use rsync, used dd instead.
Zero upgrade issues, however I generally wait 2-3 months after release before upgrading.
This is the best workstation setup I've ever had, there's no comparison.
BTW I also use archlinux
Eventually I got fed up with Windows and decided to `zfs send` the install to a real disk and booted it on bare metal. It has been my daily driver since then for the last 2 years or so. (I did drop into the Arch installer a last year to unfuck my bootloader while trying to get rEFInd & ZFS Boot Menu to work, but that was just building a new initramfs; I haven't run "pacstrap" since I built the image c. 2013.)
The flexibility this operating system has provided me with is nothing short of amazing. I do have to say though: since switching to Wayland + the in-kernel AMDGPU driver, I can't remember the last time my system was rendered unbootable. (Excepting the one time I tried to change my bootloader, but that's user error.) In hindsight I feel like the vast majority of Arch's reputation for breaking systems is overblown, and the blame rests mostly on DKMS + NVidia's proprietary drivers.
Back in my Windows days (1990-2001) I was NEVER able to do anything like that; copying that damned registry. Had to make special files; apps would never work. It was a game changer to find a system that was as simple as copy the files to the new hardware.
For servers, I've used CentOS, Ubuntu, and debian. I never did get too into the the CentOS redhat side of things. I'm not sure why that is except that I just was used to the debian way of doing things... In general, my go to is debian or Ubuntu. Ubuntu is the only distro where every damn time I've managed to break it in ways I can't figure out how to fix. Arch and debian are the only distro s where I've been able to fix something screwed up without a full nuke and reinstall. And I HAVE screwed some things up pretty bad.
Arch though is just so good. I just don't quite trust it to handle updates unattended so I don't use it on servers.
No reason to hop once you've arrived.
In contrast to my experience running Gentoo or Fedora, I never experienced significant breakage when doing a system update. Having said that, I've always run a fairly minimal desktop environment and I've been conservative with wifi and audio software. So maybe I wasn't pushing it very hard, but still full credit to Arch for having a rock solid foundation.
I rage-quit Gentoo the first time (2002ish?) for Debian when stable portage got a broken version of gcc, making it very hard to recover. The second Gentoo was by far the longest, maybe 2003 through 2018? I'm 4 years into NixOS now and very happy with it. I actually run into issues with switching to new release channels almost as often as I did the few times I experimented with Ubuntu, but it's just so much easier to work around these issues by mixing-and-matching packages from different channels[1] that it just doesn't bother me.
It also got me to love systemd. Configuring systemd units (especially timers!) with nix is so much more ergonomic than the bare files that I pity anyone who has to do it by hand.
1: 95% of the time it's already fixed in unstable, the other 5% of the time I pull in the version from the previous release channel.
$ qlop -tvm|head -n1
2007-01-18T19:50:33 >>> x11-base/xorg-server-1.1.1-r4: 9′23″I tried arch but it does not feel like home.
But to be fair upgrading a Mac computer consists now of adding your old stuff on top of a new operating system, not adding a new operating system on top of your old stuff. But well…
I had a problem with USB daemon crashing sometimes (probably related to a famous rewrite of the daemon in C++). And most recently - the most shameful M1 related problem with unkillable screen saver wrongfully started when Remote Desktop is in use. (The bug is shameful cause an unkillable screen saver means that design review, code review, QA processes are all broken, and the fact that it was not fixed in a year(!) - means that tech support process is broken too. Looks scary for things to come. M1 is a great processor though).
Linux really did win desktops. Running on arch for 3 years now.
But to be honest, the only major issue was an issue with pam login. I could not log in anymore after an update, had to search on the internet to find a workaround that consisted in updating a pamd.conf file in single user mode boot. Many breaking updates were Gnome related...
Switched back to Windows 10 then 11 for a year, tried WSL2 and found it unstable (some random crashes and tmux freezes), and slow sometimes.
Now on Fedora for a few months since I am a Gnome user, I am surprised there are quite frequent kernel updates also. I am little bit less worried that an update will break something, but i'll slowly move away from the bleeding edge.
I didn't take notes and don't remember the specifics, but I have a small VM running on some cloud that only hosts LXC containers, so not much is installed on it. I did an update from Ubuntu 20.04 to 22.04: multiple dozens of packages were removed, and multiple new ones added.
I'd really like to see something like a rolling release take on Fedora Silverblue. Rolling release with versioning/immutability and easy rollbacks.
To enjoy years of stability on Arch[0]:
- occasionally upgrade your system
- before upgrading, glance at https://archlinux.org/news/ to see if anything requires manual intervention
[0] I use Arch btwI simply have https://archlinux.org/ as my homepage when I open my browser on the desktop computer. Shows the same news in a slightly better format (personally), and also shows latest package updates on the right side, in case some favorite software of mine has been recently updated.
Stuff being obviously/"disruptively" broken usually has an undue amount of weight given to it, even though it generally (a) occurs at a time the administrator has chosen and should be planned to minimize the effects of any disruption (i.e. when you're doing updates or potentially problematic config changes), and (b) usually takes significantly less time to deal with, overall, than regular maintenance (upgrades, config changes caused by them, etc).
As modern hardware and DE choices change and conflict, arch has to be manually tweaked to stay working. Those tweaks (aka config choices) are essentially the entire purpose of a normal distro.
Arch isn't designed to do the tweaks. It's just that simple.
Saying you kept arch running is either a brag about how well you manage it, how minimalist your environment is, or how simple your hardware is. Not to mention whether your needs drive you to try any of the edgier stuff.
Congrats to this guy though.
I was jealous of windows because of exactly this. No longer now. It could still be better, e.g.: .AppImages could automatically be opened by something that mimics an installation wizard with checks for signatures, permissions, installations, periodic updates... it would be much more user-friendly than expecting the user to give "executable rights/flags" to a file that was just downloaded. Nevertheless, it broke the "good enough" barrier for me.
Coming from a time that "just released" software required compilation from source and sometimes, compilation of its dependencies which sometimes could simply break the system or worse: add lots of repos that could suddenly disappear or break your package manager in a way that it was simpler to just reinstall your system from scratch than trying to fix it; current situation is much much better. It is good to have a mature and stable distro that one can expect will be maintained for years with software that was released just yesterday.
However, I can see a noticable slowdown and some services occasionally acting weird - once every few months i need to switch to a terminal and use loginctl to unlock my session. I am seriously considering a reinstall, no matter how humiliating that sounds.
There was a significant initial setup investment, by modern standards, although not by historical ones; I had used Linux on the desktop continuously since I was a child, around 1997 (I think I started with RedHat 4.0 and kernel 2.0.29), so I remember all initial setup to be fairly burdensome in the late 1990s and early 2000s. Arch seemed a throwback to that. This is not a criticism, to be clear. I was very aware that this was part of the Arch philosophy, and I embraced that in my switch from Ubuntu.
However, once that was done, very little of interest happened over the next half decade. It's not that nothing ever broke, ever, but the rate of breakage was impressively low, and much lower than I had the previous 7 years on Ubuntu, or desktop Debian beforehand. Arch Linux was eminently stable.
In 2021, I switched to Mac/OSX -- the last of my social group of techies to do so, late to the party by a decade or so. While this has some advantages, my work kinetics will never come close to the raw efficiency and speed of my Arch Linux + i3wm setup.
The worst upgrade bug was around 2016 when mesa had a buffer overflow bug, and I had to apply the patch manually...and well, recompile mesa every time an X update came out or anything related.
On top of that the almost monthly archlinux keyring messups that need a repopulate, a different keyserver, or a deletion on the filesystem for whatever reason...oh man, I just hate gpg so much. I wish this piece of crap software would be more reliable. It would make my life so much easier.
I always have issues with gpg and pacman complaining about outdated or wrong keys, and then shit happens even when you tell pacman to not delete the package download (and when you start the init, repopulate, and sync of archlinux-keyring again). It messed up my system so often with remnants of packages, where I debugged X for days just to realize that a file was missing and the package got uninstalled automatically.
$ head -1 /var/log/pacman.log
[2014-03-24 23:03] [PACMAN] Running 'pacman -S yaourt'
Eight years so far ...The next big move would be to change to a Mainboard+CPU with Windows 11 support and an NVMe disk. I wonder how feasible this will be.
Is your boot still fast?
Nice username btw.
Packages randomly break and require hours of work to fix. Non-rolling distribution will usually only break when there is major upgrade which can be scheduled for when you have the time to deal with it.
Pacman only works in interactive mode so using it on a headless means at least weekly session. Randomly that will use up an hour or two when something breaks, and it will. Ubuntu based LTS distribution will last a couple of years without needing manual intervention after initial installation, and much longer if you don't upgrade to next LTS until the EOL.
Finally, if you need old software to build old version of something, Arch based distribution is useless. On Ubuntu I can download and install version 14.04 without much hassle (and even older with a bit of work) and build that old Android or sdk for device that is no longer supported but with Arch...don't waste your time, its not happening.
What do you mean by this?
I also use i3wm btw
One of the things I like about arch is that it keeps app config as upstream as possible. Debian's custom app config with all its magic scripts used to cause so much trouble. Yes, I only have <10 servers and the way I maintain them does not scale up too well. But that's something we have the "cloud" for these days anyway.
Now and again I'll do some package spelunking (pacman makes this straightforward) and clean out cobwebs. Next on my list is my emacs config which is like 15 years old and a couple generations out of date. I wouldn't care but startup times are slowing down and there is a lot of great ideas and packages to solve this problem. Just need the time, it's a few hours here and there, but easily enough to keep Arch going forever!
How would something like this work? Is the target laptop running any random linux distro, and rsync replaces all system files etc. effectively "swapping" operating systems? Can the laptop boot into the new system as if it was installed normally?
This is pretty much how you install archlinux normally, except instead of rsync-ing the initial filesystem you make a new initial filesystem based on the "filesystem" package.
That's pretty similar to what installation media does anyway, really.
[EDIT] Oh you might need to install the bootloader too. But you can sort-of (your running kernel will still be the installation media's) do that from the rsync'd system once it's copied over, with some creative chrooting and mounting. Which, again, is something that Linux installers kinda do anyway, in ordinary operation, but you'd likely want to do it manually in this case. It's exactly what you used to do (probably still do?) installing Gentoo, even for a "stage 3" (least-painful) installation.
Very well and very easily. You can do that even with Windows, even with different CPUs: I've ported my master Windows install from a Xeon to a regular Intel CPU on a laptop.
This laptop still feels like downloading Xeon-specific updates time to time, but every system peripheral is recognized in the device manager, and everything has been working great for over a year now.
For my next laptop, I'll do just the same: use bitlocker unlock, clone this Windows install into a larger SSD using Linux NTFS tools, plug the new SSD into the new laptop.
When I booted it up I realized to my surprise I had been running arch not windows...so I checked my email and then decided on the hotel wifi to try and update it.
I will admit after about 6 years there was quite a bit of fumbling with pacman sources and keyrings and the delta to upgrade on a laptop that old and hotel wifi wasn't great but after I left it for an hour it finished.
I rebooted it and there I was in i3 without a thing wrong. Wild
Maybe if I used gnome it would have been a different story but I think the point of the article holds that arch is much more stable than people give it credit for if you are willing to learn a bit about how it works.
Really enjoyed it otherwise
Had various Arch installs on desktop and Thinkpad that I used as my day to day for while, but I always just ended up back on my Mac. And I get a new Mac every few years.
Any Linux I've had always ends up getting torn down at some point. I get a new computer and do a fresh install.
Yes, there have been breakages, but none very bad and thus not very memorable. Interestingly, some breakages were due to windows update doing something bad since I was dual booting.
Before switching to arch, I used ubuntu for years, and that was not nearly as pleasant an experience. Upgrading ubuntu versions always failed in some horrible way for me and I had to just reinstall the new version instead, and the way ubuntu is put together made it a horrible experience if you ever needed to install software that didn't jive with it(like something that required an updated version of some gnome dependency).
I solved both problems by moving to NixOS and I have been very happy since then. I haven't had any issues with it so far. I've also created a couple of Nix expressions for packages I was missing, but I found most of the software I use in Nixpkgs or NUR already.
* "Stable" is not a binary property - it's a scalar. The exact level of stability assumed by the word can be different depending on the context.
* By design, rolling releases are less stable than regular releases. You simply can't beat the stability of something that doesn't change.
* People have different stability requirements. You don't expect something works on your own laptop to work in every occasion.
And busy days can show up suddenly. What if I get a super last minute job right after I decided to update my packages and break something?
It seems like using Arch or any tech that involves any tinkering requires accepting that the system isn't a total point of trust for your whole life. You have to have an attitude of "I'll make it work" rather than "I know my gear is dependable".
The only problem (with both debian and ubuntu) is that these old installs tend to drift from what a fresh install would be. And that the GNOME guys keep removing features I use with every release and then it takes a few months (sometimes a year) until someone adds it back as an extension (which will be broken with the next release, for sure).
I switched laptops 3 or 4 times and HDD to ssd and another bigger sad with copying while system and just enlarging partitions.
The only issue I have right now is lack of legacy boot on newer laptops, not sure how to UEFI my disk.
It's been pretty stable, had some hiccups a dodgy kernel once I think. Can't remember what it was specifically.
> zcat /var/log/pacman.log.1.gz-2018010214.backup | head -1
> [2009-02-23 18:14] installed filesystem (2009.01-1)
Things broke probably one or two times throughout this time. I broke things more times while tinkering with internals or startup sequence myself. I've learnt an immense amount doing this too.
Arch requires a bit of effort getting into, but honestly, the KISS philosophy really pays off.
Every few years I do a full re-installation (instead of dist-upgrade as I have quite some local installations that made things complex).
How Arch cope with that? I like the live-update-never-need-full-reinstall side, meanwhile I don't want to spend time to fix those tested-on-ubuntu-lts-ready-to-go third party software package when Arch is used.
btw, I use openSUSE Tumbleweed - more stable rolling release and it's awesome. Never going back to regular release with painful major updates every few years
It is wonderful that these distributions maintain an ongoing upgrade path that lets us move smoothly through our computing lives limited disruption. Support your local distros and package maintainers!
(Typing this comment reminded me that I hadn't donated to Debian in ages. Just did.)
I run several Arch boxes, a couple I believe is on 15+ years. One such installation has even been mirrored from one disk to multiple other disks and put into other machines, just because it was already set up as needed. Only once did a package I ran require manual intervention during upgrade, but as always, that was clearly described on the Arch website.
This also goes for Debian, FreeBSD and OpenBSD.
I don't use Arch anymore, but I think about going back to it all the time. Hopefully one of these days I actually pull up my socks and install it again.
MacOS wasn't that for me- brew was the cause of no shortage of pain, but even that could have been lived with. It's also not exactly stable- one company I worked for (about 7 years total) had a blanket request that people not update OSX to new versions for a few weeks or months while it was tested to make sure that the bugs had been ironed out- anyone who upgraded before then was on their own if they ran into issues.
Even that, I could (and did, when I had to) tolerate.
I hate the UI. It doesn't jive with how I want to operate. Settings exist for some things, but not others. It's just not my cup of tea, and I'm happier tinkering a bit to get exactly what I want.
I even have 2 bootloader entries: for intel and for amd devices so I do not need to reconfigure anything. ARM devices such as PineBook or Olimex are a PITA, though. Never had patience with them.
Only time when it crashed was when I OCed CPU too much and when using insider builds.
The only problem I have at the moment is the root filesystem is on an early 64GB SSD and it's getting a bit cramped. Well, that and Ubuntu 22 really took a big steaming dump on Firefox. :( It has to run out of a container that cripples it.
I only update on even years though, so only 3 major updates. Not really all that exciting. I also have a FreeBSD box that started out as FreeBSD 8 something and is currently FreeBSD 13-RELEASE. This had some issues because the software RAID I was using became deprecated and I had to move all of the data off to a backup drive and rebuild the data drive at one point.
What was a disaster about it? I would expect pain crossing major versions, but you could plausibly have installed CentOS on a machine and just stayed there for 5-10 years with nothing more than the odd `yum update && reboot` and I would have thought it would be fine.
Server status at 2022-08-16 11:39:24
System status: Database up for 1644.44 days.This install has moved 4 disks in this time. Never a reinstall, just an rsync a a new fstab.
Soon I'll have to buy a new motherboard, because of Windows 11. I'm curious if I can still keep the same OS without reinstalling.
If I could painlessly flip the FHS, I'd have something like /system, /data, and /config.
/system would be "Files you can download from your package manager verbatim". This is what apt and pacman create and update. If I lose it, who cares, just re-install the OS.
/data would be human-made and only human-made. Not even program preferences. This is the only thing I really care about backing up.
/config would be all the dumb little dotfiles that won't put themselves properly in $HOME/.config. This is stuff that might be important, but since I didn't choose the names of the files or for them to exist, I don't want them cluttering up /data, and I don't want a program complaining if I delete a file in _my_ /home that the _program_ thought belonged to it.
I think Android does something kinda like this. Android is right twice a day.
Fine
Love Arch.