You are not logged in.

#1 2012-05-07 16:57:10

Lexworth
Member
Registered: 2012-01-19
Posts: 36

[SOLVED]error: failed to commit transaction (invalid or corrupted pac

I keep getting this error when trying to upgrade. I have tried clearing the package cache with pacman -Sc and downloading all packages again but I get the same error. I have also tried pacman -Syu --debug to find the offending package. This returned the xfsprogs but when I tried just deleting that package and re-downloading it I got the same error. I also tried holding this package back and got the error on thee v4l-utils package.

Last edited by Lexworth (2012-05-07 22:49:28)

Offline

#2 2012-05-07 17:50:38

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: [SOLVED]error: failed to commit transaction (invalid or corrupted pac

Try using another mirror and see if the corruptions persist.


Burninate!

Offline

#3 2012-05-07 18:21:51

Lexworth
Member
Registered: 2012-01-19
Posts: 36

Re: [SOLVED]error: failed to commit transaction (invalid or corrupted pac

Gcool wrote:

Try using another mirror and see if the corruptions persist.

Still get the same error on xfsprogs.

Offline

#4 2012-05-07 20:29:22

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: [SOLVED]error: failed to commit transaction (invalid or corrupted pac

Try if the corrupting package can be downloaded correctly when you wget it from the mirror. If so, you can instruct pacman to also use wget by uncommenting the following line in /etc/pacman.conf

#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u

Burninate!

Offline

#5 2012-05-07 21:14:36

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED]error: failed to commit transaction (invalid or corrupted pac

If you're using an ftp mirror, try using an http one.

Last edited by karol (2012-05-07 21:14:43)

Offline

#6 2012-05-07 22:48:47

Lexworth
Member
Registered: 2012-01-19
Posts: 36

Re: [SOLVED]error: failed to commit transaction (invalid or corrupted pac

Well after trying many different things, I finally just ran pacman -Scc and the update worked. Thanks for the help

Offline

Board footer

Powered by FluxBB