Bug 1234763
Summary: | wildcard in dnf update/downgrade should match installed packages only | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Davide Repetto <red> |
Component: | dnf | Assignee: | Packaging Maintenance Team <packaging-team-maint> |
Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | medium | ||
Version: | 22 | CC: | bob53181, cpanceac, jsilhan, mluscon, ondrejj, packaging-team-maint, pnemade, rholy, stuart, tim.lauridsen, vmukhame |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | 0.1.11-1.fc22 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-09-09 23:19:11 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: |
Description
Davide Repetto
2015-06-23 08:16:37 UTC
Thanks for the report. It makes sense to match only installed packages in upgrade command by wildcard. *** Bug 1236408 has been marked as a duplicate of this bug. *** *** Bug 1234921 has been marked as a duplicate of this bug. *** + We should document the semantic of wildcard for different commands. *** Bug 1243060 has been marked as a duplicate of this bug. *** This should be fixed by asalih. dnf-1.0.2-3.fc22, hawkey-0.5.9-3.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/dnf-1.0.2-3.fc22,hawkey-0.5.9-3.fc22 dnf-1.0.2-3.fc22, hawkey-0.5.9-3.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report. Don't work for me. [root@work ~]# rpm -q dnf hawkey dnf-1.0.2-3.fc22.noarch hawkey-0.5.9-3.fc22.x86_64 [root@work ~]# [root@work ~]# dnf downgrade php\* google-earth 55 kB/s | 4.8 kB 00:00 Fedora 22 - x86_64 49 MB/s | 41 MB 00:00 RPM Fusion for Fedora 22 - Free - Updates 8.6 MB/s | 29 kB 00:00 Adobe Systems Incorporated 18 kB/s | 1.8 kB 00:00 RPM Fusion for Fedora 22 - Nonfree - Updates 5.5 MB/s | 15 kB 00:00 RPM Fusion for Fedora 22 - Free 41 MB/s | 551 kB 00:00 SALstar.sk 22 - x86_64 - Base 2.8 MB/s | 19 kB 00:00 Fedora 22 - x86_64 - Updates 56 MB/s | 14 MB 00:00 Fedora 22 - x86_64 - Updates [UPJS] 56 MB/s | 14 MB 00:00 google-chrome 43 kB/s | 3.7 kB 00:00 RPM Fusion for Fedora 22 - Nonfree 32 MB/s | 170 kB 00:00 Last metadata expiration check performed 0:00:00 ago on Tue Aug 11 08:16:33 2015 . No match for available package: php-5.6.8-1.fc22.x86_64 No match for available package: php-Analog-1.0.0-5.git9ab4c9e.fc21.noarch No match for available package: php-Assetic-1.2.1-1.fc22.noarch No match for available package: php-EasyRdf-0.8.0-5.fc22.noarch No match for available package: php-EasyRdf-doc-0.8.0-5.fc22.noarch ... This should downgrade php packages, not php-versioned packages. Worked well with yum, fails with dnf. May be this fixed only update, not downgrade, but has been marked as duplicate for my downgrade bug too: https://bugzilla.redhat.com/show_bug.cgi?id=1234921 Somethings changed with dnf-1.1.0, but still don't work: [root@work ~]# rpm -q php php-5.6.11-2.fc22.x86_64 dnf-1.1.0-2.fc22.noarch hawkey-0.6.0-1.fc22.x86_64 [root@work ~]# dnf downgrade php\* Last metadata expiration check performed 0:00:00 ago on Sat Aug 15 07:16:10 2015. Error: Nothing to do. Why nothing to do? There are php packages installed and they have downgrades availabe. Same problem if I try to downgrade dnf\* . dnf-1.1.1-2.fc22 dnf-plugins-core-0.1.11-1.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-14744 dnf-1.1.1-2.fc22 dnf-plugins-core-0.1.11-1.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-14744 I haven't tried downgrade, but upgrade has been working as expected since the update. I can confirm, that wildcard downgrade with dnf-1.1.1-1.fc22.noarch works as expected. I can't test release 2 of this package, but I think it will work too. Thanks for fix. dnf-1.1.1-2.fc22, dnf-plugins-core-0.1.11-1.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update dnf-plugins-core dnf'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-14744 dnf-1.1.1-2.fc22, dnf-plugins-core-0.1.11-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report. |