When was the last time you broke Arch?
I am running Arch now for a couple months and it is as exciting as on day one. Probably because I learn something new every day and it becomes more and more tailored to me.
Anyway.. I was very hesitant before I made the switch because people always mentioned what a risk being on the "bleeding edge" imposed. However my system didn't break once because of updates so far! Only one minor incident with CUPS.. but that was probably my fault not the updates.
When was the last time updates broke your Arch system?
About this post
- Posted
- Archived
- Score
- 18 · 100% up
- Kind
- Text
- ID
- 35bugx
56 comments
I don't upgrade, so I never break anything:-)
Seriously: I just do an (automated) install every night into a new btrfs snapshot. That is then turned into a read-only snapshot and the boot loader is updated with that new information. A reboot takes me into the new snapshot (and back into the old one if something breaks).
/ is a tmpfs, /usr is that read-only btrfs snapshot mentioned above, /home is mounted like normal and I have /var so that I keep my logs, etc. The whole setup is pretty close to the stateless system the systemd guys described.
Works like a charm... with a few patches on top of systemd 219 (which I sent upstream and which will be in systemd 220).
Have you posted a how to or all your configuration and/or scripts anywhere?
Nope. I have my machine configuration mixed in with the scripts and do not accidentally want to publish private keys:-)
How much ram do you have to do the / tmpfs?
tmpfs 1,9G 14M 1,9G 1% /
14M used space is acceptable IMHO:-)
Can you post some wiki links on how to set something like this up please?
I took a couple of notes at https://omitframepointer.wordpress.com/ , but those are probably not enough to replicate my setup.
I did not put up the code somewhere, mostly since the complex part is the automated installation and I did not split the machine details from the scripts themselves. So I am rather reluctant to publish that somewhere, since I do not want my private keys on github:-)
Where does /etc live?
In theory systemd should populate /etc automatically based on /usr/share/factory/etc .
In practice that does not work, since dbus is started before /etc is populated and dbus needs files from there and thus fails. Kdbus is supposed to fix that... So for now I have a tarball of the rootfs (mostly /etc and /root) and have the initrd extract that before switching root.
That is the only change I still need to make to mkinitcpio/systemd at this point (provided you use something post-219 of systemd).
That is quite an advanced system! I only clone my disk every now and then and rsync important files... snapshots sound more comfortable though :) So your comment basically is, it doesn't matter if it breaks?
It was a fun project for a couple of evenings:-)
Automating the install is the challenging part (currently I do that for 16 machines), the rest is really easy.
The first time I installed Arch, you could still choose whether you wanted to use the old init system or systemd. Being something of a curmudgeon, I chose not to use systemd. I ran my first 'pacman -Syu' three days later and they had made systemd mandatory and I hadn't read the news. It went poorly.
Reminding me a curmudgeon, I have always set my computers to legacy BIOS. Still have not used uefi, and don't want to. Maybe I'm just delaying the inevitable but nothing is wrong with BIOS for me.
Same thing happened to me exactly. That was a fun switch.
I had Arch installed on my wife's laptop and didn't update for 8 months. One day she went to use chrome and it refused to do anything. It took about two hours to merge all of the pacnew files. So moral of the story, regular updates are important.
But going back to your question, the last time I had breakage was in 2012 and I don't remember what for exactly. 2012 was the year we switched to systemd. It was a smooth transition for the most part, but one of my systems had issues.
So 3 years.. that is quite a period! Yes, I update everyday sometimes even more when I am bored :)
I have a tiny conky statusbar that lives at the upper left-hand corner of my screen that will show me the number of updates available, so I'll always check that when I'm bored lol
I installed it on two computers back around 2013 I think. It was right after the switch to systemd. So far I've never had anything break.
Everything that breaks is because of my own stupidity.
It very rarely happens.
3? 4? years ago to the best of my memory. Only one "break" in my 7 years in Arch... and that was because of a --force'd filesystem update / bin merge or one of those dumb things... was tired, didn't feel like reading the instructions for upgrading... end result was me having to spend 5 extra minutes in chroot to fix. Totally my fault though.
As someone about to take the plunge (well in a VM...gotta be safe, yo)..........this thread terrifies me.
You should put it on your main computer! :) The consensus seems to be that people haven't had any problems for years.
Yeah just as soon as I figure out the partitioner
-___-
Not so much broke, but couldn't get it to work. I've installed it many times on many different machines and worked my way through various issues. Never really had a problem, but this cheap Acer laptop I got just won't run it. Ubuntu, Mint, etc. all install and run great. I've moved everything else to Arch but this one laptop. I've tried a ton of stuff and nothing worked so I'm at the "eh, screw it, it's not that important" phase now.
Deleted before we saved it.
When they removed
/bin/systemd. I was usingsystemdlong before it was made default, and one of the ways of using it while still keeping initscripts was addinginit=/bin/systemdto your kernel command line.Guess what went wrong after updating? :D
Oh, and guess where the binary is now?
/usr/lib/systemd/systemd. Yes, binaries in/usr/lib. (Well, it's also/bin/initnow that it's the default.)Most people had problems with switching to systemd. You had problems staying with it. That must have been an update! :)
I didn't read this and used --force like an idiot even though I knew I shouldn't use it :P... after I did that everything just broke and spent like an hour and a half trying to figured out why everything was out of place and removed some symlinks and moved stuff around in the process to get some stuff working again before I went to the website and saw the article :P... after I see it I had to fix the issue which was already bad but I also had to figured out everything I broke with the temporary fixes I made, I think I had library problems for like a month or two after that.
I update weekly at a minimum. It has been 4 months since I installed arch on a brand new build production machine I used for web development and some light gaming without a single issue.
I totally horked my system a couple of times updating but I think it's been my fault both times. I also have one system that is a bit non-standard so I think that was part of it. It's been at least a year, maybe two.
My fonts were super small a few days ago (about 50% of their original size). I couldn't figure out why this happened, because I had done no update or change relevant to fonts at all, and it was as if it had happened over the course of me sleeping. It seemed like every graphical toolkit was affected. I didn't delve too far into it before I figured I'd just try the classic reboot, needless to say it was all fine again after that.
Prior to that minor hiccup, I don't know. Some time during my first few installs I guess? I remember the filesystem changes and switching to systemd being scary but I traversed those just fine.
When I moved to a new HDD, but really it wasn't Arch that broke, more like grub and the MBR (I tried to dd the entire disk...) so it took me a lot of fsck'ing to fix that. Also I had a weird library that programs kept requesting that none of my other Arch machines had -- I decided for a reinstall, but mainly cause things were getting cluttered too
January.
Umm... last major breakage was that one pacman update that screwed nearly everyone a few years back. Other than that... I m not really able to think of anything outside minor annoyances.
I can't even remember. It was two or three years ago. Arch has been very reliable for me for many months.
Since the systemd update. But that was most likely my fault since I didn't know that much at the time.
Iirc my last broke was the switch to systemd.
I regularly reboot to find X won't start due to conflicts between the Nvidia driver and the kernel. I just have to find the previous Nvidia driver version in the cache and downgrade to it and it's fine again.
I briefly ran out of space in / and was very confused, because no amount of removing unneeded software was helping me. I couldn't update my system. Turns out I had old versions from months of updates lying around in case I needed them. Flushed them out and got gigs of space back. I'll have to remember to do that again in a year or so..
I once broke Gentoo by not installing my video drivers. I switched to Arch before realising my error. Oops.
Yesterday... It's an everyday thing for me. Fun fixing it
The updates themselves didn't break arch, but an action that I took related to the updates did.
Prerequisite info as to how I have my computer configured to boot:
I have my SSD set up with a GUID partition table, since I'm using a UEFI. I have the EFI stub turned on in Linux, and I don't use a bootloader beside the one built into my mobo. (This means no grub, refit, gummiboot, etc.) On my EFI partition, I have my kernel and initramfs stored under EFI/arch-rt. This has the side effect of making me have to manually copy my kernel and initramfs to their proper directory every time I update Linux.
Well, one time I copied the initramfs, but forgot to copy the kernel.
This kills the boot process.