Here’s a trick you can use to purge packages that have already been removed with apt-get remove or aptitude remove. Check results of the following command. $ aptitude search '~c' If you think listed packages are OK to be purged, execute the following command. $ sudo aptitude purge '~c'