You are not logged in.

#1 2013-06-08 12:35:14

acampbell
Member
Registered: 2013-05-15
Posts: 46

What to when upgrade fails? [SOLVED]

I tried pacman -Syu recently and it failed with a message about being unable to upgrade some packages. It didn't say which. So I simply gave up at that point.

The documentation says you should upgrade every week or two. I am used to doing this in Debian Sid, where I upgrade daily as a rule. If things go wrong it's usually a matter of waiting a day or two until the problem is fixed.  Sometimes one has to revert to an earlier version of a package.

So I understand about reverting to a previous version of a faulty package. checking for information before upgrading important  packages, etc. But what to do if the upgrade process simply fails, leaving my system intact?  Do I just wait a day or two and try again?

Last edited by acampbell (2013-06-08 13:33:39)

Offline

#2 2013-06-08 12:41:16

SquidGuy
Member
From: the depths of the sea
Registered: 2013-05-07
Posts: 47

Re: What to when upgrade fails? [SOLVED]

Did your failure look something like this?
https://bbs.archlinux.org/viewtopic.php?id=164312

Offline

#3 2013-06-08 12:47:22

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: What to when upgrade fails? [SOLVED]

acampbell wrote:

If things go wrong it's usually a matter of waiting a day or two until the problem is fixed.

This will never be a useful strategy with arch.  You may occasionally get problematic packages for which downgrading is the only solution (*may* ... I never have), but in such cases, pacman will have succeeded in installing them.

If pacman fails make sure you first check the recent news on the front page.  In this case I'm almost certain this would address your current issue.

If there is nothing relevant there, check recent forum threads.  In this case I'm quite sure this would address your current issue.

If there is still nothing relevant, start a thread and post the *actual output* you received from pacman.  Error messages are useful.  With them we can solve problems, without them ... we can post general advice like this, all of which is already in various forum guides and arch wiki pages.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#4 2013-06-08 13:04:39

acampbell
Member
Registered: 2013-05-15
Posts: 46

Re: What to when upgrade fails? [SOLVED]

Thanks to both for quick replies.

Yes, the error message was similar to that in the link posted by SquidGuy, though I don't remember if it was identical. I was not using Testing.

Thanks for your comment, Trilby.  I will take your advice and try another upgrade. I must admit I rather lost my nerve after the last experience!

Offline

#5 2013-06-08 13:07:36

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: What to when upgrade fails? [SOLVED]

That upgrade is not just for [testing] (at least not anymore).  Be sure to see the front page news item to see how to upgrade properly.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#6 2013-06-08 13:32:34

acampbell
Member
Registered: 2013-05-15
Posts: 46

Re: What to when upgrade fails? [SOLVED]

Thanks very much for drawing my attention to the News section. I followed the instructions there and the upgrade went off smoothly., Excellent!

Offline

#7 2013-06-08 14:47:29

SquidGuy
Member
From: the depths of the sea
Registered: 2013-05-07
Posts: 47

Re: What to when upgrade fails? [SOLVED]

This being in the Newbie section, allow me to also strongly recommend that you read the News BEFORE you pacman -Syu.  Arch is ever moving forward, and oftentimes will require you to know what direction it's going.  Glad to hear that all is well.

All the best!

Offline

Board footer

Powered by FluxBB