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
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: hash/$hash_ type/$hash_ value if the repo supports that. :$(host) ::By-Hash= 1 knob
* Implement simple by-hash for apt update to improve reliability of
the update. Apt will try to fetch the Packages file via
/by-
- add APT::Acquire:
- add Acquire-By-Hash=1 to Release file