Thanks for the quick reply... What about finding files that are not yet installed? For example, if I'm looking for what package (ebuild) would provide a file called "xrdb".
In Mandrake this is simple: [EMAIL PROTECTED] ~]$ urpmf xrdb XFree86:/usr/X11R6/bin/xrdb XFree86:/usr/X11R6/man/man1/xrdb.1x.bz2 xemacs:/usr/share/xemacs/xemacs-packages/lisp/text-modes/xrdb-mode.elc man-pages-ja:/usr/share/man/ja/man1/xrdb.1x.bz2 zsh:/usr/share/zsh/4.1.0-dev-5/functions/Completion/X/_xrdb [EMAIL PROTECTED] ~]$ I'd imagine this is too much to ask for as Gentoo has many more apps to keep track of than Mandrake... but thought I ask anyway... ;) On Sun, 12 Oct 2003, Doug Weimer wrote: > On Sat, 2003-10-11 at 23:55, Bryan Whitehead wrote: > > How do I find what ebuild is responsible for a file on my system? > > > > You can use the qpkg program from the app-portage/gentoolkit package. > > qpkg -f /path/to/file > > > simple example... I want to find the "owner" of /usr/X11R6/bin/xcmsdb > > > > With an rpm based distro I'd just run: rpm -qf /usr/X11R6/bin/xcmsdb > > [EMAIL PROTECTED] ~]$ rpm -qf /usr/X11R6/bin/xcmsdb > > XFree86-4.3-5mdk > > [EMAIL PROTECTED] ~]$ > > You can get similar functionality from the app-portage/epm package: > > epm -qf /path/to/file > > Doug > > > -- > [EMAIL PROTECTED] mailing list > -- Bryan Whitehead Email:[EMAIL PROTECTED] WorkE:[EMAIL PROTECTED] -- [EMAIL PROTECTED] mailing list
