Command Line Updates vs Software

I’ve noticed with Fedora 40 that updates through “Software” don’t always include updates available at the “Command Line”. I’ve also noticed that updating with the “Command Line” don’t take effect with a restart. If updates via the “Command Line” require a shut down, that option should be presented to the user.

Gnome software gets it’s update list periodically so it may not always perfectly match what you see in dnf.

The meta data for cli dnf and gui software are independently updated based on how old the metadata is.

This is why you can sometime see different packages offer for update by each method.

When doing a update of all packages from the cli I use this --refresh to ensure I get all available updated packages:

sudo dnf update --refresh

You can use this command to see if a reboot is needed:

sudo dnf needs-restarting --services --rehoothint

I always use --refresh.

Thank you.

Thanks for the reply!

Added updates

Added dnf, packagekit