Package: apt Version: 1.1.4 Severity: normal Hello,
Recently my sid chroot started becoming cluttered, and afaict autoremove is broken now. I cannot say when this started though. (sid)root@argenau:/# dpkg -l > /tmp/0.before (sid)root@argenau:/# DEBIAN_FRONTEND=noninteractive eatmydata apt-get --purge build-dep p11-kit Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: autoconf automake autopoint autotools-dev debhelper dh-autoreconf dh-strip-nondeterminism libffi-dev libfile-stripnondeterminism-perl libtasn1-6 libtasn1-6-dev libtool pkg-config po-debconf 0 upgraded, 14 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/3244 kB of archives. After this operation, 7939 kB of additional disk space will be used. [...] (sid)root@argenau:/# DEBIAN_FRONTEND=noninteractive eatmydata apt-get --purge autoremove Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: debhelper* dh-autoreconf* dh-strip-nondeterminism* libffi-dev* libfile-stripnondeterminism-perl* libtasn1-6* libtasn1-6-dev* pkg-config* po-debconf* 0 upgraded, 0 newly installed, 9 to remove and 0 not upgraded. After this operation, 2836 kB disk space will be freed. (sid)root@argenau:/# DEBIAN_FRONTEND=noninteractive eatmydata apt-get --purge autoremove Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. (sid)root@argenau:/# diff /tmp/0.before /tmp/1.after 7a8,11 > ii autoconf 2.69-9 all > automatic configure script builder > ii automake 1:1.15-3 all Tool > for generating GNU Standards-compliant Makefiles > ii autopoint 0.19.6-1 all The > autopoint program from GNU gettext > ii autotools-dev 20150820.1 all Update > infrastructure for config.{guess,sub} files 152a157 > ii libtool 2.4.2-1.11 all > Generic library support script (sid)root@argenau:/# for i in autoconf automake autopoint autotools-dev libtool ; do apt-mark showauto | grep $i || echo $i is manual ; done autoconf automake autopoint autotools-dev libtool (sid)root@argenau:/# DEBIAN_FRONTEND=noninteractive eatmydata apt-get --purge remove automake Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: automake* 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. After this operation, 1749 kB disk space will be freed. Do you want to continue? [Y/n] (Reading database ... 14034 files and directories currently installed.) Removing automake (1:1.15-3) ... Processing triggers for man-db (2.7.5-1) ... (sid)root@argenau:/# DEBIAN_FRONTEND=noninteractive eatmydata apt-get --purge autoremove Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. (sid)root@argenau:/# DEBIAN_FRONTEND=noninteractive eatmydata apt-get --purge remove autoconf Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: autoconf* 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. After this operation, 1914 kB disk space will be freed. Do you want to continue? [Y/n] (Reading database ... 13903 files and directories currently installed.) Removing autoconf (2.69-9) ... Purging configuration files for autoconf (2.69-9) ... Processing triggers for man-db (2.7.5-1) ... (sid)root@argenau:/# DEBIAN_FRONTEND=noninteractive eatmydata apt-get --purge autoremove Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. (sid)root@argenau:/# DEBIAN_FRONTEND=noninteractive eatmydata apt-get --purge remove autopoint Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: autopoint* 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. After this operation, 459 kB disk space will be freed. Do you want to continue? [Y/n] (Reading database ... 13824 files and directories currently installed.) Removing autopoint (0.19.6-1) ... Processing triggers for man-db (2.7.5-1) ... (sid)root@argenau:/# DEBIAN_FRONTEND=noninteractive eatmydata apt-get --purge autoremove Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. (sid)root@argenau:/# DEBIAN_FRONTEND=noninteractive eatmydata apt-get --purge remove libtool Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: libtool* 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. After this operation, 826 kB disk space will be freed. Do you want to continue? [Y/n] (Reading database ... 13817 files and directories currently installed.) Removing libtool (2.4.2-1.11) ... Processing triggers for man-db (2.7.5-1) ... (sid)root@argenau:/# DEBIAN_FRONTEND=noninteractive eatmydata apt-get --purge autoremove Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: autotools-dev* 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. After this operation, 155 kB disk space will be freed. [...] So after build-dep/autoremove five additional packages are installed, they are marked as autoinstalled and have no rdeps, but still autoremove does not grab them. cu Andreas
deb http://ftp.at.debian.org/debian sid main deb-src http://ftp.at.debian.org/debian sid main deb http://ftp.at.debian.org/debian/ experimental main #deb-src http://ftp.at.debian.org/debian/ experimental main
APT { NeverAutoRemove { "^firmware-linux.*"; "^linux-firmware$"; }; VersionedKernelPackages { # linux kernels "linux-image"; "linux-headers"; "linux-image-extra"; "linux-signed-image"; # kfreebsd kernels "kfreebsd-image"; "kfreebsd-headers"; # hurd kernels "gnumach-image"; # (out-of-tree) modules ".*-modules"; ".*-kernel"; "linux-backports-modules-.*"; # tools "linux-tools"; }; Never-MarkAuto-Sections { "metapackages"; "contrib/metapackages"; "non-free/metapackages"; "restricted/metapackages"; "universe/metapackages"; "multiverse/metapackages"; }; Move-Autobit-Sections { "oldlibs"; "contrib/oldlibs"; "non-free/oldlibs"; "restricted/oldlibs"; "universe/oldlibs"; "multiverse/oldlibs"; }; };
// DO NOT EDIT! File autogenerated by /etc/kernel/postinst.d/apt-auto-removal APT::NeverAutoRemove { "^linux-image-4\.3\.0-trunk-amd64$"; "^linux-headers-4\.3\.0-trunk-amd64$"; "^linux-image-extra-4\.3\.0-trunk-amd64$"; "^linux-signed-image-4\.3\.0-trunk-amd64$"; "^kfreebsd-image-4\.3\.0-trunk-amd64$"; "^kfreebsd-headers-4\.3\.0-trunk-amd64$"; "^gnumach-image-4\.3\.0-trunk-amd64$"; "^.*-modules-4\.3\.0-trunk-amd64$"; "^.*-kernel-4\.3\.0-trunk-amd64$"; "^linux-backports-modules-.*-4\.3\.0-trunk-amd64$"; "^linux-tools-4\.3\.0-trunk-amd64$"; }; /* Debug information: # dpkg list: # list of installed kernel packages: # list of different kernel versions: # Installing kernel: () # Running kernel: (4.3.0-trunk-amd64) # Last kernel: # Previous kernel: # Kernel versions list to keep: # Kernel packages (version part) to protect: 4\.3\.0-trunk-amd64 */
DSelect::Clean "auto"; //DSelect::Clean "never"; //APT::Get::List-Cleanup "false"; APT::Install-Recommends "false"; APT::Get::Build-Dep-Automatic "true";
// Pre-configure all packages with debconf before they are installed. // If you don't like it, comment it out. DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt || true";};