diff options
author | David Kalnischkies <david@kalnischkies.de> | 2016-07-01 10:06:53 +0200 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2016-08-31 13:49:37 +0200 |
commit | 267314664da07b892bff7c2ee8060faaa3bed74d (patch) | |
tree | d51bc705fe1df0eacaefad5a6b37a09d21b1f382 /ftparchive/sources.cc | |
parent | 3880929d386eb93e390543e44bf4abdde2ec8c78 (diff) |
protect only the latest same-source providers from autoremove
Traditionally all providers are protected providing something as apt
can't know which of them is actually really providing the functionality
for the user ensuring that we don't propose the removal of used stuff,
but that is of course also keeping stuff around which could be removed.
That can cause the collection of multiple old providers until the
provided package is itself no longer needed (e.g. out-of-tree kernel
modules). We combat this by marking providers only from the newest
source package version so that old providers built by older versions of
the same source package can be garbage collected.
(cherry picked from commit a0ed43f7323b9d7976ed0ba8d437a42e24af9eaf)
Diffstat (limited to 'ftparchive/sources.cc')
0 files changed, 0 insertions, 0 deletions