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

Bug#238560: apt: Intermittent MD5Sum mismatch on download



Matt Zimmerman <mdz@debian.org> writes:

>> witch:/tmp# apt-get install mozilla-firefox
>> Reading Package Lists... Done
>> Building Dependency Tree... Done
>> The following NEW packages will be installed:
>>   mozilla-firefox
>> 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
>> Need to get 10.4MB of archives.
>> After unpacking 30.5MB of additional disk space will be used.
>> Get:1 ftp://ftp.debian.org unstable/main mozilla-firefox 0.8-4 [10.4MB]
>> Fetched 10.4MB in 32s (316kB/s)
>> Failed to fetch ftp://ftp.debian.org/debian/pool/main/m/mozilla-firefox/mozilla-firefox_0.8-4_i386.deb  MD5Sum mismatch
>> E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
>> 
>> Comparing the real MD5Sum of the file
>> ftp://ftp.debian.org/debian/pool/main/m/mozilla-firefox/mozilla-firefox_0.8-4_i386.deb with the MD5Sum listed in Packages shows that they are identical.
>> 
>> Thus, there appears to be a bug witin apt-get itself.
>
> It seems unlikely that apt is not calculating the md5sum correctly (I have
> the same version of mozilla-firefox successfully downloaded and installed
> here).  Try switching from ftp to http and see if that makes a difference.

OK, using http, it worked.  With ftp it didn't work as tested on two
of my systems (which have a rather similar configuration, though).

The funny thing is that I used ftp from within mozilla-firebird to
download the .deb package, and that downloaded file did have the
correct MD5Sum...  It seems, then, that the ftp protocol, as used from
apt (or whatever mechanism it hands it over to) can distort files, but
that these files are *not* distorted by the ftp protocol as used from
the browser.

Do you have further suggestions how to pin this bug down?

Best regards,
Mikael D.



Reply to: