[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

apt-get auto-recommends (was Re: 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+GroUDCR66A38SUwCg2C77
ixFXjEJGz3wtovb7HBmO7k0=
=Bc81
-----END PGP SIGNATURE-----


Reply to: