I have a script that has lots "sudo apt install ..." commands. While running the script I realized that it also installs postfix which I didn't specify. Is there an easy way to identify which package installs postfix?
Edit: OK. In my situation the "mailutils" package installs postfix as a virtual package with the name default-mta. aptitude why postfix
gives the clue. Now I'm gonna use sudo apt install mailutils postfix-
(note the dash) to install mailutils without installing postfix.