Re: [gentoo-user] Find ebuild from file?

2003-10-12 Thread HvR




i guess we need the gentoo equivalent of rpmfind anyone???

On Sun, 2003-10-12 at 01:22, Doug Weimer wrote:

On Sun, 2003-10-12 at 00:27, Bryan Whitehead wrote:
> 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

Unfortunately, I don't know of anything similar for gentoo. You can use
the emerge -s and -S options to search for matching package names and
descriptions, but there's nothing to locate which package installs a
particular file. 

Doug


--
[EMAIL PROTECTED] mailing list






Re: [gentoo-user] Find ebuild from file?

2003-10-12 Thread Doug Weimer
On Sun, 2003-10-12 at 00:27, Bryan Whitehead wrote:
> 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

Unfortunately, I don't know of anything similar for gentoo. You can use
the emerge -s and -S options to search for matching package names and
descriptions, but there's nothing to locate which package installs a
particular file. 

Doug


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Find ebuild from file?

2003-10-12 Thread Bryan Whitehead
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



Re: [gentoo-user] Find ebuild from file?

2003-10-11 Thread Doug Weimer
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



[gentoo-user] Find ebuild from file?

2003-10-11 Thread Bryan Whitehead
How do I find what ebuild is responsible for a file on my system?

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] ~]$

How can I do the same with Gentoo? (I could not find anything in the User 
Docs)

-- 
Bryan Whitehead
Email:[EMAIL PROTECTED]
WorkE:[EMAIL PROTECTED]

--
[EMAIL PROTECTED] mailing list