DNF 5 ignores packages in groups by 3rd party repos - Fix in sight?

Hi,

since Fedora 41 officially introduces DNF 5, users pointed out that when e.g. upgrading a group, packages added by 3rd party in that group are ignored / not upgraded or installed.

You can read the details in this reddit thread:
https://www.reddit.com/r/Fedora/comments/1gluojj/psa_dnf5_seems_to_ignore_packages_added_to_a/

This makes the rpmfusion guide worthless as some packages are not installed. And it also made me switch back to Fedora 40 after upgrading to 41, as I was messing around with some packages and reinstalled some rpmfusion content only to realize, that I was missing things in the end.

The mentioned workaround in the reddit thread about using dnf4 instead of dnf in the command line didnā€™t work on my end.

Iā€™m curious to know if there is a fix for this in sight (or is it already fixed and I just missed it?) or if this is even intentional (which brings the questions to the table how to manage things like rpmfusion from now on)? Because this is essentially what is holding me back now to jump on Fedora 41.

Thank you!

One of the differences between dnf4 &5 is that it uses the group ID and not anymore the name. This might cause some trouble till we are used to it.

The biggest difference is in the name used for the group & syntax.
If you use the command dnf group list the name shown in the first column is the name required for dnf5. The name shown in the second column seems to be the name previously used for dnf4

ID                          Name                                        Installed
3d-printing                 3D Printing                                        no

This is the first group shown with ā€˜dnf group listā€™ and if I want to install it the command for dnf5 would be dnf install @3d-printing.

To install the same group using dnf4 syntax it would be dnf4 group install "3D Printing"

Dnf5 syntax is simpler, but definitely different.

Linking some bugs that are tracking this.
https://bugzilla.redhat.com/show_bug.cgi?id=2321111

Thanks.

You can look at whatā€™s installed with:
dnf rq --installed --qf "%{full_nevra} %{from_repo} %{repoid} \n" | column -t | grep rpmfusion-
or
dnf list --installed | grep rpmfusion
or
dnf list --installed | awk '$3 ~ "rpmfusion" '

1 Like

Happy holidays people.

@computersavvy
Thanks for the info, I wasnā€™t aware of this. Is there maybe some kind of handy cheat sheet with the important differences between dnf4 and dnf5?

@grumpey
Ah, so this seem to be an older ā€œproblemā€ than visible at first glance and with dnf5 being rolled out as default, more people come in contact with the unlucky behavior when using something like rpmfusion (which I bet many do). Thanks for the links, Iā€™ll definitely observe this. As I understand, there is no nice solution for this at the moment.

dnf5 is documented at Welcome to DNF5ā€™s documentation! ā€” dnf5 documentation

I have been using dnf4 long enough I have lost track of the documentation.

For both you can use the command line to get most of the needed documentation using the --help option or the man pages. (the man pages are helpful, the --help option more so)

Everyone will encounter the syntax changes in the cli. It is just a matter of when and if they are used to using that command syntax with dnf4 so they recognize the change.

The switch to dnf5 has been documented as planned and upcoming for several years. If users have not been paying attention they are caught by surprise. All of us must relearn the new syntax. So far I have been quite pleased with the changes.

Yeah, I know of the documentation docs, though I hoped for a more compact kind of ā€œdnf 4 vs dnf 5ā€ sheet for the top x changes or similar. But itā€™s not that important, just asked in the case there is something like this existing.

Well, donā€™t get me wrong, Iā€™m not saying the change is/was a surprise for people in general. Iā€™m just looking through the lens of a casual user (with focus on gaming and similar) who was brave enough to switch from Windows to Linux (Fedora) and wouldnā€™t call themself a power user. I think, for this kind of people, this will (and actually is) end up with searching and asking on different places on the internet about ā€œproblemsā€. Letā€™s just hope, this thing gets sorted out fast because, like it or not, rpmfusion is a kind of big part when it comes to Fedora and (casual) users with focus on gaming and multimedia. And this must work flawlessly if Redhat does plan to make Fedora the best daily desktop environment for Linux. :slight_smile: