← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1800610] [NEW] [SRU] minimize number of manually installed packages

 

Public bug reported:

[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.

** Affects: livecd-rootfs (Ubuntu)
     Importance: Undecided
         Status: Fix Released

** Affects: livecd-rootfs (Ubuntu Xenial)
     Importance: Undecided
         Status: New

** Affects: livecd-rootfs (Ubuntu Bionic)
     Importance: Undecided
         Status: In Progress

** Also affects: livecd-rootfs (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Also affects: livecd-rootfs (Ubuntu Bionic)
   Importance: Undecided
       Status: New

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

** Changed in: livecd-rootfs (Ubuntu Bionic)
       Status: New => In Progress

-- 
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:
  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


Follow ups