NEEDRESTART_MODE=arestart affected services automatically (no purple needrestart dialog)
apt upgrade -yupgrade all packages, answer yes
My note "deferred due to phasing" = Ubuntu rolls that update out gradually; run it again in a few days. Do NOT run do-release-upgrade for patching (that moves you to the next Ubuntu release).
#ubuntu
#packages
#kernel
Also known as: aka apt upgrade · update everything · patch vm · full update
Installs the newest kernel next to the current one. The new kernel is used after a reboot.
Dry run first
sudo dnf upgrade 'kernel*' --assumeno
sudo dnf upgrade 'kernel*' -y
What each part does
dnf upgrade 'kernel*'every installed kernel package: kernel on RHEL, kernel6.1 / kernel6.12 on AL2023 (quoted so the shell does not expand *)
My note Oracle Linux with UEK: sudo dnf upgrade kernel-uek -y. AL2023 not getting the "Fixed In" version? It may need a newer release: sudo dnf upgrade --releasever=latest
#rhel
#kernel
Also known as: aka kernel update · upgrade kernel · kernel6.12 · kernel-uek