Description of problem: When running F22 in a docker container and running 'koji latest-pkg rawhide docker' I get: Traceback (most recent call last): File "/usr/bin/koji", line 56, in <module> import yum.comps ImportError: No module named yum.comps After I install yum, yum.comps is installed and koji command works as expected. Version-Release number of selected component (if applicable): dnf-1.0.0-1.fc22.noarch koji-1.9.0-11.fc22.20150423git52a0188.noarch docker-io-1.5.0-1.fc20.x86_64 (don't think docker version is relevant) How reproducible: Always Steps to Reproduce: # systemctl start docker # docker run -it fedora:latest /bin/bash Inside docker container run: # dnf install koji -y # koji latest-pkg rawhide docker Actual results: Traceback (most recent call last): File "/usr/bin/koji", line 56, in <module> import yum.comps ImportError: No module named yum.comps Expected results: Build Tag Built by ---------------------------------------- -------------------- ---------------- docker-1.7.0-17.gitdcff4e1.fc23 f23 lsm5 Additional info: Installing yum fixes this issue.
Maybe dnf package should provide missing yum.comps module. What do you think Michal?
DNF uses its own comps implementation and therefore it's not a good idea to include some unrelated piece of code from YUM. The solution here is to mark yum as a koji dependency and port koji to dnf in long term.
What about provide python-yum-comps subpackage of dnf? Or create a new package providing missing module? Which would be obsoleted once koji is updated or yum.comps replaced.
> The solution here is to mark yum as a koji dependency > and port koji to dnf in long term. It would result having yum and dnf on the same system. Is not one of the targets of dnf to replace yum?
Yes, the main goal is to replace YUM but not by treasuring some unmaintained fragments of YUM under DNF. Also, please be aware of YUM's incompatibility with Python 3 which IIRC is planed as default for F23. DNF team is open to assist with any issues that will arise during koji migration to DNF, but this proposal is no go for us.
*** Bug 1220574 has been marked as a duplicate of this bug. ***
Still the same in F23. Dennis, can you add the missing "Requires: yum" ?
Got hit by this too. I work around it using "dnf install fedora-packaging", but that feels ugly.
Also hitting this in F23
koji-1.10.1-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-65152c5896
koji-1.10.1-1.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-82b7665427
koji-1.10.1-1.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-d3a5f5be18
koji-1.10.1-1.el6 has been submitted as an update to Fedora EPEL 6. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-9afc1888c0
koji-1.10.1-1.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with $ su -c 'dnf --enablerepo=updates-testing update koji' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-82b7665427
koji-1.10.1-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with $ su -c 'dnf --enablerepo=updates-testing update koji' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-65152c5896
koji-1.10.1-1.el6 has been pushed to the Fedora EPEL 6 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with $ su -c 'yum --enablerepo=epel-testing update koji' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-9afc1888c0
koji-1.10.1-1.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with $ su -c 'yum --enablerepo=epel-testing update koji' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-d3a5f5be18
koji-1.10.1-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.
koji-1.10.1-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.
koji-1.10.1-3.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-89a1a2a853
koji-1.10.1-3.el6 has been submitted as an update to Fedora EPEL 6. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-8ce765ff4f
koji-1.10.1-3.el6 has been pushed to the Fedora EPEL 6 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-8ce765ff4f
koji-1.10.1-3.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-89a1a2a853
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
koji-1.10.1-3.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.
koji-1.10.1-3.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.