1 # What packages use the most disk space? 2 dpkg-query -W -f='${Installed-Size;10}\t${Package}\n' | sort -n 3 4 # Reinstall conf files 5 sudo dpkg -i --force-confmiss /var/cache/apt/archives/whatever*deb 6 sudo aptitude install -o 'Dpkg::Options::=--force-confmiss' whatever # Doesn't work? 7
CategoryCheatSheet