$ apt install postgresql-11 $ apt purge postgresql-11 $ apt autoremove
if you execute these commands on a fresh Ubuntu or Debian installation you will find that a dependency named
postgresql-client-11 wasn't autoremoved along with other the dependencies despite having no dependents.
$ apt rdepends postgresql-client-11 --installed
This doesn't happen with
Can anyone explain why?