Bug 9668 - rpm -qf does not recognize directories correctly
Summary: rpm -qf does not recognize directories correctly
Status: CLOSED DUPLICATE of bug 12493
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: rpm
Version: 1.0
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2000-02-22 14:29 UTC by Moritz Barsnick
Modified: 2008-05-01 15:37 UTC (History)
1 user (show)

Clone Of:
Last Closed: 2000-02-22 14:29:18 UTC

Attachments (Terms of Use)

Description Moritz Barsnick 2000-02-22 14:29:18 UTC
In "rpm" upto at least 3.0.4-0.30, querying packages owning directories
fails if the directory is given with a postfixed "/" (e.g. when
<TAB>-expanding it in a shell):

barsnick@sunshine:~ # rpm -qf /usr/lib/sendmail-cf/
file /usr/lib/sendmail-cf/ is not owned by any package
barsnick@sunshine:~ # rpm -qf /usr/lib/sendmail-cf
barsnick@sunshine:~ # rpm --version
RPM version 3.0.4
barsnick@sunshine:~ # rpm -q rpm

Comment 1 Jeff Johnson 2000-07-21 13:56:24 UTC

*** This bug has been marked as a duplicate of 12493 ***

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