[Bug 1800610] Re: [SRU] minimize number of manually installed packages
Julian Andres Klode
julian.klode at canonical.com
Fri Apr 5 14:28:38 UTC 2019
I looked at today's xubuntu daily image:
(1) Packages were being visited by the auto marker
(2) The built image has a lot of automatically marked packages, as we want
(3) Crucially, cryptsetup and lvm2 are still manual, so we avoid the regression from 1801629
-> Verified.
** Tags removed: verification-needed verification-needed-bionic
** Tags added: verification-done verification-done-bionic
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to livecd-rootfs in Ubuntu.
https://bugs.launchpad.net/bugs/1800610
Title:
[SRU] minimize number of manually installed packages
Status in livecd-rootfs package in Ubuntu:
Fix Released
Status in livecd-rootfs source package in Xenial:
New
Status in livecd-rootfs source package in Bionic:
Fix Committed
Bug description:
[Impact]
Releases prior to cosmic mark almost all packages manually installed, meaning that obsolete packages are not autoremoved when they should. We fixed this in cosmic, in trunk r1695, by including a new script that marks as automatically installed all dependencies of manually-installed metapackages.
[Test case]
Run a build and check in the log that some packages are visited by the script in more than one iterations.
[Regression potential]
First of all, this does not change existing installations; only new ones. The change can cause packages to be autoremoved that were not autoremoved before after performing a package management operation, or dependency change in packages.
The change is essentially safe: Since we only mark dependencies of
packages in the section "metapackages", and since those receive
special treatment by apt:
1. removal due to dependencies/conflicts: the manual bit transfers from the meta to its deps
2. explicit removal (apt remove meta): meta and its dependencies are removed
It is not possible to accidentally uninstall the entire metapackage
with its dependencies.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1800610/+subscriptions
More information about the foundations-bugs
mailing list