theitd icon

Debian upgrade clean-up

theitd | PRO | 09/02/15 07:20:44 AM UTC | 0 ⭐ | 526 👁️ | Never ⏰ | []
Bash |

400 B

|

None

|

0 👍

/

0 👎

## Purge after upgrade from Debian Wheezy to Jessie
 
#The following command displays a list of all removed packages that may have configuration files left on the system (if any):
 
dpkg -l | awk '/^rc/ { print $2 }'
 
#The packages can be removed by using apt-get purge. Assuming you want to purge all of them in one go, you can use the following command:
 
apt-get purge $(dpkg -l | awk '/^rc/ { print $2 }')

Comments