$ dpkg --list |grep "^rc"
Let’s extract out the packages marked as RC:
$ dpkg --list |grep "^rc" | cut -d " " -f 3
Now let’s remove all the packages marked as RC:
$ dpkg --list |grep "^rc" | cut -d " " -f 3 | xargs sudo dpkg --purge
* RC corresponds to:
R: the package was marked for removal
C: the configuration files are currently present in the system
Nenhum comentário :
Postar um comentário