Re: Upgrading to Debian sarge

2005-06-15 Thread Paul TBBle Hampson
On Sun, Jun 12, 2005 at 08:59:16AM +1000, Brian May wrote:
> Hello,

> I am attempting to upgrade a powerpc based system to sarge. It was
> previously on testing, but hasn't been updated for months.

> Then again, maybe the entire archive *is* corrupt!

> Failed to fetch 
> http://mirror.pacific.net.au/debian/pool/main/g/glibc/libc6-dev_2.3.2.ds1-22_powerpc.deb
>   MD5Sum mismatch
> Failed to fetch 
> http://mirror.pacific.net.au/debian/pool/main/g/glibc/libc6_2.3.2.ds1-22_powerpc.deb
>   MD5Sum mismatch

I vaugely remember dropping mirror.pacific.net.au from my list of
sources after having the same problem with MD5Sum mismatches. So
I think it may have existed for a while?

(It was also a testing machine... Maybe only one part of the archive
got corrupted somehow? I never tested the .debs themselves though. ^_^)

-- 
---
Paul "TBBle" Hampson, MCSE
8th year CompSci/Asian Studies student, ANU
The Boss, Bubblesworth Pty Ltd (ABN: 51 095 284 361)
[EMAIL PROTECTED]

"No survivors? Then where do the stories come from I wonder?"
-- Capt. Jack Sparrow, "Pirates of the Caribbean"

This email is licensed to the recipient for non-commercial
use, duplication and distribution.
---


pgpsMevuDUCJP.pgp
Description: PGP signature


Re: Upgrading to Debian sarge

2005-06-12 Thread Brian May
> "Brian" == Brian May <[EMAIL PROTECTED]> writes:

Brian> [EMAIL PROTECTED]:~# apt-cache show libc6 | grep MD5sum MD5sum:
Brian> ab0895ee6d8d2cf3b6906eb5228e5c25

Brian> [EMAIL PROTECTED]:~# 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:

[EMAIL PROTECTED]:~# 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
[EMAIL PROTECTED]:~# apt-cache show libc6 | grep '^Size'
Size: 4231786
[EMAIL PROTECTED]:~# 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:

[EMAIL PROTECTED]:~# 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/root222144 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 <[EMAIL PROTECTED]>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Upgrading to Debian sarge

2005-06-11 Thread Brian May
Hello,

I am attempting to upgrade a powerpc based system to sarge. It was
previously on testing, but hasn't been updated for months.

I left the download going overnight (over 600Meg downloads according
to aptitude), but it doesn't seem to like anything it downloads. No
errors, no warnings, but no packages upgraded either.

What is wrong?

[EMAIL PROTECTED]:~# aptitude install libc6
Reading Package Lists... Done
Building Dependency Tree
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
The following packages have been kept back:
[...]
The following packages will be upgraded:
  libc6 libc6-dev locales
3 packages upgraded, 0 newly installed, 0 to remove and 591 not upgraded.
Need to get 7296kB/11.3MB of archives. After unpacking 12.3kB will be used.
Do you want to continue? [Y/n/?]
Writing extended state information... Done
Get:1 http://mirror.pacific.net.au testing/main libc6-dev 2.3.2.ds1-22 [3064kB]
Get:2 http://mirror.pacific.net.au testing/main libc6 2.3.2.ds1-22 [4232kB]
Fetched 7296kB in 2m14s (54.3kB/s)
Reading Package Lists... Done
Building Dependency Tree
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
[EMAIL PROTECTED]:~# echo $?
0

If I run the same command again, I would get the same response.

Some sort of message and non-zero exit status would be really nice
here...

I have seen this behavior before for individual files, when one file
is corrupt, but surely the entire archive isn't corrupt?

Then again, maybe the entire archive *is* corrupt!

[EMAIL PROTECTED]:~# apt-get install libc6
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  libc6-dev locales
The following packages will be upgraded:
  libc6 libc6-dev locales
3 upgraded, 0 newly installed, 0 to remove and 591 not upgraded.
Need to get 7296kB/11.3MB of archives.
After unpacking 12.3kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://mirror.pacific.net.au testing/main libc6-dev 2.3.2.ds1-22 [3064kB]
Get:2 http://mirror.pacific.net.au testing/main libc6 2.3.2.ds1-22 [4232kB]
Fetched 7296kB in 2m14s (54.3kB/s)
Failed to fetch 
http://mirror.pacific.net.au/debian/pool/main/g/glibc/libc6-dev_2.3.2.ds1-22_powerpc.deb
  MD5Sum mismatch
Failed to fetch 
http://mirror.pacific.net.au/debian/pool/main/g/glibc/libc6_2.3.2.ds1-22_powerpc.deb
  MD5Sum mismatch
E: Unable to fetch some archives, maybe run apt-get update or try with 
--fix-missing?

[EMAIL PROTECTED]:~# apt-cache show libc6 | grep MD5sum
MD5sum: ab0895ee6d8d2cf3b6906eb5228e5c25

[EMAIL PROTECTED]:~# md5sum 
/var/cache/apt/archives/libc6_2.3.2.ds1-20_powerpc.deb
69301110f8865edd7f2f93d79ad6a715  
/var/cache/apt/archives/libc6_2.3.2.ds1-20_powerpc.deb

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

My point though that aptitude should tell you what went wrong.
-- 
Brian May <[EMAIL PROTECTED]>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]