As far as I can tell, triggerhappy is a daemon for handling custom input. Since I have no direct use for this functionality (and there are no rules in /etc/triggerhappy/triggers.d/ by default) I want to remove it (for security/performance/OCD reasons).
But when I try to do so, apt-get removes raspi-config too, since its package depends on triggerhappy.
admin@rpi:/ $ sudo apt-get remove triggerhappy ... The following packages will be REMOVED: raspi-config triggerhappy ... Removing raspi-config (20160225) ... Removing triggerhappy (0.3.4-2) ... Processing triggers for man-db (18.104.22.168-5) ... admin@rpi:/ $
At first glace, this dependency doesn't make any sense to me.
Why does raspi-config depend on triggerhappy?