| Summary: | zif localinstall treats >= dependency as > | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | nucleo <alekcejk> |
| Component: | zif | Assignee: | Richard Hughes <hughsient> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 16 | CC: | hughsient, kevin |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-09-26 10:22:22 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
nucleo
2011-09-26 01:04:44 UTC
And by the way zif consumes too much CPU, much more than yum that makes my F16 vm unusable (with yum works fine). This rpms I tried to install with localinstall http://koji.fedoraproject.org/scratch/nucleo/task_3375632/ Hmm, interesting bug. I see: --- zif dep-provides kdebase-runtime [kdebase-runtime = 4.7.0-3.fc16] [kdebase-runtime(x86-64) = 4.7.0-3.fc16] --- And the local package is requesting "kdebase-runtime > 4.7.00" which shouldn't match according to Zif. --- zif what-provides "kdebase-runtime > 4.7.00" There are no packages to show. --- But this works: --- zif what-provides "kdebase-runtime = 4.7.00" kdebase-runtime-4.7.0-3.fc16.i686 (fedora) KDE Runtime kdebase-runtime-4.7.0-3.fc16.x86_64 (fedora) KDE Runtime --- So, is "kdebase-runtime > 4.7.00" supposed to match "kdebase-runtime = 4.7.0-3.fc16" as in my eyes it probably shouldn't. Ideas welcome. No such problem when installing digikam from repo. digikam in repo also have the same Requires as local rpm kdebase-runtime >= 4.7.00. Actually, the package has a >= dependency, not a > dependency, the bug is there. (In reply to comment #5) > Actually, the package has a >= dependency, not a > dependency, the bug is > there. Hmm, you're correct: rpm -q --requires --package digi* | grep kdebase-runtime kdebase-runtime >= 4.7.00 So, it's easy to fix this in zif: commit 3f7d2eac31c5feb9604d3c06aea584e40ff44f7c Author: Richard Hughes <richard> Date: Mon Sep 26 11:15:27 2011 +0100 Correctly parse local file >= or <= depends Resolves https://bugzilla.redhat.com/show_bug.cgi?id=741144 Using this commit gives me: Transaction summary: Installing: 1. digikam-2.1.1-2.fc16.x86_64 (local) 2. digikam-libs-2.1.1-2.fc16.x86_64 (local) Installing for dependencies: 1. cagibi-0.2.0-1.fc16.x86_64 (fedora) 2. gpsd-libs-2.95-7.fc16.x86_64 (fedora) 3. htdig-4:3.2.0-0.11.b6.fc15.x86_64 (fedora) 4. kdebase-runtime-4.7.0-3.fc16.x86_64 (fedora) 5. kdebase-runtime-flags-4.7.0-3.fc16.noarch (fedora) 6. kdebase-runtime-libs-4.7.0-3.fc16.x86_64 (fedora) 7. kdeedu-marble-4.7.0-1.fc16.x86_64 (fedora) 8. kdeedu-marble-libs-4.7.0-1.fc16.x86_64 (fedora) 9. kdepimlibs-4.7.0-1.fc16.x86_64 (fedora) 10. libkdcraw-4.7.0-1.fc16.x86_64 (fedora) 11. libkexiv2-4.7.0-1.fc16.x86_64 (fedora) 12. libkface-2.0.0-4.fc16.x86_64 (fedora) 13. libkgeomap-2.0.0-4.fc16.x86_64 (fedora) 14. libkipi-4.7.0-1.fc16.x86_64 (fedora) 15. liblqr-1-0.4.1-2.fc15.x86_64 (fedora) 16. libssh-0.5.0-1.fc16.x86_64 (fedora) 17. opencv-2.3.1-1.fc16.x86_64 (fedora) 18. openni-1.0.0.25-0.5.git4c9ff978.fc16.x86_64 (fedora) 19. openslp-1.2.1-15.fc15.x86_64 (fedora) 20. oxygen-icon-theme-4.7.0-1.fc16.noarch (fedora) 21. tbb-3.0-1.20110419.fc16.x86_64 (fedora) 22. tinyxml-2.6.1-2.fc15.x86_64 (fedora) Total download size: 65.2 MB Run transaction? [y/N] nucleo, can you please verify the fix by trying a git snapshot build available here please: http://people.freedesktop.org/~hughsient/fedora/15/SRPMS/ Thanks, Richard. |