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

Morty 1912595 at bugs.launchpad.net
Thu Feb 11 08:53:20 UTC 2021


I strongly disagree with your conclusion. As already discussed in #2,
the policy is not overridden. --no-install-recommmends would only be
passed when reinstalling(!) packages, not to the apt-get upgrade step.
All recommended packages have already been installed at this point -
unless they have explicitly not been installed.

The workaround however works for me.

-- 
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:
  Won't Fix
Status in livecd-rootfs package in Ubuntu:
  Won't Fix

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