diff options
author | James McCoy <jamessan@debian.org> | 2014-12-10 10:16:02 -0500 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2014-12-23 11:43:16 +0100 |
commit | e5ef23145f0dc6523a5c5321a21407c955777ad2 (patch) | |
tree | 48a4098aad587ee56f4cd93de696d63f74196795 /apt-pkg/aptconfiguration.cc | |
parent | 748a2177dcf8ff72bca90f5c7d516559ddd67352 (diff) |
tighten filtering of kernel images in apt.auto-removal
The current filtering matches the names of the image metapackages on the
i386 architecture:
$ dpkg-query -l | awk '/^ii[ ]+(linux|kfreebsd|gnumach)-image-[0-9]/ && $2 !~ /-dbg$/ { print $2 }'
linux-image-3.16.0-4-586
linux-image-586
This results in an extra image package being removed from
APT::NeverAutoRemove, losing the intended effect of keeping the {current,
previous, latest} set of images installed.
Requiring a “.” in the package name tightens the matched package names
to those that are installing a specific version of the image, thus
eliding the meta-packages.
Closes: 772732
Diffstat (limited to 'apt-pkg/aptconfiguration.cc')
0 files changed, 0 insertions, 0 deletions