On Wed, 2026-02-11 at 12:44 +0100, ogio.spam wrote: > Hello > > Il giorno gio, 05/02/2026 alle 18.44 +0000, Beartooth via users ha > scritto: > > > Installing: > > > kernel x86_64 > > > 6.18.8-200.fc43 > > > updates > > > 0.0 B kernel-core > > > x86_64 > > > 6.18.8-200.fc43 > > > updates > > > 97.6 MiB kernel-devel > > > x86_64 > > > 6.18.8-200.fc43 > > > updates > > > 84.4 MiB kernel-modules > > > x86_64 > > > 6.18.8-200.fc43 > > > updates > > > 96.3 MiB kernel-modules-core > > > x86_64 > > > 6.18.8-200.fc43 > > > updates > > > 68.0 MiB kernel-modules-extra > > > x86_64 > > > 6.18.8-200.fc43 > > > updates > > > 4.2 MiB > > > > > > Transaction Summary: > > > Installing: 6 packages Upgrading: 42 packages > > > Replacing: 43 packages Removing: 7 packages > > > > > > > This is a normal resume of dnf activities. > Kernels are installed and not replaced. > If the dnf conf permit it, old kernels are removed. > > So this is not a simple way to understand if a reboot is required. > > If you want to use it in a script, maybe you can try to upgrade only > kernel with a simple command: > # dnf upgrade kernel\* > If it returns something was installed you should reboot. > If there are some other package required by kernel they are installed > or upgraded. > > In DNF output the Instaling can appear even if a package is installed > from dependencies but not present before, or even if you install a > new > package. > > Also, I can add that not only kernel may require a reboot. > Imagine you have a service running (thare are a lot) and you upgrade > it > a lot of times... Maybe you never use new versions until restart the > service or reboot the system.
I use tracer (dnf install tracer) to see when things need to be restarted, including reboots for any reason (such as a new glibc). There's also a dnf plugin (man dnf-tracer). poc -- _______________________________________________ users mailing list -- [email protected] To unsubscribe send an email to [email protected] Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/[email protected] Do not reply to spam, report it: https://forge.fedoraproject.org/infra/tickets/issues/new
