Re: debian/control file: how to selectively suppress recommends?
- Date: Wed, 04 Oct 2017 16:50:10 +0000
- From: Ivan Shmakov <ivan@xxxxxxxxxxx>
- Subject: Re: debian/control file: how to selectively suppress recommends?
>>>>> Marcel Partap <mpartap@xxxxxxx> writes:
> Dear fellow Debianauts, right now I am in the process of migrating my
> selection of manually installed packages to a freshly debootstrapped
> install using a set of meta-packages built with equivs. While that
> works nice and well, in some instances, I would like to limit the
> number of recommends being pulled in, without turning recommends off
> completely (the meta-packages themselves use
> Recommends:dependencies). So the --no-install-recommends parameter
> or APT::Install-Recommends "0" are of no help in this case. Any
> ideas how to block installation of only some packages'
Use apt_preferences(5)? Like, say:
$ cat < /etc/apt/preferences.d/thanksbutnothanks.pref
Explanation: Certain packages are not welcome here.
dbus dbus-x11 gconf-service
Pin: release c=main
FSF associate member #7257 http://am-1.org/~ivan/ 7D17 4A59 6A21 3D97 6DDB