Apt

From DWIKI

Debian/Ubuntu package manager

 


FAQ

Show version of packages before installing

apt-get -s install somepackage

or

apt install madison-lite
apt-cache madison somepackage

have been kept back

Usually means you should run dist-upgrade

 

Unable to correct problems, you have held broken packages.

Try

dpkg --get-selections | grep hold


Clear cache

apt-get clean