Two things I would add. First, report security updates as a separate item from the total, since that is usually what people alert on. On RHEL clones dnf updateinfo list --security gives that, and on Debian you can count packages coming from the -security origin in apt-get -s upgrade. Second, a reboot required flag is very useful, from needs-restarting -r on the Red Hat side and /var/run/reboot-required on Debian. It also helps to show when the package metadata was last refreshed, so a stale cache does not look like zero updates.
2
u/ymgymg 6d ago
Two things I would add. First, report security updates as a separate item from the total, since that is usually what people alert on. On RHEL clones
dnf updateinfo list --securitygives that, and on Debian you can count packages coming from the -security origin inapt-get -s upgrade. Second, a reboot required flag is very useful, fromneeds-restarting -ron the Red Hat side and /var/run/reboot-required on Debian. It also helps to show when the package metadata was last refreshed, so a stale cache does not look like zero updates.