Remove Residual Packages
When you remove some packages using apt-get remove they are not completely removed and some configuration files are left. You can confirm this by executing following command.
dpkg -l | grep -i ^rc
Execute following command to remove all traces left by alredy removed packages.
dpkg -l | grep -i ^rc | awk '{print $1}' | xargs -n 10 sudo aptitude -y purge
Above command cleans up 10 removed package traces at a time.
Comments