[Bug 1800610] Re: [SRU] minimize number of manually installed packages

Launchpad Bug Tracker 1800610 at bugs.launchpad.net
Tue Oct 30 09:10:54 UTC 2018


** Branch linked: lp:~juliank/livecd-rootfs/minimize-manual-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:
  In Progress

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