This will remove all the non-free packagesRE: exasperated by spaces
Code: Select all
vrms | grep Contrib -B99999 | grep ^[a-z] | awk '{print $1}' | xargs sudo apt-get purge --force-yes -y -V --trivial-only
Code: Select all
vrms | grep ^[a-z] | awk '{print $1}' | xargs sudo apt-get purge --force-yes -y -V --trivial-only
Rerunning the command(s) again without the "--trivial-only" option will do it for real (make sure you really want to do it).
As far as removal of additional dependent packages goes I'm only seeing that the ddm-mx and acroread-debian-files packages would be removed initially on my MX-16 install, several others though are listed as 'autoremovable'.