You are not logged in.

#1 2024-10-11 21:25:27

Skeleton2323
Member
Registered: 2024-09-14
Posts: 19

How much time counts as "too long" before running pacman -Syu?

I'm mainly asking since I have a desktop computer powered off in a remote location with Arch that I access periodically, from every few months to more than half a year.
Anything that may not perform smoothly after, let's say, 1 year later without upgrading?

Offline

#2 2024-10-11 22:24:02

seth
Member
Registered: 2012-09-03
Posts: 63,719

Re: How much time counts as "too long" before running pacman -Syu?

It's too long when you run into problems you can't solve.

Most of the time it's gonna be somehow keyring related and pre-updating archlinux-keyring will do.
Massive issues will arise when glibc sees an ABI incompatible update or eg. pacman swicthes the compression standard (I think the zstd move had a 6 months preparation phase?)
In doubt you can abuse the ALA for incremental updates.

The inevitable nastyness is that you'll have to do all pacnew merges at once.
You could also opt for some LTS distro (eg. debian LTS)

The oldest system I've updated was 4-5 years behind.
Not smooth, not even pretty - but possible.

Offline

#3 2024-10-11 22:46:55

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,776
Website

Re: How much time counts as "too long" before running pacman -Syu?

Check the news, see what manual intervention has been required since your last update. Possibly make use of the Arch Linux Archive snapshots to update your system in stages (note: full system upgrades to points in time, not partial).

The fewer unsupported (AUR) packages you have, the easier the process of getting up-to-date is likely to be, especially avoid replacing any "base" packages with unsupported equivalents (i.e. systemd-git).


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#4 2024-10-22 07:44:59

fozid
Member
From: uk
Registered: 2024-06-16
Posts: 48

Re: How much time counts as "too long" before running pacman -Syu?

As long as your packages are stable, as in you are not upgrading, installing or removing any packages, then your machine will remain in the exact same state every boot. So you will never run into any problems unless you specifically cause them.

You will only run into problems if you try to install or upgrade a single or small number of packages.

I have a laptop has not had an update in over a year, and I only boot into arch every few months. No issues.

Offline

#5 2024-10-22 10:39:58

seth
Member
Registered: 2012-09-03
Posts: 63,719

Re: How much time counts as "too long" before running pacman -Syu?

The problem is that you'll increasingly run into problems when finally updating the system (and of course you're accumulating CVEs during the time where you're not updating which is maybe not so much an issue if you're only infrequently using the system, maybe for testing purposes)

Offline

Board footer

Powered by FluxBB