Frank Griffin <[EMAIL PROTECTED]> writes: > I'm looking for some guidance on trying to find the package which > owns a file. > > Several times now when I've had a problem with a particular > executable or one of the initialization script files, I've tried > to find the owning package for purposes of filing a bug report by > using rpmdrake's seach on filename feature, only to get no hits > from the search. > > The latest example is /usr/bin/update-menus.
In install mode, it searches files in packages that you can install, thus of course this won't find the owner of installed file /usr/bin/update-menus. In remove mode, it would work if menu was allowed to be removed, but it's not the case (we don't want you break your system). Anyway, rpm -qf is the easiest way for such a question, as others answered. -- Guillaume Cottenceau - http://people.mandrakesoft.com/~gc/