On Fri, Jun 20, 2008 at 01:46:28PM +0200, Noel David Torres Taño <[EMAIL PROTECTED]> was heard to say: > El Thursday 19 June 2008 15:51:55 Daniel Burrows escribió: > > When you're upgrading packages, only *new* recommendations should be > > installed. So I was looking for a package where version N did not > > recommend fam, version M recommended fam, and you had upgraded from > > version N to version M. But in fact, I have an old .deb for libfam0 > > lying around, and both versions of it recommend fam. So I don't think > > that fam *should* be installed in this situation. > > > > Daniel > > Well, maybe the bug is in the documentation, instead. It reads > > -r, --with-recommends > Treat recommendations as dependencies when installing new packages > (this overrides settings in /etc/apt/apt.conf and ~/.aptitude/config). > > Maybe it is not clear enough that the option applies to new packages being > installed, instead of applying to the moment in which aptitude creates the > list of packages to install. That was what I thought. > > My suggestion: > > -r, --with-recommends > Treat recommendations as dependencies. This will work only for > installing new packages (this overrides settings in /etc/apt/apt.conf and > ~/.aptitude/config), and does not work for packages being upgraded.
That's not quite right, since aptitude also installs recommendations that appear in new versions of a package. Moreover, adding "-r" has the effect of disabling autoremoval of packages that are only recommended. If I want to be completely precise, something like this would be necessary. "Treat recommendations as dependencies. Package recommendations will automatically be installed if the recommending package is new or if the recommendation did not exist in previous versions of the package. Recommendations will prevent packages from being automatically removed while this option is enabled." but presumably I'll want to edit that language to make it clearer. Daniel -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]