diff options
author | David Kalnischkies <david@kalnischkies.de> | 2017-01-19 03:57:45 +0100 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2017-02-22 18:11:44 +0100 |
commit | 7012a9b530109b68d7b27ff4b43968e8ac6d109d (patch) | |
tree | 027ca9d07a69c368ae1063007bab983e6874bac5 /test/integration/test-apt-get-upgrade | |
parent | 9a1ec661147e6c2580a889e6f53d9c7a8bf73b69 (diff) |
remove 'old' FAILED files in the next acquire call
If apt renames a file to .FAILED it leaves its namespace and is never
touched again – expect since 1.1~exp4 in which "apt clean" will remove
those files. The usefulness of these files rapidly degrades if you don't
keep the update log itself (together with debug output in the best case)
through and on 99% of all system they will be kept around forever just
to collect dust over time and eat up space.
With this commit an update call will remove all FAILED files of previous
runs, so that the FAILED files you have on disk are always only the ones
related to the last apt run stopping apt from hoarding files.
Closes: 846476
(cherry picked from commit 7ca83492e802967f183babf06ab541b1b51f1703)
(cherry picked from commit c8540403ed35fa36e1610fd90aeae8f66c126fdb)
Diffstat (limited to 'test/integration/test-apt-get-upgrade')
0 files changed, 0 insertions, 0 deletions