You are not logged in.

#1 2011-05-11 01:29:30

yktula
Member
Registered: 2010-07-18
Posts: 14

Performing a system update after a long break

This question mentions:

With rolling releases, it is usually bad to go without updating for extended periods of time (say a month or two.) But what happens if you're unable to update because of lack of internet or time (e.g: study/vacation abroad)?

So, are either of the solutions proposed in the superuser question possible? Is there a standard way of going about this? Is just performing the update and then reading pacman's logs the best way to deal with this?

Last edited by yktula (2011-05-11 01:30:08)

Offline

#2 2011-05-11 01:54:32

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Performing a system update after a long break

The second solution seems as sensible as the first is fanciful...

The conclusion you have drawn is the right one.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2011-05-11 03:07:25

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,772

Re: Performing a system update after a long break

In general, It usually works pretty darn well anyway.  It will probably ask to upgrade pacman first.  Do it.  Then it will tell you it wants to replace some packages with others,  Do it.  Go have dinner with the significant other.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#4 2011-05-11 03:36:22

yktula
Member
Registered: 2010-07-18
Posts: 14

Re: Performing a system update after a long break

Well, things can break, but this is resolvable. I guess the answer to the question is suboptimal, then.

Offline

#5 2011-05-11 04:16:12

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Performing a system update after a long break

I think the second answer is fine (if you are talking about the Superuser answer). Arch is a rolling release and, if you install it that's what you sign up for...

As you note, reading pacman's output (and reviewing the news) and taking the time to work through any/all of the changes will in most cases be sufficient.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#6 2011-05-11 04:25:48

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,354

Re: Performing a system update after a long break

Updating packages one at a time (solution 2) just sounds like a recipe for breakage for me, since we rarely use versioned deps.

Just update everything at once, output the post-install messages to some sort of log-file, and go through it when you get back.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#7 2011-05-11 22:13:30

_alexmyself
Member
From: france
Registered: 2005-09-18
Posts: 89

Re: Performing a system update after a long break

i've pacman -Syu my laptop recently and it was turned-off since september, no problem. more than 1G of downloads (the whole system? smile ).
maybe i've been a bit lucky on this... smile

Offline

#8 2011-05-12 01:47:26

kyla
Member
From: Arlington, VA
Registered: 2011-03-12
Posts: 112
Website

Re: Performing a system update after a long break

I'm inclined to say you'll be fine just -Syu ing, but still probably a good idea to make a back up of anything really important, just in case something goes bonkers

Offline

#9 2011-05-13 00:19:47

yktula
Member
Registered: 2010-07-18
Posts: 14

Re: Performing a system update after a long break

_alexmyself wrote:

i've pacman -Syu my laptop recently and it was turned-off since september, no problem. more than 1G of downloads (the whole system? smile ).
maybe i've been a bit lucky on this... smile

Great! But I might have quite a few more packages installed now.

kyla wrote:

I'm inclined to say you'll be fine just -Syu ing, but still probably a good idea to make a back up of anything really important, just in case something goes bonkers

Ah, backups. Of course. Good idea.

Offline

#10 2011-05-13 02:11:29

mhertz
Member
From: Denmark
Registered: 2010-06-19
Posts: 681

Re: Performing a system update after a long break

I have a fresh-install backup-image/tarball of the mbr, root partition and my home folder, and I frequently image back to start from a clean slate, and then run a unattended bash script, which updates and sets everything up, and apart from e.g. recently needing to add 'pacman-db-upgrade' in between the first and second pacman -Syu(the first -Syu for pacman itself), then I have had no issues whatsoever, and that image goes almost a year back!

Think also about that the arh official installers is not only in net, but also core-only versions, and the stable version is about a year old allready, and with the core version, then you'ed also had to run pacman -Syu to bring it current i.e. a whole year forward!

As allready stated, the key is to look at the pacman output(just check /var/log/pacman.log) and keep an eye on *.pacnew files...

Last edited by mhertz (2011-05-13 02:12:31)

Offline

Board footer

Powered by FluxBB