With a recent version of apt (I think since version 2, but I'm not sure, I'm using version 3.3.0) you could technically achieve your desired command line result with

# apt purge '?installed ?section(contrib)'

or more concise

# apt purge '~i~scontrib'

To see before what would happen add '-s'

$ apt purge '~i~scontrib' -s

If this achieves your mission statement "trying to make Debian comply to GNU/Linux", I don't know.

Regards,
Jörg.


Reply via email to