You are not logged in.

#1 2012-03-17 10:01:23

Rumcajs
Member
Registered: 2009-09-25
Posts: 37

[SOLVED] Update fails : (invalid or corrupted package)

Hi
tried to update today but got a error :

> pacman -Su
:: Starting full system upgrade...
resolving dependencies...
warning: dependency cycle detected:
warning: udev will be installed before its util-linux dependency
looking for inter-conflicts...

Targets (99): e2fsprogs-1.42.1-1  jhead-2.95-1  kdeadmin-kcron-4.8.1-2
              kdeadmin-ksystemlog-4.8.1-2  kdeadmin-kuser-4.8.1-2
              kdeadmin-system-config-printer-kde-4.8.1-2
              kdebindings-python-4.8.1-3  kdebindings-python2-4.8.1-3
              kdegames-bomber-4.8.1-2  kdegames-bovo-4.8.1-2
              kdegames-granatier-4.8.1-2  kdegames-kajongg-4.8.1-2
              kdegames-kapman-4.8.1-2  kdegames-katomic-4.8.1-2
              kdegames-kbattleship-4.8.1-2  kdegames-kblackbox-4.8.1-2
              kdegames-kblocks-4.8.1-2  kdegames-kbounce-4.8.1-2
              kdegames-kbreakout-4.8.1-2  kdegames-kdiamond-4.8.1-2
              kdegames-kfourinline-4.8.1-2  kdegames-kgoldrunner-4.8.1-2
              kdegames-kigo-4.8.1-2  kdegames-killbots-4.8.1-2
              kdegames-kiriki-4.8.1-2  kdegames-kjumpingcube-4.8.1-2
              kdegames-klickety-4.8.1-2  kdegames-klines-4.8.1-2
              kdegames-kmahjongg-4.8.1-2  kdegames-kmines-4.8.1-2
              kdegames-knetwalk-4.8.1-2  kdegames-kolf-4.8.1-2
              kdegames-kollision-4.8.1-2  kdegames-konquest-4.8.1-2
              kdegames-kpatience-4.8.1-2  kdegames-kreversi-4.8.1-2
              kdegames-kshisen-4.8.1-2  kdegames-ksirk-4.8.1-2
              kdegames-kspaceduel-4.8.1-2  kdegames-ksquares-4.8.1-2
              kdegames-ksudoku-4.8.1-2  kdegames-ktron-4.8.1-2
              kdegames-ktuberling-4.8.1-2  kdegames-kubrick-4.8.1-2
              kdegames-libkdegames-4.8.1-2  kdegames-libkmahjongg-4.8.1-2
              kdegames-lskat-4.8.1-2  kdegames-palapeli-4.8.1-2
              kdesdk-cervisia-4.8.1-2  kdesdk-dolphin-plugins-4.8.1-2
              kdesdk-kapptemplate-4.8.1-2  kdesdk-kcachegrind-4.8.1-2
              kdesdk-kdeaccounts-plugin-4.8.1-2  kdesdk-kdepalettes-4.8.1-2
              kdesdk-kioslave-4.8.1-2  kdesdk-kmtrace-4.8.1-2
              kdesdk-kompare-4.8.1-2  kdesdk-kpartloader-4.8.1-2
              kdesdk-kprofilemethod-4.8.1-2  kdesdk-kstartperf-4.8.1-2
              kdesdk-kuiviewer-4.8.1-2  kdesdk-lokalize-4.8.1-2
              kdesdk-okteta-4.8.1-2  kdesdk-poxml-4.8.1-2
              kdesdk-scripts-4.8.1-2  kdesdk-strigi-analyzer-4.8.1-2
              kdesdk-umbrello-4.8.1-2  kdeutils-printer-applet-4.8.1-2
              krb5-1.10.1-1  libreoffice-base-3.5.1-1  libreoffice-calc-3.5.1-1
              libreoffice-common-3.5.1-1  libreoffice-draw-3.5.1-1
              libreoffice-en-US-3.5.1-1
              libreoffice-extension-pdfimport-3.5.1-1
              libreoffice-extension-presentation-minimizer-3.5.1-1
              libreoffice-extension-presenter-screen-3.5.1-1
              libreoffice-extension-report-builder-3.5.1-1
              libreoffice-gnome-3.5.1-1  libreoffice-impress-3.5.1-1
              libreoffice-kde4-3.5.1-1  libreoffice-math-3.5.1-1
              libreoffice-sdk-3.5.1-1  libreoffice-sdk-doc-3.5.1-1
              libreoffice-writer-3.5.1-1  libwbclient-3.6.3-4
              libx11-1.4.99.901-1  libxt-1.1.3-1  linux-3.2.11-1
              linux-docs-3.2.11-1  musepack-tools-475-2  pcmciautils-018-2
              samba-3.6.3-4  smbclient-3.6.3-4  ttf-inconsolata-20090215-3
              udev-181-5  util-linux-2.21-6  xmms2-0.8DrO_o-5  xproto-7.0.23-1

Total Installed Size:   798.54 MiB
Net Upgrade Size:       58.19 MiB

Proceed with installation? [Y/n] y
(99/99) checking package integrity                 [######################] 100%
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.

The error message is such USELESS ! Which PACKAGE is it? Goddammit !
Do i have to install 99 packages one by one to find out which one is it ?
Thx Pacman, great job.

Last edited by Rumcajs (2012-03-18 06:19:44)

Offline

#2 2012-03-17 10:14:36

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: [SOLVED] Update fails : (invalid or corrupted package)

I can understand this being frustrating; but try to take it easy.

Try running pacman in debug mode. It should normally tell you which package the checks fails on.

# pacman -Syu --debug

Burninate!

Offline

#3 2012-03-17 11:58:52

Rumcajs
Member
Registered: 2009-09-25
Posts: 37

Re: [SOLVED] Update fails : (invalid or corrupted package)

Gcool wrote:

I can understand this being frustrating; but try to take it easy.

Try running pacman in debug mode. It should normally tell you which package the checks fails on.

# pacman -Syu --debug

First thx for the quick answer, yeah it was frustrated because why not make it simple, clean and user friendly
by printing a serious error message with details.
Ok after successful redirecting the output of --debug to a file which was not easy to catch because things like
"pacman -Su --debug >debug.log" or "pacman -Su --debug | tee debug.log" fails. Finally i got it with
"pacman -Su --debug >debug.log 2>&1" (need press Y blind). After digging in the 4200 lines debug code
becuase simple search for things like "error" or "fails" didn't pays off i found this lines :
2672 debug: found cached pkg: /var/cache/pacman/pkg/kdegames-libkdegames-4.8.1-2-i686.pkg.tar.xz.part
2673 debug: using (package - .part) size
Looks like aria2c fails downloading it (.part)
Fixed it now after a long journey.

Offline

Board footer

Powered by FluxBB