diff options
author | David Kalnischkies <david@kalnischkies.de> | 2015-05-19 10:40:55 +0200 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2015-06-07 09:42:53 +0200 |
commit | 58702f8563a443a7c6e66253b259c2488b877290 (patch) | |
tree | fcc3b9d5689237cf36fb496989b670299c1641aa /test/libapt/hashsums_test.cc | |
parent | 4fc6b7570c3e97b65c118b58cdf6729fa94c9b03 (diff) |
don't try other compressions on hashsum mismatch
If we e.g. fail on hash verification for Packages.xz its highly unlikely
that it will be any better with Packages.gz, so we just waste download
bandwidth and time. It also causes us always to fallback to the
uncompressed Packages file for which the error will finally be reported,
which in turn confuses users as the file usually doesn't exist on the
mirrors, so a bug in apt is suspected for even trying it…
Diffstat (limited to 'test/libapt/hashsums_test.cc')
0 files changed, 0 insertions, 0 deletions