I run Fedora 42 with Gnome 48.
I used to update my installation for years with the command:
dnf update --best --allowerasing
Now I detected that Fedora’s Software App seem to use different repositories and marks some software to be updated that are not covered with my
dnf update --best --allowerasing
How can I assure that the Software app does not use different repositories? How can I assure that my dnf command covers all software that is installed?
Besides my questions: I know that dnf was recently replaced by dnf5 and that I now should use
although I executed sudo dnf5 upgrade --best --allowerasing just minutes before. That’s why I am searching where Software manages its repositories and ask how I can consolidate with DNF5.
I hope my concerns are clearer now.
Thank you for the hints.
I know that dnf is still an alias for dnf5, but sometimes the commands change, e.g. instead of dnf update it is now dnf upgrade.
I’m going to speculate that what you are really asking for is how to use the flatpak cli command to update all the flatpaks on the system in a similar way that you are using dnf cli command to update the rpms. Assuming that’s true you’d want to learn how to use the flatpak command starting probably with flatpak update
But if my guess is what you are looking for is wrong, then there is probably a deeper confusion about how things work that needs to be addressed.
There are two different packaging technologies in play here… rpm and flatpaks
rpms is much more granular in practise than flatpaks… which is a direct result of the design and intent of each packaging system. rpms packages are meant to be deeply interconnected via a set of shared dependencies, down to the individual versioned library level. rpms are a system oriented packaging concept. flatpaks packages are application oriented packaging concept and are intended to be far less granular and far less interconnected via dependencies, where applications are encourage to bundle libraries they need instead using the systemwide (or use one of a few curated runtimes that bundle a lot of common libraries).
dnf cli command only manages rpm packages and rpm repositories
the flatpak cli command only manages flatpak packages and flatpak repos
The gnome software ui provides an overlay user interface that sort of abstracts multiple packaging systems, for common operations, but does not expose all the functionality of any packaging system.
There’s no way to “consolidate” rpm and flatpak based packaging in any real sense afaik.
At best you can use the systemwide rpm update tools and the flatpak update tools on the same cadence.
Then run updateos from CLI whenever you want to update the system.
You can remove the -y (i.e. --assumeyes) flag for greater control of the update process (but slightly less automated), as well as change the name of the alias to your liking.