List (and remove) installed packages which are not up to date
This needs "apt-show-versions" installed on your system. This is very usefull after a dist-upgrade to identify old packages and libraries
apt-show-versions | grep -v uptodate
If you want to purge ALL these packages, you may use this at your own risk:
apt-show-versions | grep -v uptodate | awk {'print $1'} | xargs dpkg -P
Written by Andre Timmermann
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Debian
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#