Skip to content

fix: dnf module doesn't work for latest version of fedora/dnf5 #1045

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 23, 2025

Conversation

theymightbetim
Copy link
Contributor

@theymightbetim theymightbetim commented Mar 23, 2025

The current implementation of the dnf module doesn't work for Fedora 41.
dnf updateinfo outputs a missing argument error causing it to always display 0/0/0/0

-Updated command to dnf updateinfo summary

the output of dnf updateinfo summary differs slightly from the former format. The new format is as follows:

Updating and loading repositories:
Repositories loaded.
Available advisory information summary:
Security    : 28
  Critical  : 1
  Important : 7
  Moderate  : 15
  Low       : 3
  Other     : 2
Bugfix      : 90
Enhancement : 63
Other       : 46
  • Updated the parsing function to handle the new format.

@tobi-wan-kenobi
Copy link
Owner

Thanks a lot for the fix!

@tobi-wan-kenobi tobi-wan-kenobi merged commit 993810c into tobi-wan-kenobi:main Mar 23, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants