[Bug 1912595] Re: unminimize shoud run apt with -–no-install-recommends

Robert C Jennings 1912595 at bugs.launchpad.net
Thu Jan 21 14:08:15 UTC 2021


I've moved this to the livecd-rootfs project which builds the images and
contains the unminimize script code.

Background: Ubuntu images themselves do install recommends for packages
in the base, so re-installing recommends was seen as appropriate to make
a stock minimized image look like the unminimized image on which it is
based.

But I understand your request that you've built atop the minimized
image, installing packages with -no-install-recommends and then from
that master image you want to create a un-minimized image.  We could add
an option to the unminimize script to give you --no-install-recommends
to match your additions, though that would mean the base contents would
not match.  I'm going to add a few people to this bug to discuss the
design and a solution.

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

** Project changed: livecd-rootfs => cloud-images

-- 
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/1912595

Title:
  unminimize shoud run apt with -–no-install-recommends

Status in cloud-images:
  New
Status in livecd-rootfs package in Ubuntu:
  New

Bug description:
  If running unmiminize after installing packages with –-no-install-
  recommends the recommended packages are installed. (Of course only if
  the root-package is found by one of the searches.)

  To fix this it should be sufficient to add –-no-install-recommends to
  all --reinstall.

  Usecase: I have a cross-compile image with cmake being installed with
  –-no-install-recommends, as I neither need gcc nor make. This image is
  used for the CI. Based on this image, a new image is created for local
  development. When running unminimize, make and gcc with all their
  dependencies are installed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-images/+bug/1912595/+subscriptions



More information about the foundations-bugs mailing list