Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Aptitude 0.4.10 may not listen to --without-recommends

User discussion about Debian Development, Debian Project News and Announcements. Not for support questions.
Post Reply
Message
Author
User avatar
Telemachus
Posts: 4574
Joined: 2006-12-25 15:53
Been thanked: 2 times

Aptitude 0.4.10 may not listen to --without-recommends

#1 Post by Telemachus »

Just something for people to keep an eye on. Aptitude 0.4.10 (ie, in Lenny and Sid) + newer versions of libapt can produce a situation where Aptitude doesn't listen to -R (--without-recommends). That is: you tell Aptitude to install without including recommends, but it wants to install recommended packages anyhow. The newest version of Aptitude (which just moved into experimental on Sunday) fixes the issue, but there's another work around. Include both these lines in your /etc/apt/apt.conf:
APT::Install-Recommends "false";
Aptitude::Recommends-Important "false";
Here's a bug report and Daniel Burrows's release notes on 0.4.11 (coming soon to a branch of Debian near you): http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=458189
http://algebraicthunk.net/~dburrows/pro ... ase-notes/

Eck
Posts: 740
Joined: 2007-06-27 16:13

#2 Post by Eck »

Another way for when you want recommends most of the time but there are some that are unwanted is to use aptitude from its gui.

You can + the install then hit g for the summery page to come up. In the details scroll to the dependencies to be installed with it and when you spot the recommended package you don't want, highlight it and hit - and then go ahead and hit g again for the installation.

I've done that for a few items that I felt didn't add and could interfere such as the recommend of the Fluendo gstreamer mp3 playback codec being a recommendation of the Brasero cd/dvd burning package. No need for that if you've got the gstreamer0.10-plugins-ugly and the gstreamer-ffmpeg-full and libmad combination installed. It might even interfere with the desired plugins working properly in the players.
Lenovo z560 Laptop Nvidia GeForce 310m Hitachi 500GB HD Intel HD Audio 4GB RAM

Post Reply