Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian User (http://www.linux-archive.org/debian-user/)
-   -   apt-get auto-recommends (was Packages temporarily ...) (http://www.linux-archive.org/debian-user/69725-apt-get-auto-recommends-packages-temporarily.html)

Ron Johnson 04-14-2008 08:17 PM

apt-get auto-recommends (was Packages temporarily ...)
 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 04/14/08 15:02, Ron Johnson wrote:
> On 04/14/08 12:54, Sven Joachim wrote:
>> On 2008-04-14 19:24 +0200, Ron Johnson wrote:
>
>>> Since when does apt-get automatically pull in recommended packages?
>>> Quite frequently I see it recommend packages, but not automatically
>>> pull them in.
>> It does so by default since apt 0.7.7, October 2007.
>
> Ah.
>
> I've looked thru "man apt.conf", "man apt_preferences" and "man
> apt-get", but don't see any way to disable this.

Ok, after some digging, I found
$ apt-config dump
[snip]
APT::Install-Recommends "1";
APT::Install-Recommends:: "0";
APT::Install-Suggests "0";
[snip]

So I created /etc/apt/apt.conf.d/30autoinstall, with these contents:
APT
{
Install-Recommends "0"
};


- --
Ron Johnson, Jr.
Jefferson LA USA

We want... a Shrubbery!!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIA7vYS9HxQb37XmcRAovMAJ0YH4ymZhhyWU+GroUDCR 66A38SUwCg2C77
ixFXjEJGz3wtovb7HBmO7k0=
=Bc81
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


All times are GMT. The time now is 04:37 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.