I'm using aptitude as package manager in Debian. How to mark the package never to be installed by it? Because from time to time, when I install some gnome utilities etc., systemd package gets installed by dependency and then my log-in manager (slim) does not work and I cannot login to graphical environment.
I know I should always check the list of things that are to be installed, but I sometimes forget. Can I prevent systemd from being installed?
*This won't work, because it only prevents package from upgrading:
sudo echo hold systemd | sudo dpkg --set-selections