Re: debian/control file: how to selectively suppress recommends?
> Marcel Partapwrites: > 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' > recommendations? Use apt_preferences(5)? Like, say: $ cat < /etc/apt/preferences.d/thanksbutnothanks.pref Explanation: Certain packages are not welcome here. Package: systemd-sysv upstart dbus dbus-x11 gconf-service ssl-cert acpi-support-base tsconf Pin: release c=main Pin-Priority: -42 $ -- FSF associate member #7257 http://am-1.org/~ivan/7D17 4A59 6A21 3D97 6DDB
Re: debian/control file: how to selectively suppress recommends?
On Wed, Sep 27, 2017 at 10:28 PM, Marcel Partap wrote: > Any ideas how to block installation of only some packages' recommendations? I assume that adding Breaks or Conflicts to your meta-packages for the packages you do not like should do the trick. You can even go one step further and add Provides for the cases where the packages you do not like are Depended on by some package in Debian. For example some desktops may Depend on CD/DVD related tools but your computer might not have a CD/DVD drive. With versioned Provides now being supported you can even prevent versioned Depends being installed. -- bye, pabs https://wiki.debian.org/PaulWise
debian/control file: how to selectively suppress recommends?
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' recommendations? #Best Regards/Marcel Partap