Aptitude allows you to do this in a one-liner, without spawning apt over and over again. Plus, its conflict resolution options still beat apt’s “there’s a conflict, so you can either remove 95% of your system or you don’t install anything at all” approach.