You are not logged in.

#1 2011-01-25 17:57:11

beretta
Member
Registered: 2008-04-21
Posts: 133

[solved] pacman update error

A few days ago I attempted to update my system, and am consistently getting this error:

 $ sudo pacman -Su
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...
error: failed to prepare transaction (package filename is not valid)

The problem is that this is all it gives me; even a pacman -Svu gives no more information than this.  How can I identify the package that's causing the fault short of testing each installed package individually?

Last edited by beretta (2011-01-25 19:32:02)

Offline

#2 2011-01-25 18:00:19

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,929
Website

Re: [solved] pacman update error

what does

pacman -Syu

give you?


Mr Green

Offline

#3 2011-01-25 18:06:38

beretta
Member
Registered: 2008-04-21
Posts: 133

Re: [solved] pacman update error

The same, but with updating the databases.

Offline

#4 2011-01-25 18:31:18

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,671

Re: [solved] pacman update error

Try a different mirror if you havent already

Offline

#5 2011-01-25 18:35:32

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,929
Website

Re: [solved] pacman update error

Either mirrors or pacman is out of date

pacman -Qi pacman

Mr Green

Offline

#6 2011-01-25 18:36:52

toad
Member
From: if only I knew
Registered: 2008-12-22
Posts: 1,775
Website

Re: [solved] pacman update error

get reflector and use it to keep your mirrors up to date


never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::

Offline

#7 2011-01-25 19:10:35

beretta
Member
Registered: 2008-04-21
Posts: 133

Re: [solved] pacman update error

Great idea; unfortunately, even after installing reflector, moving mirrorlist.pacnew to mirrorlist, and enabling only the two fastest mirrors, the error still occurs.  I also tried enabling only ftp.archlinux.org in mirrorlist, and I still get the same error.

Offline

#8 2011-01-25 19:17:53

toad
Member
From: if only I knew
Registered: 2008-12-22
Posts: 1,775
Website

Re: [solved] pacman update error

Sorry, I didn't _read_ the problem correctly smile

What does your pacman.log say?


never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::

Offline

#9 2011-01-25 19:23:41

denisfalqueto
Member
From: ES, Brazil
Registered: 2006-03-24
Posts: 197

Re: [solved] pacman update error

Have you forced the download of metadata with -Syy? Just to be sure.


Satisfied users don't rant, so you'll never know how many of us there are.

Offline

#10 2011-01-25 19:25:09

beretta
Member
Registered: 2008-04-21
Posts: 133

Re: [solved] pacman update error

Each attempt only logs two lines to pacman.log.  Last two lines show the previous run, all the others look just like it:

[2011-01-25 14:23] Running 'pacman -Svu'
[2011-01-25 14:23] starting full system upgrade

In other words, nothing useful there.

Offline

#11 2011-01-25 19:28:42

ataraxia
Member
From: Pittsburgh
Registered: 2007-05-06
Posts: 1,553

Re: [solved] pacman update error

Do "testdb" (checks local DB) and then "testdb core extra community (and any other repos you may have)". Maybe this will complain about some specific cause.

Also, try "pacman -Su --debug".

Offline

#12 2011-01-25 19:31:45

beretta
Member
Registered: 2008-04-21
Posts: 133

Re: [solved] pacman update error

A pacman -Syy seems to have done the trick, thank you!

Not sure exactly what caused the problem, but I was able to get the system updated.  I'm always impressed with how quickly this community jumps in to help; thanks to all of you.  I even learned some new tricks through all of this.  smile

Offline

Board footer

Powered by FluxBB