On Tue 2008-08-19 14:07:15 -0400, Daniel Kahn Gillmor wrote: > This was on a debian lenny amd64 vserver system. When i switched > /etc/apt/sources.list to use ftp.us.debian.org (instead of > ftp.debian,org), it looks like these silent errors went away.
These errors are back today, even with ftp.us.debian.org. apt-get (as opposed to aptitude) reports a clearer error (the numbers before the bash prompt are the return codes from the previous process, so you can see that aptitude fails (silently!) with status code 255, and apt-get fails (with clear output about what might be wrong) with status code 100: 0 ragnar:/# cat /etc/apt/sources.list deb http://ftp.us.debian.org/debian/ lenny main deb http://security.debian.org lenny/updates main 0 ragnar:/# aptitude -v -v -v -v -v -v update Hit http://ftp.us.debian.org lenny Release.gpg Ign http://ftp.us.debian.org lenny/main Translation-en_US Hit http://ftp.us.debian.org lenny Release Hit http://security.debian.org lenny/updates Release.gpg Ign http://security.debian.org lenny/updates/main Translation-en_US Get:1 http://ftp.us.debian.org lenny/main Packages [6938kB] Hit http://security.debian.org lenny/updates Release Ign http://security.debian.org lenny/updates/main Packages/DiffIndex Hit http://security.debian.org lenny/updates/main Packages Fetched 1B in 1s (1B/s) Reading package lists... Done Current status: 0 broken [+0], 0 updates [+0], 180 new [+0]. 255 ragnar:/# apt-get update Hit http://ftp.us.debian.org lenny Release.gpg Ign http://ftp.us.debian.org lenny/main Translation-en_US Hit http://security.debian.org lenny/updates Release.gpg Ign http://security.debian.org lenny/updates/main Translation-en_US Hit http://ftp.us.debian.org lenny Release Hit http://security.debian.org lenny/updates Release Ign http://security.debian.org lenny/updates/main Packages/DiffIndex Get:1 http://ftp.us.debian.org lenny/main Packages [6938kB] Hit http://security.debian.org lenny/updates/main Packages Fetched 1B in 1s (1B/s) W: Failed to fetch http://ftp.us.debian.org/debian/dists/lenny/main/binary-amd64/Packages.gz Hash Sum mismatch E: Some index files failed to download, they have been ignored, or old ones used instead. 100 ragnar:/# A first priority would be for aptitude to be clearer about why it's failing. Even 6 -v arguments don't seem to produce anything that indicates what the problem is. --dkg
pgpjfFhgO9wNf.pgp
Description: PGP signature

