You are not logged in.

#1 2012-04-08 21:20:18

inp3dance
Member
Registered: 2008-06-23
Posts: 106

How to find which package is corrupted?

Hi,

I'm connected to the net throught a broadband connection right for the next few days and I have the following issue: I'm trying to install libreoffice, and for this, I have about 90 Mb of packages to download. Now because the connection is not too stable, and not fast at all, I had a few tries until I got all the stuff downloaded ( 1. here I mean packman downloaded for me; 2.I set aria2 as transfer command to continue the downloads ), but now pacman says that a package is corrupted and can't install.
The problem is that pacman does not say anything about which package is corrupted, the whole output is:

Targets (18): graphite-1:1.0.3-1  hsqldb-java-1:1.8.0.10-2  hyphen-2.8.3-1  libidl2-0.8.14-2  libreoffice-common-3.5.1-1  libreoffice-en-US-3.5.1-1  libwpd-0.9.2-2  libwps-0.2.2-2  lpsolve-5.5.2.0-2
              neon-0.29.6-4  orbit2-2.14.19-2  libreoffice-base-3.5.1-1  libreoffice-calc-3.5.1-1  libreoffice-draw-3.5.1-1  libreoffice-gnome-3.5.1-1  libreoffice-impress-3.5.1-1
              libreoffice-math-3.5.1-1  libreoffice-writer-3.5.1-1

Total Download Size:    0.00 MiB

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

Is there a way to find which package is corrupted? Because I would not start over the whole download process if it is possible, I'd like to re-download only the corrupted ones.
I'm using pacman 4.0.2, 32bit.

Thank you!

Offline

#2 2012-04-08 21:36:01

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

Re: How to find which package is corrupted?

pacman --debug will tell you which package it is.


Burninate!

Offline

#3 2012-04-11 09:49:39

inp3dance
Member
Registered: 2008-06-23
Posts: 106

Re: How to find which package is corrupted?

Gcool wrote:

pacman --debug will tell you which package it is.

Thanks for the tip, unfortunately did not helped me, the package, which was corrupted was not listed by the debug info. I started to manually test each package I downloaded and found the bad one that way. I kind of miss the old behavior, when pacman offered you to delete and re-download a package, if it did not passed the CRC verification.
But thanks anyway!

Offline

#4 2012-04-11 11:46:28

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: How to find which package is corrupted?

inp3dance wrote:

I kind of miss the old behavior, when pacman offered you to delete and re-download a package, if it did not passed the CRC verification.

https://bugs.archlinux.org/task/28014

Offline

#5 2012-04-12 14:51:18

inp3dance
Member
Registered: 2008-06-23
Posts: 106

Re: How to find which package is corrupted?

karol wrote:
inp3dance wrote:

I kind of miss the old behavior, when pacman offered you to delete and re-download a package, if it did not passed the CRC verification.

https://bugs.archlinux.org/task/28014

I hope it will be fixed.

Offline

Board footer

Powered by FluxBB