Bug 2360093 - dnfdragora-updater still requires python3-dnfdaemon that is missing
Summary: dnfdragora-updater still requires python3-dnfdaemon that is missing
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: dnfdragora
Version: 42
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Neal Gompa
QA Contact: Fedora Extras Quality Assurance
URL: https://github.com/manatools/dnfdrago...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-04-16 10:22 UTC by Rostislav Krasny
Modified: 2025-04-29 20:37 UTC (History)
5 users (show)

Fixed In Version: dnfdragora-2.99.0^git20250419.1.db076d9-1.fc43 dnfdragora-2.99.0^git20250421.1.2f707ee-1.fc43 dnfdragora-2.99.0^git20250421.1.2f707ee-1.fc42
Clone Of:
Environment:
Last Closed: 2025-04-21 23:18:58 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Rostislav Krasny 2025-04-16 10:22:26 UTC
After I upgraded my Fedora Cinnamon 41 to 42 the dnfdragora-updater stopped to run properly. After a short conversation with the upstream it turned out that unlike the main dnfdragora package its companion dnfdragora-updater package still requires python3-dnfdaemon that is missing now. It's missing because before Fedora 42 it was set as a requirement only of the dnfdragora package but not of the dnfdragora-updater. Now the dnfdragora-2.99.0-2.fc42 already doesn't have this requirement:

https://src.fedoraproject.org/rpms/dnfdragora/c/67d65bae9cfb9b26b77987bea0ea4389a9ce8c6e?branch=f42

And the dnfdragora-updater never had it. So the fix is probably just adding the python3-dnfdaemon as the requirement of the dnfdragora-updater package.

Maybe some future version of dnfdragora-updater will switch from python3-dnfdaemon to python3-libdnf5, like dnfdragora 2.99.0 did. But this isn't happened yet.

Reproducible: Always

Steps to Reproduce:
1. just try to run dnfdragora-updater manually in a terminal

Actual Results:
$ dnfdragora-updater
Traceback (most recent call last):
  File "/usr/bin/dnfdragora-updater", line 35, in <module>
    import dnfdaemon.client
ModuleNotFoundError: No module named 'dnfdaemon'

Expected Results:
Should run properly

Additional Information:
My conversation with the upstream could be found here:

https://github.com/manatools/dnfdragora/issues/246

Comment 1 Rostislav Krasny 2025-04-16 10:47:55 UTC
From my second computer that still uses Fedora 41:

$ dnf repoquery --installed --whatrequires python3-dnfdaemon
dnfdragora-0:2.1.5-7.fc41.noarch

As you can see in Fedora 41 the dnfdragora-updater doesn't set to require python3-dnfdaemon and uses it anyway by a side effect of installing the main dnfdragora package.

Comment 2 Fedora Update System 2025-04-20 06:26:55 UTC
FEDORA-2025-d729b6f603 (dnfdragora-2.99.0^git20250419.1.db076d9-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-d729b6f603

Comment 3 Fedora Update System 2025-04-20 06:30:59 UTC
FEDORA-2025-d729b6f603 (dnfdragora-2.99.0^git20250419.1.db076d9-1.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 4 Fedora Update System 2025-04-20 06:44:49 UTC
FEDORA-2025-e7a918e6d7 (dnfdragora-2.99.0^git20250419.1.db076d9-1.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-e7a918e6d7

Comment 5 Fedora Update System 2025-04-21 02:50:59 UTC
FEDORA-2025-e7a918e6d7 has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-e7a918e6d7`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-e7a918e6d7

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Rostislav Krasny 2025-04-21 07:46:43 UTC
Works better but still not properly: https://github.com/manatools/dnfdragora/issues/246#issuecomment-2817704551

Comment 7 Rostislav Krasny 2025-04-21 22:30:11 UTC
Please try to upgrade this package to the newer (the latest) snapshot version of dnfdragora. There are a few additional commits in the upstream, related to my bug reports.

Comment 8 Fedora Update System 2025-04-21 23:15:02 UTC
FEDORA-2025-bafadbd758 (dnfdragora-2.99.0^git20250421.1.2f707ee-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-bafadbd758

Comment 9 Fedora Update System 2025-04-21 23:18:58 UTC
FEDORA-2025-bafadbd758 (dnfdragora-2.99.0^git20250421.1.2f707ee-1.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 10 Fedora Update System 2025-04-22 01:44:43 UTC
FEDORA-2025-e7a918e6d7 has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-e7a918e6d7`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-e7a918e6d7

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 11 Fedora Update System 2025-04-29 20:37:33 UTC
FEDORA-2025-e7a918e6d7 (dnfdragora-2.99.0^git20250421.1.2f707ee-1.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.