Report after upgrade
I have some Hetzner VM doing nothing and since they support very few distros out of the box I went initially with Ubuntu. I can't stand the thing and will replace it soon but there is one nicely done bit: after sudo apt-get upgrade it shows nice overview of actions caused by the upgrade:
Pending kernel upgrade!
Running kernel version:
6.8.0-63-generic
Diagnostics:
The currently running kernel version is not the expected kernel version 6.8.0-71-generic.
Restarting the system to load the new kernel will not be handled automatically, so you should consider rebooting.
Restarting services...
systemctl restart multipathd.service packagekit.service polkit.service rsyslog.service ssh.service
Service restarts being deferred:
/etc/needrestart/restart.d/dbus.service
systemctl restart [email protected]
systemctl restart [email protected]
systemctl restart systemd-logind.service
systemctl restart unattended-upgrades.service
No containers need to be restarted.
User sessions running outdated binaries:
dx @ session #1: ssh-agent[1086]
dx @ session #5707: sshd[381788,381867], tmux: server[381922]
dx @ user manager service: systemd[974]
No VM guests are running outdated hypervisor (qemu) binaries on this host
Is there anything similar for pacman to show what needs restarting? When I install Artix on server I would love to have report like this.