← Back to team overview

group.of.nepali.translators team mailing list archive

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

 

This bug was fixed in the package livecd-rootfs - 2.525.20

---------------
livecd-rootfs (2.525.20) bionic; urgency=medium

  [ Steve Langasek ]
  * Drop /etc/update-motd.d/51-cloudguest from cloud images; this is not
    consistent with current Ubuntu Advantage product language.  Any future
    customizations to update-motd for cloud images should be done via a
    package instead.

  [ Julian Andres Klode ]
  * Minimize the number of manually installed packages in images by marking
    dependencies of metapackages as automatically installed. (LP: #1800610);
    but do not mark direct dependencies of ubiquity as auto installed. This
    caused cryptsetup to remain auto on the installed system in bionic (see
    LP #1801629)

 -- Steve Langasek <steve.langasek@xxxxxxxxxx>  Thu, 14 Mar 2019
11:04:49 -0700

** Changed in: livecd-rootfs (Ubuntu Bionic)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
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 Released

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


References