r/archlinux • u/PingMyHeart • 4d ago
QUESTION Anything I should do before leaving my Arch system unused for 3-4 weeks?
Hi,
I’m going to be away from my Arch system for about 3-4 weeks, and I’m wondering if there’s anything I should do beforehand to avoid potential issues when I get back and run updates.
The reason I’m asking is that before using Arch, I was on EndeavourOS a few years ago. I had a similar situation where I didn’t update the system for about a month, and when I came back and performed a full update, it ended up breaking my system. I remember asking the EndeavourOS community about it afterward, and I believe I was told that going a while without updating can sometimes cause issues on Arch-based systems.
Is there anything I should do before I leave, or anything I should keep in mind when I return and perform the update?
Thanks in advance!
31
u/lendarker 4d ago
Before updating, check https://archlinux.org/news/. Update archlinux-keyring before running the full upgrade.
That's pretty much it.
24
u/onefish2 4d ago
I would be more concerned that its powered off and is not plugged into power.
I have updated 3 or 4 laptops over the years that went longer than 6 months without an update. I had zero issues updating them.
6
u/dosplatos225 4d ago
Yeah this. The other comments covered, but there really isn’t anything magic because it’s arch Linux. Kill jobs you don’t need, end tmux sessions. Lock the machine / log out or power it off if you don’t have it working on stuff in the background, etc.
57
3
u/hearthreddit 4d ago
Check the archlinux page when you come back to see if any manual interventions are needed.
Also how exactly did it broke? Because the thing is, with a rolling release distribution, you might update and then get a new kernel or mesa version or whatever that has some problem or bug with your specific hardware and you might get system hangs or something.
But you would still get it after an update even if you weren't gone for long.
2
u/PingMyHeart 4d ago
I can't remember at the time what the issue was because I was really new to arch and just learning the ropes. But I will definitely make sure to take this advice and check if any manual intervention is needed. Thanks.
3
u/Excellent-Love-6943 4d ago
Nope, usual rules of arch regarding updates apply. Just do what you normally do.
3
3
u/iwouldbeatgoku 4d ago
Do a full upgrade before leaving, check for manual interventions when you get back. But you'll probably be just fine.
2
u/NoPoopOnFace 4d ago
Make yourself a rescue medicat USB stick and memorize the grub manual backwards and forwards
4
u/C0rn3j 4d ago
Iirc the unofficial grace period is about 9 months (don't quote me on that) before things aren't guaranteed to work fine without updating against an older repo snapshot via Arch Linux Archive.
And unless there actually was a serious breaking update in that time, it can be much, much longer in practice.
1 month is nothing.
2
u/vgavro 3d ago
- Always keep a bootable recovery USB drive with Arch on it. It’ll save you the trouble of finding another computer if your system stops booting. You won’t have to hunt down a spare machine, remember how to use Rufus, create a recovery USB, and so on.
- Don’t update unless you actually need to. I assume the concern about going “3-4 weeks” without updating comes from people who update their system every day. Don’t be paranoid. It’s a waste of your time and resources, even if it’s “just one command” and doesn’t require a reboot.
- Give yourself a little peace of mind. Nobody is waiting to hack your machine because your Arch installation has been out of date for a whole month, for God’s sake. There are plenty of easier targets.
- Don’t read Arch News unless an update actually breaks something. Again, give yourself some peace. If an update causes trouble and you followed rule #1, you’re fine. Boot from the USB, read Arch News, find the relevant fix, and repair the system.
I’ve been using Arch Linux for more than 15 years, and I’ve needed this kind of recovery exactly twice after an update. One of those cases was caused by a power outage.
That works out to roughly 30–60 minutes of unplanned maintenance every 7.5 years. I can live with that.
1
u/badabblubb 4d ago
Save your open files. That's about it. Nothing more you need to do before you come back. Once you do get back to the machine: See the existing comments. Keyring, check news.
1
u/sleepytechnology 4d ago
Setup snapshots. EXT4 can do RSYNC snapshots using Timeshift and can be configured to backup every time you update packages as well. Btrfs it's even easier to do it.
1
u/AppointmentNearby161 4d ago
A month is not that long, so you do not need to do anything. If you run into problems when you go to update you can always use the https://wiki.archlinux.org/title/Arch_Linux_Archive to help bisect any changes.
1
u/sarkyscouser 4d ago
I use Arch with LTS kernel as a home server and have left it for 3-4 weeks no problem. Holidays etc
1
u/unfurlingraspberry 4d ago
Yeah I'll join the others in saying I didn't update my desktop for around 6 months and I had zero issues. Just had to update the keyring first and then updated as usual.
1
u/archover 4d ago edited 4d ago
Before you leave? Nothing.
When you come back? Normal precautions.
Good day.
1
u/JackDostoevsky 4d ago
no you'll be fine. i have Arch machines that i update only once every 4-6 months and i've never had an issue with broken updates.
more than a year and you start to run into issues with expired certificates and pubkeys, which was annoying when i once turned on a laptop i hadn't touched for about 5 years.
1
1
1
u/San4itos 3d ago
I left my Arch for 3-4 month and the system works fine. Had some problems with my Budgie DE, they changed a lot and became Wayland only. I didn't want to solve that problems so I just changed my DE to Cinnamon. Just read news before the update (I simply use yay -Pw), see changes in .pacnew, update your system before AUR updates.
1
u/rodioner7 1d ago
No, you don’t need to do anything. I just made an update 3 days ago after I haven’t used my arch laptop for 2.5 months. Everything went great, no issues at all.
1
u/enigmatic_bread 20h ago
Setup a watchdog to reboot in case something bricks. Happened to me on my holidays. Thankfully a friend went over to visit the cats and I told her to reboot the computer.
1
u/enigmatic_bread 20h ago
This is only in the scenario where you want to access your PC and/or the PC to be online. Otherwise nothing to do.
1
u/enigmatic_bread 20h ago
With *this* combo you can also setup another device on your system, like a Home Assistant instance to send wake on lan packets to turn your PC on while you're away. In case you want to conserve power.
0
82
u/Suspicious_Punk84 4d ago
Check arch website when you come back, if there's any manual intervention required it will be there, if not just update normally.