Ubuntu Notes: Difference between revisions

From Federal Burro of Information
Jump to navigationJump to search
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
update meta data:


  sudo apt-get update
  sudo apt-get update
  sudo apt-get autoclean
  sudo apt-get autoclean
  sudo apt-get clean
  sudo apt-get clean
Line 6: Line 9:


  apt-cache search keyword
  apt-cache search keyword
list stuff that could be upgraded ( analogy: yum check-updates):
apt list --upgradable




Line 11: Line 18:


  apt-get install --only-upgrade fail2ban
  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/
== kernel update ==
sudo update-initramfs -u -k 1.2.3-generic ( example )
then
sudo update-grub

Latest revision as of 03:09, 28 April 2023

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/

kernel update

sudo update-initramfs -u -k 1.2.3-generic ( example )

then

sudo update-grub