1. 2016-05-25 - Purge old packages from Linux; Tags: Purge old packages from Linux

    Purge old packages from Linux

    For deb based distributions like Debian, Ubuntu, it is advisable to purge old packages (have status rc, r=removed, c=config).

    List all removed packages that have config files:

    dpkg -l | awk '/^rc/ { print $2 }'

    Remove all old and unnecessary packages using apt-get:

    apt-get purge $(dpkg -l | awk '/^rc/ { print $2 }')
    apt-get autoremove

    Can also be done with dpkg

  2. 2015-07-07 - Debian Sources List Generator; Tags: Debian Sources List Generator

    Debian Sources List Generator

    The Debian Sources List Generator generates a sources.list file for apt (Advanced Packaging Tool). You can selected various options for each respective Debian version. Very useful is your apt is corrupted or was falsely deleted.