Ubuntu Notes

From Federal Burro of Information
Revision as of 17:51, 5 September 2019 by David (talk | contribs)
Jump to navigationJump to search

update meta data:

sudo apt-get update
sudo apt-get autoclean
sudo apt-get clean
sudo apt-get autoremove
apt-cache search keyword

list stuff that could be upgraded ( analogy: yum check-updates):

apt list --upgradable 


apt list --installed
apt-get install --only-upgrade fail2ban

want all , including kernel?

apt-get dist-upgrade  --dry-run


apt list --upgradable 
apt-get install --only-upgrade

debsums

checking the integrity of packages;

https://blog.sleeplessbeastie.eu/2015/03/02/how-to-verify-installed-packages/