[arch-general] pacman and corrupt packages
Shridhar Daithankar
ghodechhap at ghodechhap.net
Tue Jul 24 23:33:42 EDT 2012
Hello All,
Last few days my net connection drops randomly or slows down to a crawl. As a
result, there are several timeouts during package downloads. When a download
timeout occurs, pacman aborts with "invalid or corrupted package".
Is it possible to detect which package is corrupt and invalid, so that it can
be downloaded?
When it happened with one package, I deleted it manually and next time it
worked but when several packages get timeout, its hard to detect the failing
one.
Does pacman has built-in retry functionality?
Here is the complete log.
-------------
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...
Targets (33): ati-dri-8.0.4-2 boost-libs-1.50.0-2 clang-3.1-3 cups-1.5.3-6
cups-filters-1.0.20-1 dbus-1.6.4-1 dbus-core-1.6.4-1 dovecot-2.1.8-2
gcc-4.7.1-5 gcc-libs-4.7.1-5
git-1.7.11.3-1 gnutls-3.0.21-2 icu-49.1.2-2
imagemagick-6.7.8.6-1 intel-dri-8.0.4-2 khrplatform-devel-8.0.4-2
libcups-1.5.3-6 libegl-8.0.4-2 libgl-8.0.4-2
libglapi-8.0.4-2 libgles-8.0.4-2 libmp4v2-2.0.0-2 llvm-3.1-3
mesa-8.0.4-2 nginx-1.2.2-2 python2-distribute-0.6.28-1 qt-4.8.2-3 qt-
gstreamer-0.10.2-2 svga-dri-8.0.4-2
taglib-1.7.2-2 ttf-liberation-2.00.0-1 tzdata-2012d-1 xf86-
video-intel-2.20.1-1
Total Installed Size: 515.40 MiB
Net Upgrade Size: 1.88 MiB
Proceed with installation? [Y/n] y
(33/33) checking package integrity
[#####################################################################] 100%
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.
-------------
With pacman -sy --debug I get following error snippet
-------------
debug: found cached pkg: /var/cache/pacman/pkg/ati-dri-8.0.4-2-
x86_64.pkg.tar.xz
debug: sig data:
iQEcBAABAgAGBQJQC9QHAAoJEJRlerIPKgkrd/EH/jhoIY6szxkh3AFGHogBLGe33tIcGhMchGI9jtxEht/Df+IB9X9tYC5nG62pOL9+v0Sl4yVLBW4Ni0mYdwQ0UfJr3Mt1s7C3LbTI1ucU8WZMZicXc8tDKurRnPBDkAqnhK4+H7
4qa6ALNfIDQK7PVQTIedAQDgO9WsPd3DsKcOfNbEXZrDZSBU3awoaQuezKaoif/JnSt7iRXn3hd8piuUgQuLQuksAe+Oa6MtEgXoCHQ22uzXa6nEV1EkO0q1sf8+0w/9+4mD3ejUutfLAQbxqmpfmw3kEuQ1eaICRLRgRu0ugKuwqi9cvdDBiw/27Z1QTkY
aUNtvdT66Wb5OuAJGI=
debug: checking signature for /var/cache/pacman/pkg/ati-dri-8.0.4-2-
x86_64.pkg.tar.xz
debug: 1 signatures returned
debug: fingerprint: ADC8A1FCC15E01D45310419E94657AB20F2A092B
debug: summary: valid
debug: summary: green
debug: status: Success
debug: timestamp: 1342952455
debug: exp_timestamp: 0
debug: validity: full; reason: Success
debug: key: ADC8A1FCC15E01D45310419E94657AB20F2A092B, Andreas Radke
<andyrtr at archlinux.org>, owner_trust unknown, disabled 0
debug: signature is valid
debug: signature is fully trusted
debug: returning error 6 from _alpm_pkg_validate_internal : wrong or NULL
argument passed
-------------
--
Regards
Shridhar
More information about the arch-general
mailing list