> I wonder if it would be nice for apt to have a feature so that a
> user could mark packages "never install".

That feature is APT pinning. You can achieve "never install" by
creating a file in /etc/apt/preferences.d,
e.g. /etc/apt/preferences.d/local-blacklist, containing something like

Package: unwanted-package other-unwanted-package
Pin: release *
Pin-Priority: -1


The apt_preferences(5) man page is the reference. As it says, a
priority value P < 0 prevents the version from being installed,
although I don't think it removes already-installed packages.

-- 
Cheers,
Clive

Reply via email to