You are not logged in.
I haven't updated in a few months, and decided to start doing so today. But the package files seem to be consistently corrupted.
checking package integrity...
error: failed to commit transaction (invalid or corrupted package)
<package name>.pkg.tar.xz is invalid or corrupted
Errors occurred, no packages were upgraded.
This doesn't happen with all packages, but definitely most of the ones I've tried. Particularly those related to xorg, which makes updating a lot of other things impossible. I've tried five separate servers so far, running pacman -Scc and pacman -Sy on each one.
Last edited by Jimage (2010-12-13 10:08:13)
Offline
You should run -Syy to force a package list refresh. Make sure to pick a mirror from here:
https://www.archlinux.de/?page=MirrorStatus
Offline
Ran it with -Syy using Server = ftp://mirrors.kernel.org/archlinux/$repo/os/$arch
Still no dice.
Edit: Just tried two of the problematic packages (xorg-server and xorg-server-common) on my other Arch machine, and they worked. So I've obviously broken something on this one.
Could it have anything to do with an earlier error of pacman not being able to find liblzma.so.0? I worked around it by linking the .so file to liblzma.so.0, and then updated liblzma/xz, as well as pacman. Not sure what caused the original problem.
Last edited by Jimage (2010-12-13 09:26:14)
Offline
Could it have anything to do with an earlier error of pacman not being able to find liblzma.so.0? I worked around it by linking the .so file to liblzma.so.0
I guess it could... I would try to remove the symlink and re-install openssl, libarchive, libfetch and pacman.
Offline
Removing the symlink causes this error:
pacman: error while loading shared libraries: liblzma.so.0: cannot open shared object file: No such file or directory
Welp, I ran pacman -Sf on the four packages you suggested anyway. Pacman had no trouble with them and everything's running smoothly again. All the previously corrupt packages are functioning correctly again.
Problem solved, apparently. Cheers.
Offline
And here is the poster child for having random issues when symlinking libraries!
Offline