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

Re: Upgrading to Debian sarge



>>>>> "Brian" == Brian May <bam@debian.org> writes:

    Brian> root@debian:~# apt-cache show libc6 | grep MD5sum MD5sum:
    Brian> ab0895ee6d8d2cf3b6906eb5228e5c25

    Brian> root@debian:~# md5sum
    Brian> /var/cache/apt/archives/libc6_2.3.2.ds1-20_powerpc.deb
    Brian> 69301110f8865edd7f2f93d79ad6a715
    Brian> /var/cache/apt/archives/libc6_2.3.2.ds1-20_powerpc.deb

    Brian> Then again, this package looks old, so maybe the entire
    Brian> mirror is old, and no longer usable.

Hang on, please disregard this part of my post, the mirror is
up-to-date, but I was comparing with the old version of the deb file I
last successfully downloaded. Stupid!

The fact remains that (presumable all 600Meg) files downloaded
directly from this mirror were corrupt, according to apt-get.

Hmmm. My /var/cache/apt/archives has only 124Meg failed uploads, I
wonder where the rest went.

Anyway, the correct results for my test are:

root@debian:~# md5sum /var/cache/apt/archives/partial/libc6_2.3.2.ds1-22_powerpc.deb.FAILED
17a6aff5f72df60d303fbce0258d2962  /var/cache/apt/archives/partial/libc6_2.3.2.ds1-22_powerpc.deb.FAILED
root@debian:~# apt-cache show libc6 | grep '^Size'
Size: 4231786
root@debian:~# apt-cache show libc6 | grep MD5sum
MD5sum: ab0895ee6d8d2cf3b6906eb5228e5c25

-rw-r--r--  1 root root 4231786 May 12 12:47 /var/cache/apt/archives/partial/libc6_2.3.2.ds1-22_powerpc.deb.FAILED

Which md5sum is right? The file size is correct.

Hmmm, The archive looks broken:

root@debian:~# dpkg -c /var/cache/apt/archives/partial/libc6_2.3.2.ds1-22_powerpc.deb.FAILED
drwxr-xr-x root/root         0 2005-05-11 08:53:05 ./
drwxr-xr-x root/root         0 2005-05-11 08:52:49 ./sys/
drwxr-xr-x root/root         0 2005-05-11 08:53:31 ./lib/
-rwxr-xr-x root/root     94420 2005-05-11 08:53:11 ./lib/ld-2.3.2.so
-rw-r--r-- root/root     11384 2005-05-11 08:53:11 ./lib/libanl-2.3.2.so
[...]
-rw-r--r-- root/root     84720 2005-05-11 08:53:16 ./usr/lib/gconv/BIG5.so
-rw-r--r-- root/root    222144 2005-05-11 08:53:16 ./usr/lib/gconv/BIG5HKSCS.so
tar: Read 2308 bytes from -
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
dpkg-deb: subprocess tar returned error exit status 2


So the file sizes all look correct, but the files are corrupt.

Looks like time to switch mirrors.
-- 
Brian May <bam@debian.org>



Reply to: