Bug 1048572

Summary: dnf resolve failure
Product: [Fedora] Fedora Reporter: Germano Massullo (Thetra) <germano.massullo>
Component: dnfAssignee: Ales Kozumplik <akozumpl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 20CC: akozumpl, jzeleny, lnie, pnemade, rholy
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: dnf-0.4.11-1.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-11 08:47:48 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 Germano Massullo (Thetra) 2014-01-05 10:31:13 UTC
Description of problem:
I needed to know which packages provide:
- sandbox;
- seunshare
In both cases "dnf resolve" failed, instead yum successfully returned the name of the package.

Version-Release number of selected component (if applicable):
dnf-0.4.9-1.fc20.noarch


Actual results:
# dnf provides sandbox
No Matches found


# yum provides sandbox
[...]
policycoreutils-python-2.2.2-3.fc20.x86_64 : SELinux policy core python utilities
Repo         : fedora
Corrispondenza trovata in:
Nome file   : /usr/bin/sandbox

policycoreutils-python-2.2.4-5.fc20.x86_64 : SELinux policy core python utilities
Repo         : updates
Corrispondenza trovata in:
Nome file   : /usr/bin/sandbox


# dnf provides seunshare
No Matches found


# yum provides seunshare
[...]
policycoreutils-sandbox-2.2.2-3.fc20.x86_64 : SELinux sandbox utilities
Repo         : fedora
Corrispondenza trovata in:
Nome file   : /usr/sbin/seunshare

policycoreutils-sandbox-2.2.4-5.fc20.x86_64 : SELinux sandbox utilities
Repo         : updates
Corrispondenza trovata in:
Nome file   : /usr/sbin/seunshare

Comment 1 Ales Kozumplik 2014-01-06 07:26:08 UTC
this is mainly a documentation issue, the 'yum provides sandbox' etc. command only succeeds because of a hidden/undocumented feature in Yum.

Comment 2 Ales Kozumplik 2014-01-06 09:27:21 UTC
The different behavior is documented in 0d39e95, will be published along with the release of dnf-0.4.11.

Comment 3 Fedora Update System 2014-01-09 14:39:41 UTC
dnf-0.4.11-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/dnf-0.4.11-1.fc20

Comment 4 lnie 2014-01-10 06:23:53 UTC
dnf-0.4.11-1.fc20 still unable to do the provides

Comment 5 Fedora Update System 2014-01-10 07:59:53 UTC
Package dnf-0.4.11-1.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing dnf-0.4.11-1.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-0573/dnf-0.4.11-1.fc20
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2014-01-11 08:47:48 UTC
dnf-0.4.11-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.