pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pciutils checksum mismatch



I think the first mirror it is choosing is having a faulty file with
smaller size and 2nd mirror downloads beyond that point. See trace below.

I downloaded manually from master site and the error went away.


=> Bootstrap dependency digest>=20010302: found digest-20111104
=> Fetching pciutils-3.1.10.tar.gz
=> Downloaded size:        0 bytes
=> Total size: 345149 bytes
Connected to pub2.kernel.org.
220 (vsFTPd 2.3.4)
331 Please specify the password.
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
200 Switching to Binary mode.
250 Directory successfully changed.
250 Directory successfully changed.
250 Directory successfully changed.
250 Directory successfully changed.
local: pciutils-3.1.10.tar.gz.pkgsrc.resume remote: pciutils-3.1.10.tar.gz
229 Entering Extended Passive Mode (|||19910|).
150 Opening BINARY mode data connection for pciutils-3.1.10.tar.gz (341894
bytes).
100% |********************************************************|   333 KiB
99.87 KiB/s    00:00 ETA
226 Transfer complete.
341894 bytes received in 00:03 (92.96 KiB/s)
221 Goodbye.
fetch: Size of the file pciutils-3.1.10.tar.gz.pkgsrc.resume doesn't
match.
Connected to atrey.karlin.mff.cuni.cz.
220 Welcome to Atrey FTP service.
331 Please specify the password.
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
200 Switching to Binary mode.
250 Directory successfully changed.
250 Directory successfully changed.
250 Directory successfully changed.
local: pciutils-3.1.10.tar.gz.pkgsrc.resume remote: pciutils-3.1.10.tar.gz
229 Entering Extended Passive Mode (|||5920|).
350 Restart position accepted (341894).
150 Opening BINARY mode data connection for pciutils-3.1.10.tar.gz (345149
bytes).
100% |********************************************************|   337 KiB
148.91 KiB/s    00:00 ETA
226 Transfer complete.
3255 bytes received in 00:00 (17.13 KiB/s)
221 Goodbye.
checksum: Checksum SHA1 mismatch for pciutils-3.1.10.tar.gz
ERROR: Make sure the Makefile and checksum file
(/usr/pkgsrc/sysutils/pciutils/distinfo)
ERROR: are up to date.  If you want to override this check, type
ERROR: "/usr/bin/make NO_CHECKSUM=yes [other args]".
*** Error code 1


On Sun, Sep 16, 2012 at 11:41:59PM +0200, Thomas Klausner wrote:
> On Sun, Sep 16, 2012 at 12:50:56PM +0530, Mayuresh wrote:
> > When building sysutils/pciutils get SHA1 mismatch error:
> > 
> >     checksum: Checksum SHA1 mismatch for pciutils-3.1.10.tar.gz
> > 
> > The file size matches the distinfo and the file looks intact otherwise
> > as I could examine its table of contents.
> > 
> > Is the checksum in distinfo incorrect?
> 
> Yes, for me it is:
> 
> /usr/pkgsrc/sysutils/pciutils> make checksum                                 
> => Bootstrap dependency digest>=20010302: found digest-20111104
> ===> Skipping vulnerability checks.
> WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
> WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg 
> fetch-pkg-vulnerabilities'.
> => Fetching pciutils-3.1.10.tar.gz
> => Total size: 345149 bytes
> Connected to atrey.karlin.mff.cuni.cz.
> 220 Welcome to Atrey FTP service.
> 331 Please specify the password.
> 230 Login successful.
> Remote system type is UNIX.
> Using binary mode to transfer files.
> 200 Switching to Binary mode.
> 250 Directory successfully changed.
> 250 Directory successfully changed.
> 250 Directory successfully changed.
> local: pciutils-3.1.10.tar.gz remote: pciutils-3.1.10.tar.gz
> 229 Entering Extended Passive Mode (|||47038|).
> 150 Opening BINARY mode data connection for pciutils-3.1.10.tar.gz (345149 
> bytes).
> 100% 
> |***********************************************************************************************************************************************************************|
>    337 KiB    1.06 MiB/s    00:00 ETA
> 226 Transfer complete.
> 345149 bytes received in 00:00 (0.99 MiB/s)
> 221 Goodbye.
> => Checksum SHA1 OK for pciutils-3.1.10.tar.gz
> => Checksum RMD160 OK for pciutils-3.1.10.tar.gz
> /usr/pkgsrc/sysutils/pciutils> cat distinfo 
> $NetBSD: distinfo,v 1.9 2012/07/01 15:49:14 wiz Exp $
> 
> SHA1 (pciutils-3.1.10.tar.gz) = 01eed212edfa5bbfedcf86d177ae2df4a4007d61
> RMD160 (pciutils-3.1.10.tar.gz) = e22ad4b49b077c210c5bdb8ee8e0373fc72d11de
> Size (pciutils-3.1.10.tar.gz) = 345149 bytes
> SHA1 (patch-aa) = 87071b0cb4173499b778ddccb633c88b490922a7
> SHA1 (patch-ab) = 1448bb418cdc908eb6652cc98994d23d0d78cea0
> SHA1 (patch-ac) = 4b90e99c051391b9cd3a6c1f5781f41b4a855c29
> SHA1 (patch-ad) = bfe9069e96fd46798afec73c93ad71db3a0e0e37
> 
> Try downloading it again.
>  Thomas


Home | Main Index | Thread Index | Old Index