Remove All Packages Marked as rc by DPKG

You can install packages using dpkg. dpkg is quite a useful command line tool. In addition to installing packages, dpkg also helps to remove packages and know the status of packages. While checking the status of packages using dpkg, you may come across the state rc.