Once upon a time, Joe Zeff <j...@zeff.us> said:
> On 07/11/2013 11:41 AM, Chris Adams wrote:
> >IMHO that would make things even easier to
> >figure out; "rpm -qf /usr/bin/java" would list all the packages that can
> >"claim" java.
> 
> Would it, or would it just find the first one and stop?  I'm asking
> because I don't know enough about how rpm handles such things,
> although I do agree that it *should* work the way you say.

You can also have shared files, when the contents, ownership, and
permissions on the files match, and rpm will list all matches.  I can't
think of an example off the top of my head, but I know I've seen it in
the past.

Oh, one example is multilib (and I don't believe this behavior is
multilib-specific):

$ rpm -qf /usr/share/doc/glibc-2*/README
glibc-2.16-33.fc18.x86_64
glibc-2.16-33.fc18.i686

-- 
Chris Adams <li...@cmadams.net>
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to