Bug 1267895
Summary: | glob pattern in <spec> definition does not work in queries | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Vít Ondruch <vondruch> |
Component: | dnf | Assignee: | rpm-software-management |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | low | ||
Version: | 24 | CC: | jmracek, mluscon, packaging-team-maint, pnemade, RadekHolyPublic, sct, tim.lauridsen, vmukhame |
Target Milestone: | --- | Keywords: | Reopened, Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-02-08 14:51:36 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
Vít Ondruch
2015-10-01 10:37:52 UTC
Use separators, please. http://dnf.readthedocs.org/en/latest/command_ref.html#specifying-packages Could you please give me an example? I definitely saw this page before, but still fail to find the right combination. Actually this seems to work: $ LANG=en_US sudo dnf remove 'kernel*-4.3.0-0.rc2.git1.1.fc24' Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Removing: kernel x86_64 4.3.0-0.rc2.git1.1.fc24 @@commandline 0 kernel-core x86_64 4.3.0-0.rc2.git1.1.fc24 @@commandline 53 M kernel-modules x86_64 4.3.0-0.rc2.git1.1.fc24 @@commandline 18 M kernel-modules-extra x86_64 4.3.0-0.rc2.git1.1.fc24 @@commandline 2.2 M Transaction Summary ================================================================================ Remove 4 Packages Installed size: 74 M Is this ok [y/N]: n But not with any wildcard in release: $ sudo dnf remove 'kernel*-4.3.0-0.rc2*' No match for argument: kernel*-4.3.0-0.rc2* Error: No packages marked for removal. This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle. Changing version to '24'. More information and reason for this action is here: https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora24#Rawhide_Rebase This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. The problem with glob in release will be fixed in pull-request: https://github.com/rpm-software-management/libhif/pull/229 *** Bug 1381506 has been marked as a duplicate of this bug. *** Patch released in rawhide libdnf-0.7.2-1.fc26 |