Bug 1198442
| Summary: | dnf-plugins-core package does not work with dnf package in rawhide | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jens Petersen <petersen> | ||||
| Component: | dnf-plugins-core | Assignee: | Honza Silhan <jsilhan> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | rawhide | CC: | jsilhan, mjuszkie, mluscon, mokomull, nwaldyd, pnemade, rholy, tim.lauridsen | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | dnf-plugins-core-0.1.6-3.fc22 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2015-04-21 19:26:07 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Jens Petersen
2015-03-04 07:18:32 UTC
hrw informed me on #fedora-devel that this might be know and due to f23 dnf having moved to python3 but not plugins-core yet. To be more precise:
dnf/f23 is using python3 now by default.
dnf-plugins-core/f23 fails to build due to lack of python3 version of python-kickstart:
Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.plbYnV
+ umask 022
+ cd /builddir/build/BUILD
+ cd dnf-plugins-core
+ PYTHONPATH=./plugins
+ /usr/bin/nosetests-2.7 -s tests/
............E.............
======================================================================
ERROR: Failure: ImportError (No module named pykickstart.parser)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/nose/loader.py", line 414, in loadTestsFromName
addr.filename, addr.module)
File "/usr/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/builddir/build/BUILD/dnf-plugins-core/tests/test_kickstart.py", line 29, in <module>
import kickstart
File "/builddir/build/BUILD/dnf-plugins-core/plugins/kickstart.py", line 25, in <module>
import pykickstart.parser
ImportError: No module named pykickstart.parser
----------------------------------------------------------------------
Ran 26 tests in 0.020s
FAILED (errors=1)
RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.plbYnV (%check)
Bad exit status from /var/tmp/rpm-tmp.plbYnV (%check)
Child return code was: 1
EXCEPTION: Command failed. See logs for output.
# bash --login -c /usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/dnf-plugins-core.spec
http://koji.fedoraproject.org/koji/taskinfo?taskID=9135435 is scratch build.
Created attachment 997764 [details]
spec fix
To be exact the issue is lack of Python2 kickstart. Attached spec change adds missing build dependency.
https://hrw.fedorapeople.org/dnf-plugins-core-0.1.5-2.fc23.hrw1.src.rpm/ contains packages and logs from build. Note, the discussion to fix F23 spec is still going on in upstream https://github.com/rpm-software-management/dnf-plugins-core/pull/66 Parag: thanks, added comment there This is an unfortunate situation. As a workaround, please install python3-dnf-plugins-core. We are working on the fix. fixed in the upstream. dnf-plugins-core-0.1.6-3.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/dnf-plugins-core-0.1.6-3.fc22 Package dnf-plugins-core-0.1.6-3.fc22: * should fix your issue, * was pushed to the Fedora 22 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing dnf-plugins-core-0.1.6-3.fc22' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-5951/dnf-plugins-core-0.1.6-3.fc22 then log in and leave karma (feedback). I'm still seeing a failure to install any of the previously-mentioned packages: [mmullins@rawhide ~]$ sudo dnf install dnf-plugins-core Fedora 22 - x86_64 - Test Updates 28 MB/s | 13 MB 00:00 Fedora 22 - x86_64 - Updates 4.4 kB/s | 335 B 00:00 Using metadata from Fri Apr 17 16:15:51 2015 (0:00:06 hours old) Error: nothing provides pykickstart needed by python-dnf-plugins-core-0.1.6-3.fc22.noarch [mmullins@rawhide ~]$ sudo dnf install python3-dnf-plugins-core Using metadata from Fri Apr 17 16:15:51 2015 (0:00:24 hours old) Error: nothing provides python3-chardet needed by python3-requests-2.5.3-2.fc22.noarch Please disregard my previous comment. That particular machine seems to have had an inconsistent set of repositories configured; a clean F22 install can dependency-solve for dnf-plugins-core just fine. dnf-plugins-core-0.1.6-3.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report. Hello, I am having a problem upgrading from F21 using 'dnf system-upgrade': [waldyd@localhost-live ~]$ sudo dnf system-upgrade download --releasever 22 Using metadata from Thu Nov 5 11:13:34 2015 (1 day, 3:11:07 hours old) Error: nothing provides kernel-uname-r = 4.2.3-200.fc22.i686+PAE needed by kmod-VirtualBox-4.2.3-200.fc22.i686+PAE-4.3.32-1.fc22.i686. nothing provides kernel-uname-r = 4.2.3-200.fc22.i686 needed by kmod-VirtualBox-4.2.3-200.fc22.i686-4.3.32-1.fc22.i686 Any ideas about how to resolve this? [waldyd@localhost-live ~]$ dnf --version 0.6.4 Installed: dnf-0:0.6.4-7.fc21.noarch at 2015-10-20 21:51 Built : Fedora Project at 2015-09-23 14:30 Installed: rpm-0:4.12.0.1-7.fc21.i686 at 2015-07-29 21:16 Built : Fedora Project at 2015-06-15 07:11 |