You are not logged in.
I just installed Arch to a VMWare virtual machine. I'm using the Beginners Guide to help me along and I am trying to install xorg. When I do pacman -S xorg it finds the package group and asks me to install. I hit y to install and it downloaded everything and gave me an error when it was trying to install. Here is what I get...
checking package integrity...
error: failed to commit transaction (invalid or corrupted package)
xorg-fonts-misc-1.0.0-4-i686-pkg.tar.gz is invalid or corrupted
Errors occurred, no packages were upgraded
I searched around and found a similar issue and it suggested to try a different mirror. I did this and I get the same thing. Not sure how to handle this but if someone can help me out I would appreciate it. Thanks!
Offline
I searched around and found a similar issue and it suggested to try a different mirror. I did this and I get the same thing. Not sure how to handle this but if someone can help me out I would appreciate it. Thanks!
You would need to do pacman -Syy after switching mirrors or else it'll just use the cached package.
Last edited by tdy (2009-09-28 02:29:49)
Offline
JawsThemeSwimming428 wrote:I searched around and found a similar issue and it suggested to try a different mirror. I did this and I get the same thing. Not sure how to handle this but if someone can help me out I would appreciate it. Thanks!
You would need to do pacman -Syy after switching mirrors or else it'll just use the cached package.
The post that I looked at mentioned that and I did. I also switched mirrors more than once (because it didn't work with the second one I tried) and I ran a pacman -Syy for each.
Offline
If /var/cache/pacman/pkg/xorg-fonts-misc-1.0.0-4-i686.pkg.tar.gz exists on your storage, you must delete that file (I recommend a pacman -Sc) and try again -- you have a corrupted cached package which must be cleaned out.
If that doesn't work, try another mirror, yours may be b0rked.
Offline
If /var/cache/pacman/pkg/xorg-fonts-misc-1.0.0-4-i686.pkg.tar.gz exists on your storage, you must delete that file (I recommend a pacman -Sc) and try again -- you have a corrupted cached package which must be cleaned out.
If that doesn't work, try another mirror, yours may be b0rked.
Thanks, I will try that and report back. Appreciate the help.
Offline
Thanks, pacman -Sc worked for me. Appreciate all the help!
Offline
Glad you got it. Please mark your thread as solved by editing your first post so you can edit the title, and add [SOLVED] to the beginning of the title
Offline
I'm kind of in the same case:
I did my usual
pacman -Syu
some days ago, and got the following error:
error: failed to commit transaction (invalid or corrupted package)
qt-4.5.3-2-i686.pkg.tar.gz is invalid or corrupted
Errors occurred, no packages were upgraded.
I did a
pacman -Scc
which cleared the cache, and proceeded to do another pacman -Syu, which ended in the same issue and same error message.
I'm suspecting the repo (chile arch repo) is/was for some time somehow out of sync (?), and would keep on doing the same thing but I wanted to first check here for any suggestion. It's also bothersome because I had a large number of package to upgrade after the pacman -Syu and clearing the cache means having to download everything over again...
On top of it, it's preventing me to upgrade at all (as it exits in error).
Thanks!
Archer since 03/2009 - AUR packages
Offline
ok, Solved my problem even though I'm not sure why:
- removed (manually) the offending package tar.gz archive from /var/cahe/pacman/pkg
- pacman -Syu did re-download only the offending package and this time it worked. I guess the repo was really out of sync between the tgz file and its md5 in the PKGBUILD or wherever it is stored (that was an package from extra).
Of course I'll appreciate any light on what this can be caused by. Just out of curiosity...
Archer since 03/2009 - AUR packages
Offline
I had this issue when I was updating my laptop, and did not fancy downloading a few hundred MBs again.
If you
pacman -Syu --ignore <package>
Where the <package> is the corrupt package(s), you can update your system without clearing the others which you have downloaded.
Then
pacman -Scc
To clear the cache
Then
pacman -Syu
again
Last edited by XFire (2009-10-07 06:42:43)
There is a difference between bleeding [edge] and haemorrhaging. - Allan
Offline