Dnf5 fails to report failure and even exits with zero, indicating success

dnf5 fails to report failure and even exits with zero, indicating success.

See issue:


Cause

Bug in the code.

Related Issues

Bugzilla report: #NNNN

Workarounds

Please apply commit ba0e0df555067c80f8d836b60cad3ef44953d404 from dnf5 master branch.

Thanks for the proposal. It seems to only affect dnf download, and so it doesn’t seem to be high-profile enough to get documented in Ask Fedora > Common Issues . If I misunderstood something, please let me know.

Yeah, sorry, I reported this issue in a wrong place. I opened a bug report on Red Hat Bugzilla and I believe the Fedora maintainers will take care of the issue.