You are not logged in.
Pages: 1
After running pacman -Syu I'm getting this error message:
(34/34) checking package integrity [########################################################################################] 100%
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.
I understand that it is an invalid or corrupted package causing the error. How would I go about finding what is causing the error?
Any help is appreciated,
Last edited by flaps (2012-06-26 19:36:28)
Offline
https://wiki.archlinux.org/index.php/Pa … leshooting
If that doesn't help post back.
Offline
After looking through pacman.log I still cant find any indication as to what is causing the problem. Is there any way to remove all the downloaded packages it grabbed during running pacman -Syu?
Offline
cleaning cache helped me.. :
pacman -Scc
and then updated again..
not sure if it's a right way to do it..
Offline
Using the --debug option should tell you which package it's failing on and you can try deleting that from your cache. It might be easier to just run "pacman -Scc" as the person above me said if you have a fast internet connection.
If that doesn't work, try changing your mirror.
Offline
After running using the --debug option I can see "debug: returning error 33 from check_validity : invalid or corrupted package" in the list but it does not list the package. In the wiki it suggests not running pacman -Scc.
Offline
"pacman -Scc" just completely clears you cache (/var/cache/pacman/pkg). This reason this isn't suggested is if you want to downgrade, then you have to retrieve those packages by other means (ARM works well). However, I'm guessing you just installed Arch seeing as you registered today, so clearing the cache shouldn't really hurt at all (always important to know what the command is doing before you run it though).
If clearing your cache doesn't bother you, then try "pacman -Scc" followed by "pacman -Syyu". If that doesn't work, try changing to another mirror and retrying those commands. If that fails, post the full output of the pacman command along with your pacman.conf file.
Last edited by Pres (2012-06-26 18:52:36)
Offline
Are you using ftp mirror? Try using an http one.
Offline
pacman -Scc fixed the problem. I was just a bit cautious about running it. Thank you for your help.
Offline
Pages: 1