Ugh, you might hit some breakage, so beware of that. Often jumping a few package versions where there has been dependency chain changes can lead to breakage.
What's the proper procedure to update a system like this? Just pacman -Syu and then google problems as they come up, or is there something I could do to make the process less painful?
I've hit a lot of errors with gpg-keys not matching. Like a lot. I've tried different solutions, but getting the same errors. What eventually solved it was sudo pacman -S archlinux-keyring.
Apart from that, Arch is just purring. Even before the update the system just worked as expected. As a former Windows/Mac-user I'm overly surprised how well Linux works.
The proper procedure is to just update more often so you don't get into a situation like this in the first place. If you're not updating at least once a month then you need to fix that.
In terms of the actual update there's not really much you can do. Such large updates are not supported and nobody tests them to work out what problems might arise. So yeah; make a backup, read the announcements, and deal with problems as they come.
I started a job about two years ago and wanted a cheap laptop. So I found a X230 with dock and everything. It served me very well, however I decided to upgrade to a X250 with IPS instead. One of my colleagues wanted to learn more about Linux, so I offered him to loan my X230. He put in on a shelf in his office and a year later I got it back.
The battery was dry and there were some updates. It's like a throwback in time to another trackpoint, keyboard and my old configs. It's really a great laptop. Might even change back to it.
Actually, I don't understand why the old design isn't updated with never cpus and batteries. There must be some kind of niche for changing the old laptop to e.g. ARM-cpus and making IPS-displays to fit. I would pay an arm and several legs for a X60s with a new motherboard, upgraded cpu, ram, m2-drives and ips. Omg.. Just thinking about it.
When I upgrade an old (neglected) Arch Linux install, I will use the Arch Linux Archive to upgrade by a month or so at a time by modifying /etc/pacman.d/mirrorlist to pull from the repo based on the date, rather than doing many months at a time. I run pacman to do a full upgrade each month or so until I'm caught up. Also make sure to review the news on the Arch website for any breaking changes.
How long since your last update? I've done it many times with offline machines after waiting 6mo.s, 12mo.s, 18mo.s. I think the record was 22mo.s. In any case just keep trying and clean up where packages have changed, check arch news in case something needs manual intervention, refresh your keyring, eventually the you'll get a clean bill of health with pkg conflict checks, etc. I've done this a dozen or two times, and Arch has never broken on me. Much better and more reliable than a release upgrade on a point release distro.
It's roughly a year since last update. The laptop had been loaned to a coworker he shelfed it. I just got it back and these were the pending updates. I only had one type or error which was fixed without too much intervention :) It never broke.
78 comments
2GB download, 8GB of data, 800MB more space used.. I love those kind of info.
You and me both :) This is high octane Linuxporn
and when the net size is negative... <3
What's even better is to run a reverse proxy and have all that come down at gigabit speeds.
Ugh, you might hit some breakage, so beware of that. Often jumping a few package versions where there has been dependency chain changes can lead to breakage.
What's the proper procedure to update a system like this? Just
pacman -Syuand then google problems as they come up, or is there something I could do to make the process less painful?I've hit a lot of errors with gpg-keys not matching. Like a lot. I've tried different solutions, but getting the same errors. What eventually solved it was
sudo pacman -S archlinux-keyring.Apart from that, Arch is just purring. Even before the update the system just worked as expected. As a former Windows/Mac-user I'm overly surprised how well Linux works.
The proper procedure is to just update more often so you don't get into a situation like this in the first place. If you're not updating at least once a month then you need to fix that.
In terms of the actual update there's not really much you can do. Such large updates are not supported and nobody tests them to work out what problems might arise. So yeah; make a backup, read the announcements, and deal with problems as they come.
I've spent the last 30 minutes toubleshooting errors I've never seen before. Not a bad exercise though :)
Did it work out? Suppose it has, but still curious :)
--noconfirm fingers crossed ๐
--force --no-confirm
Used those when trying to install new gpu drivers... Forgot to specify which version... many lessons were learned that day.
--forcewas replaced with--overwrite.I started a job about two years ago and wanted a cheap laptop. So I found a X230 with dock and everything. It served me very well, however I decided to upgrade to a X250 with IPS instead. One of my colleagues wanted to learn more about Linux, so I offered him to loan my X230. He put in on a shelf in his office and a year later I got it back.
The battery was dry and there were some updates. It's like a throwback in time to another trackpoint, keyboard and my old configs. It's really a great laptop. Might even change back to it.
I don't know what I'll do when my x220 gives out :( it's irreplaceable
Actually, I don't understand why the old design isn't updated with never cpus and batteries. There must be some kind of niche for changing the old laptop to e.g. ARM-cpus and making IPS-displays to fit. I would pay an arm and several legs for a X60s with a new motherboard, upgraded cpu, ram, m2-drives and ips. Omg.. Just thinking about it.
I also have x250 with IPS FHD. Once you add SSD, it still rocks
Indeed. A very nice machine :) However, at home I'm on a Carbon 4th gen. Surely the best piece of hardware I've ever owned.
I just got an x230 for school. I love the shit out of that thing. I paid an irresistible price for it.
Nice :) congrats. It's really a durable machine. I have been using mine all day and the keyboard and trackpoint are amazing.
Don't forget to add ILoveCandy to pacman.conf so you can enjoy a pacman into pacman ๐
WHAT?! :D I saw this a few times on youtube but never found out how to make the animation. Sadly, I have already updated. Next time!
When I upgrade an old (neglected) Arch Linux install, I will use the Arch Linux Archive to upgrade by a month or so at a time by modifying /etc/pacman.d/mirrorlist to pull from the repo based on the date, rather than doing many months at a time. I run pacman to do a full upgrade each month or so until I'm caught up. Also make sure to review the news on the Arch website for any breaking changes.
โ
For example, set mirrorlist to
Server = https://archive.archlinux.org/repos/2018/12/01/$repo/os/$arch
then
Server = https://archive.archlinux.org/repos/2019/01/01/$repo/os/$arch
then
Server = https://archive.archlinux.org/repos/2019/02/01/$repo/os/$arch
etc.
Wow, I had no idea that this was possible. Thanks :)
In my experience it's overkill and a waste of time.
edit: and bandwidth
Here's hoping mine doesn't end up like that.
Hahaha Beautiful
Wow, this looks like a lot of fun, no joke. Cheers!
How long since your last update? I've done it many times with offline machines after waiting 6mo.s, 12mo.s, 18mo.s. I think the record was 22mo.s. In any case just keep trying and clean up where packages have changed, check arch news in case something needs manual intervention, refresh your keyring, eventually the you'll get a clean bill of health with pkg conflict checks, etc. I've done this a dozen or two times, and Arch has never broken on me. Much better and more reliable than a release upgrade on a point release distro.
It's roughly a year since last update. The laptop had been loaned to a coworker he shelfed it. I just got it back and these were the pending updates. I only had one type or error which was fixed without too much intervention :) It never broke.
That's a lot of python packages :P
Now imagine that feeling.. but you're running gentoo
Don't forget the
--force. It gives the upgrade special Jedi powers, like, "this is not the root device you're looking for!"Yeah, I was kinda avoiding that ;)
Haven't that many problems with archie
lol, good luck with that!
Maybe stop using bloated softwares
You might want to switch to manjaro
Hmm.. why?
They're either trolling or they don't know what they're talking about.
While I understand why you were down voted, is there hate for Manjaro for some reason?
No, it's just a dumbass take. If you'd waited 6mos or a year to upgrade Manjaro, you'd be in exactly the same boat.
Some Arch purists say its not up to Arch's standards, i.e. it boots every time, even after such large batches of updates