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

apt: Problems with MD5 checksums trough firewall



Hello,

in the beginning of September this year I filed a bug against apt
because it produces wrong "Size mismatches" if used through squid
proxy.  (Sorry can't find the bug in the database any more.)  After
some tests the bug mysteriosely disappeared.  All worked fine for
some time.  But one day it reappeared :-((.  Now I use apt without
the squid proxy and -- the problem stays.  So perhaps the reason
for the strange behaviour wasn't the proxy (nor the mirror site which
could sometimes cause the same error - but I changed it to verify).
The problem now stays since more than one month and I wonder, if our
firewall configuration could possibly induce this behaviour.

It's to soon to file a bug-report until I know more from other
developers.  The effect is as follows:

~# apt-get install hello
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
  hello
0 packages upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
Need to get 19.5kB of archives. After unpacking 46.1kB will be used.
Get:1 http://ftp.tu-clausthal.de potato/main hello 1.3-16 [19.5kB]
Failed to fetch http://ftp.tu-clausthal.de/pub/linux/debian/dists/potato/main/binary-i386/devel/hello_1.3-16.deb
  Size mismatch
E: Unable to fetch some archives, maybe try with --fix-missing?

~> md5sum /var/cache/apt/archives/partial/hello_1.3-16_i386.deb
a9defe5d44eee6586a2aeac64d0d3224  /var/cache/apt/archives/partial/hello_1.3-16_i386.deb

~> ls -l /var/cache/apt/archives/partial/hello_1.3-16_i386.deb
-rw-r--r--    1 root     root        19488 Dez  4  1999 /var/cache/apt/archives/partial/hello_1.3-16_i386.deb

~> grep -A10 "^Package: hello$" /var/lib/dpkg/available
Package: hello
Priority: optional
Section: devel
Installed-Size: 45
Maintainer: Adam Heath <doogie@debian.org>
Architecture: i386
Version: 1.3-16
Depends: libc6 (>= 2.1)
Filename: dists/potato/main/binary-i386/devel/hello_1.3-16.deb
Size: 19488
MD5sum: a9defe5d44eee6586a2aeac64d0d3224

Does anybody have an idea what's the problem could be?

Kind regards

         Andreas.

PS: /etc/apt/apt.conf and sources.list appended.

deb http://ftp.tu-clausthal.de/pub/linux/debian potato main contrib non-free
deb http://ftp.tu-clausthal.de/pub/linux/debian-non-US potato non-US/main non-US/contrib non-US/non-free

deb-src http://ftp.debian.de/debian potato main contrib non-free
deb-src http://ftp.debian.de/debian-non-US potato non-US/main non-US/contrib non-US/non-free

##### local debian files
deb file:/home/debian potato local
deb file:/home/debian woody local main contrib non-free non-US/main non-US/non-free

# deb http://ftp.tu-clausthal.de/pub/linux/debian dists/proposed-updates/
# deb http://ftp.de.debian.org/debian dists/proposed-updates/

## security != proposed-updates
deb http://security.debian.org/ potato/updates main contrib non-free

## PostgreSQL
deb http://www.samfundet.no/~tfheen/debian potato main
// Pre-configure all packages before they are installed.
// (Automatically added by debconf.)
DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt";};

Reply to: