Never-MarkAuto-Sections not working
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Debian) |
Opinion
|
Undecided
|
Unassigned | ||
apt (Ubuntu) |
Opinion
|
High
|
Unassigned |
Bug Description
"apt-get --purge autoremove ubuntu-standard" wants to remove a lot more packages than just ubuntu-standard. Bug 1479207 is a previous version of this.
Using apt version 1.5 on Artful Aardvark:
The following packages will be REMOVED:
accountsservice* apparmor* bind9-host* busybox-static* command-not-found* command-
friendly-
language-
This does work correctly on Trusty with apt version 1.0.1ubuntu2.17.
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
ubuntu-standard*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 61.4 kB disk space will be freed.
Do you want to continue? [Y/n] n
tags: | added: artful rls-aa-incoming xenial zesty |
Similar incorrect behavior is also seen with Ubuntu 16.04 and Ubuntu 17.04.
Ubuntu 16.04 with apt version 1.2.25
# apt-get --purge autoremove ubuntu-standard https* bind9-host* busybox-static* ca-certificates* command-not-found* command- not-found- data* cpio* cron* distro-info-data* dmidecode*
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
accountsservice* apt-transport-
dnsutils* friendly-recovery* ftp* fuse* geoip-database* gettext-base* ...
Ubuntu 17.04 with apt version 1.4.6~17.04.1
# apt-get --purge autoremove ubuntu-standard https* bind9-host* busybox-static* ca-certificates* command-not-found* command- not-found- data* cpio* cron* dbus* dh-python*
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
accountsservice* apparmor* apt-transport-
distro-info-data* dmidecode* dnsutils* friendly-recovery* ftp* fuse* geoip-database* gettext-base* gir1.2-glib-2.0*...