Ubuntu 18.04.6 LTSいっくよー
$ sudo apt update && apt list --upgradable
linux-generic/bionic-updates 4.15.0.173.162 amd64 [upgradable from: 4.15.0.171.160]
linux-headers-generic/bionic-updates 4.15.0.173.162 amd64 [upgradable from: 4.15.0.171.160]
linux-image-generic/bionic-updates 4.15.0.173.162 amd64 [upgradable from: 4.15.0.171.160]
linux-libc-dev/bionic-updates 4.15.0-173.182 amd64 [upgradable from: 4.15.0-171.180]
linux-signed-generic/bionic-updates 4.15.0.173.162 amd64 [upgradable from: 4.15.0.171.160]
カーネルかー。寝るかー←
$ sudo apt dist-upgrade -y
$ cat /var/run/reboot-required*
*** System restart required ***
linux-base
カーネルだし。
$ sync; sync; sync; sudo reboot
(-人-)