Debian - purge packages marked with rc status


Packages with rc status are not completely removed from the system, configuration files are still present.

If you have a bunch of rc packages you need to purge, as root, type :

dpkg --list |grep "^rc" | cut -d " " -f 3 | xargs sudo dpkg --purge

Source :

Thanks for reading this post!

If you found an issue in this article, you can create an issue on Github.

If you have a comment or question, please drop me a line below!