Disable Apt Recommends.

This disables apt's default behaviour of installing packages in the
Recommends field of other packages. While this can be useful, it
causes a lot of unnecessary software to be installed and may cause
explicit dependencies to be missed in some circumstances.

Change-Id: I10f4519290e6b3dafda3365c0c5dcc42ad17c090
This commit is contained in:
Chris Jones 2013-01-17 17:07:30 +00:00
parent 4c2c3a8738
commit 1951ac8838
2 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,9 @@
#!/bin/sh
# Prevent apt from installing recommended packages
dd of=/etc/apt/apt.conf.d/95disable-recommends << _EOF_
APT::Install-Recommends "0";
Apt::Install-Suggests "0";
_EOF_