[arch-general] pacman and corrupt packages

Krzysztof Warzecha kwarzecha7 at gmail.com
Wed Jul 25 05:15:48 EDT 2012


2012/7/25 Ike Devolder <ike.devolder at gmail.com>:
>> That is an option I have not yet tried but I just want to preserve the
>> reproduction and debug the problem if there is any.

Maybe this will help:

cd /var/lib/pacman/pkg
for pkg in *; do bsdtar -tf $pkg > /dev/null || echo "$pkg is broken"; done

This is strange, for me, pacman always showed which package is broken
(and asked to delete it). Can you disable any ftp mirrors from your
mirrorlist ([1])? Could you post your pacman.conf?

[1] https://bbs.archlinux.org/viewtopic.php?pid=1050214#p1050214

-- 
Krzysztof Warzecha


More information about the arch-general mailing list