[TAG] Fedora questions
Mike Orr
sluggoster at gmail.com
Fri Nov 18 09:45:45 MSK 2005
On 11/17/05, Pete Savage <debug at silentkeystroke.co.uk> wrote:
> Pedro Fraile wrote:
> >
> > I think what you are looking for is
> >
> > rpm -qf <your file name here>
> >
>
> I think the f parameter is used to specify a file for rpm to query,
> hence the following;
>
> [pete at localhost ~]$ rpm -qf gdmgreeter
> error: file /home/pete/gdmgreeter: No such file or directory
> [pete at localhost ~]$
BTW, both dpkg and Gentoo have this feature.
``
# List the package owning file 'foo'.
dpkg -S foo
qpkg -f foo
''
--
Mike Orr <sluggoster at gmail.com>
(mso at oz.net address is broken)
More information about the TAG
mailing list