1951ac8838
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
9 lines
182 B
Bash
Executable file
9 lines
182 B
Bash
Executable file
#!/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_
|
|
|
|
|