Comment 2 for bug 1995790

Revision history for this message
Mekaniserad Apelsin (blippe) wrote : Re: apt-patterns does not work as described in man pages

Just tested on bullseye and both commands below works as expected|indented, packages marked as automatically installed (and no longer needed) and packages with configuration files left are removed, as per apt subcommand.

$ sudo apt purge '~g|~c'
$ sudo apt remove '~g|~c'