@TJ

IIRC recommends (and suggests, with --install-suggests) are only
considered when upgrading/reinstalling a package if they are new
recommends which were not present with the previous version.  This
makes sense, if the user has previously requested a particular
recommends to be ignored it should not be installed on upgrades to the
base package:

- A recommends B, C
- user installs A but does not desire B: apt-get install A B-
- installed: A, C
- user upgrades A (B remains undesired): apt-get install A
- installed: A, C

However, new recommends will be installed on upgrade (as you
discovered):

- A=1 recommends B, C
- A=2 recommends B, C, D
- installed: A=1, C
- user upgrades A (B remains undesired): apt-get install A=2
- installed: A=2, C, D

Without this behaviour you would have to remember each and every
undesired recommends and specify them on subsequent commands, or
always run with --no-install-recommends and manually check for and
install new recommends.

Looking at the apt-get man page this appears to be undocumented.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/862776

Title:
  apt-get  --install-suggests install  is a NOOP

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/862776/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to