Ubuntu 22.04.5 LTSもいっとこ
$ sudo sh -c 'apt update && apt dist-upgrade -y'
:
The following NEW packages will be installed:
linux-headers-5.15.0-135 linux-headers-5.15.0-135-generic
linux-image-5.15.0-135-generic linux-modules-5.15.0-135-generic
linux-modules-extra-5.15.0-135-generic
The following packages will be upgraded:
cloud-init linux-generic linux-headers-generic linux-image-generic
4 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
:
$ cat /var/run/reboot-required*
linux-image-5.15.0-135-generic
$ sync; sync; sync; sudo reboot
(-人-)