diff options
author | Michael Vogt <mvo@ubuntu.com> | 2014-05-22 10:49:35 +0200 |
---|---|---|
committer | Michael Vogt <mvo@ubuntu.com> | 2014-05-22 11:00:32 +0200 |
commit | 50d98a1be2e15f44dea23a5d3840c79366a42fe0 (patch) | |
tree | 9ccb59516b2d03c1c6f335a0f11cb6957f091c45 /apt-pkg/update.cc | |
parent | e110d7bf5675f484c06b82f621ac98bedc464865 (diff) |
Implement simple by-hash for apt update
This implements a apt update schema that get the indexfiles by the
hash instead of the name. The rational is that updates to the archive
servers/mirrors are not atomic so the client may have the previous
version of the Release file when the server updates to a new
Release file and new Packages/Sources/Translations indexes. By
keeping the files around by their hash we can still get the previous
indexfile without a hashsum mismatch.
Enable with APT::Acquire::By-Hash=1
Diffstat (limited to 'apt-pkg/update.cc')
0 files changed, 0 insertions, 0 deletions