Arch on laptop with infrequent updates
I recently bought a new laptop and now I need to get rid of the pre-installed windows 10 crap. Since I'm happily running arch on my desktop, I'm tending towards also putting it on my laptop.
However, because I use the laptop almost exclusively when away from home, it would get updated rather infrequently - probably once a month on average, maybe even less often.
Would that be a problem for arch? Or can arch handle longer intervals between updates just fine?
About this post
- Posted
- Archived
- Score
- 5 · 100% up
- Kind
- Text
- ID
- eb01zh
19 comments
Well, I don't know if there's a recommendation on the time of upgrades. But if you read the arch mailing lists and keep track of any breaking changes, then you should be fine updating once a month or so.
Updating once every few months shouldn't be a problem, just keep up with the news to see if there's any manual intervention required.
If you go too long (years?) without updates, you might get stuck needing an updated archlinux-keyring package to verify signatures of the newest archlinux-keyring package (which could be worked around manually). Similarly there's the current requirement to have an updated libarchive.
Just keep a live usb in your travel bag so you can repair it if anything happens following a periodic update.
That's a good idea! I'll do that.
I have a small partition with basically what amounts to a "live usb" that is always with me. The only situation when it won't save my bacon is if the boot loader itself has been screwed up - but that happens very rarely if you don't dual boot with windows (actually never happened before on my laptop).
Update it before you need it. I typically do updates around once a month with no problem, more frequently if there's new security issue.
Deleted before we saved it.
I update my laptop once in a month. I have one 1gb partition with bootable arch iso. If something goes wrong, I boot it from the uefi selection menu, chroot and fix my arch installation. I hate carrying bootable arch iso on a pendrive.
When I was using btrfs, I had used Pacman hooks for snapshots. If something goes wrong, I boot my installation using previous snapshot.
I updated half year old arch systems without issues
The most issues from not updating arises if you do partial upgrades
For me the only issues I had in the past were mesa and libicu. If you update coincidentally between firefox and chromium builds, nothing will work, because two or three different libicu versions are required (sometimes even by one project because they link against specific minor versions). icu is literally abi incompatible with every subminor release...
I'm not completly sure but I think that some updates have to be installed before some other updates and can't be installed beside them in a single step. What I mean is that there are updates which have to be installed in a specific time frame. These cases are rare and announced by the Arch devs.
For example: https://www.archlinux.org/news/required-update-to-recent-libarchive/
Some people are probably going to see this as bad advice, but, unless you need to download software or your current version is sold old that the files no longer exist in any mirrors, you don't have to update. When I was studying at university I never updated during a semester, as I simply did not have time to deal with broken computer from an update, which meant I was only updating every 6mo or so. I didn't have any problems upgrading in the end. If you don't have time to update, I wouldn't really worry about it.
I have left some of arch systems go un updated in cases like yours for over a year without issue. Check the announcements page for potential gotchas but tbh I only ever do if an update goes bad, which it almost never does.
You could install debian I suppose if you are very worried about it.
I don't see why it wouldn't handle long intervals. In any case, anything that breaks anything is usually published on archlinux.org news and/or would be encountered on your desktop install of Arch, giving you a moment to know about it.
Also I think it would make sense, just to be more safe, to open up your laptop once a day, run
sudo pacman -Syu && poweroffand then let it do its thing, to then close the laptop lid or notice that it's still running for some reason at some point later in the day.That's exactly what I want to avoid.
time waste
You want to reboot at least once or you are risking a non-working machine when you need it tomorrow...
this is not being safe. doing regular unattended updates is not better, it might even be worse than updating irregularly.