Comment 0 for bug 1430011

Revision history for this message
Scott Moser (smoser) wrote :

as described in bug 972077, apt's filesystem layout format is inherently racey. apt version 1.1 in debian/experimental now has support for downloading by hash rather than by filename, which reduces/removes the race conditions.

Ideally we'd have this in place for 15.10 and 16.04 in ubuntu.

relevant changelog in debian:
   * Implement simple by-hash for apt update to improve reliability of
     the update. Apt will try to fetch the Packages file via
     /by-hash/$hash_type/$hash_value if the repo supports that.
     - add APT::Acquire::$(host)::By-Hash=1 knob
     - add Acquire-By-Hash=1 to Release file