]> git.saurik.com Git - apt.git/commit
better error message for insufficient hashsums
authorDavid Kalnischkies <david@kalnischkies.de>
Sat, 18 Jun 2016 11:55:39 +0000 (13:55 +0200)
committerDavid Kalnischkies <david@kalnischkies.de>
Wed, 22 Jun 2016 12:05:01 +0000 (14:05 +0200)
commit562f0774f8f04d978c7cea69a29c131a0e0ec75f
tree04edc0a5de53db78f199625aa2764b303f5c0a8b
parent60a0cb424e91acebc2bba0f9add220b474e432e6
better error message for insufficient hashsums

Downloading and saying "Hash Sum mismatch" isn't very friendly from a
user POV, so with this change we try to detect such cases early on and
report it, preferably before download even started.

Closes: 827758
apt-pkg/acquire-item.cc
apt-pkg/acquire-worker.cc
test/integration/test-apt-update-weak-hashes