Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 125516 - Query for files reports packages
Query for files reports packages
Product: Fedora
Classification: Fedora
Component: rpm (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Paul Nasrat
Mike McLean
Depends On:
  Show dependency treegraph
Reported: 2004-06-08 09:52 EDT by Michael Schröder
Modified: 2007-11-30 17:10 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-09-27 16:50:03 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Proposed patch (375 bytes, patch)
2004-06-08 09:53 EDT, Michael Schröder
no flags Details | Diff

  None (edit)
Description Michael Schröder 2004-06-08 09:52:57 EDT
The query code checks the package provides for strings that 
don't contain slashes. This leads to false reports: 
$ cd /tmp 
$ touch rpm 
$ rpm -qf rpm 
Comment 1 Michael Schröder 2004-06-08 09:53:30 EDT
Created attachment 100964 [details]
Proposed patch
Comment 2 Jeff Johnson 2004-10-17 15:10:40 EDT
Hmmm, this doesn't reproduce for me with rpm HEAD.

Do you perhaps have
    Provides: /bin/rpm
in your rpm package?
Comment 3 Michael Schröder 2004-11-19 10:42:46 EST
Every package provides its own package name. I don't know why you 
cannot reproduce it, I can do so on Fedora. 
Comment 4 Matthew Miller 2005-04-26 12:27:16 EDT
Fedora Core 2 is now maintained by the Fedora Legacy project for
security updates only. If this problem is a security issue, please
reopen and reassign to the Fedora Legacy product. If it is not a
security issue and hasn't been resolved in the current FC3 updates or
in the FC4 test release, reopen and change the version to match.
Comment 5 Matthew Miller 2005-04-26 13:50:20 EDT
FWIW, I can reproduce this problem too on FC3.
Comment 6 Paul Nasrat 2005-04-26 18:18:01 EDT
Just trying to reproduce on rawhide-ish.

[pauln@anu ~]$ cd /tmp
[pauln@anu tmp]$ touch rpm
[pauln@anu tmp]$ rpm -qf rpm
file /tmp/rpm is not owned by any package
[pauln@anu tmp]$ rpm -q rpm

Will try on FC3 in the morning.
Comment 7 Paul Nasrat 2005-09-27 16:50:03 EDT
Can't reproduce on rawhide. please reopen if you are still experiencing this on

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