Bug 229692 - "yum provides hid2hci" only works if bluez-utils is installed
"yum provides hid2hci" only works if bluez-utils is installed
Product: Fedora
Classification: Fedora
Component: yum (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeremy Katz
Depends On:
  Show dependency treegraph
Reported: 2007-02-22 15:00 EST by Pete Zaitcev
Modified: 2014-01-21 17:57 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-04-25 15:22:30 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Pete Zaitcev 2007-02-22 15:00:14 EST
Description of problem:

Running "yum provides hid2hci" only works if bluez-utils is installed,
but this makes no sense, because it's impossible to find necessary RPMs
this way.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Run "rpm -e bluez-utils" to ensure it's not installed
2. Run "yum provides hid2hci", it returns "No Matches found".
   This is our problem.
3. Run "yum install -y bluez-utils"
4. Run "yum provides hid2hci", it returns the RPM

Actual results:

No match

Expected results:

Report on the RPM which provides the binary

Additional info:

Running "yum provides hid2hci" loads filelists.xml.gz, just finds nothing.

The bluez-utils does NOT provide hid2hci. Running "rpm -q --provides
bluez-utils" only reports bluez-utils, but not names of binaries.

The man page specifies the current behaviour: "used to find out which
package _provides_ some feature or file". So we can say that it's
strict provides... but then the behaviour changes if RPM is installed.
That just makes no sense and is useless. If RPM is installed already,
I can find to which rpms a file belongs without resorting to yum.
Comment 1 Jeremy Katz 2007-04-25 15:22:30 EDT
You have to use the full pathname (and things are consistent between installed
and not now)

Note You need to log in before you can comment on or make changes to this bug.