Is this method the correct one if I want to forbid a foo package from being installed on Debian, even if this foo package is a dependency of another package? For example, geoclue is a dependency of Steam. However, I still want to install Steam, but not geoclue. geoclue is also a dependency of webkitgtk, and I want to install webkitgtk but not geoclue. The method: Code: nano /etc/apt/preferences Code: Package: geoclue Pin: origin "" Pin-Priority: -1 I'll try out Debian today, but I need to know if this is right BEFORE installing the system.
I haven't used Debian/Ubuntu for some time but I think that approach is correct as packages with a priority <0 will never be installed. EDIT: https://debian-handbook.info/browse/stable/sect.apt-get.html And more details from one of my bookmarks in Cherrytree: http://blog.opperschaap.net/2009/12...ile-on-debian-and-debian-based-distributions/