From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1E78dA-0007Et-Ll for garchives@archives.gentoo.org; Mon, 22 Aug 2005 09:30:13 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j7M9SeZT028658; Mon, 22 Aug 2005 09:28:40 GMT Received: from smtp19.wxs.nl (smtp19.wxs.nl [195.121.6.15]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j7M9P6Mo032613 for ; Mon, 22 Aug 2005 09:25:06 GMT Received: from [10.0.0.150] (ip3e83ab52.speed.planet.nl [62.131.171.82]) by smtp19.wxs.nl (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTP id <0ILM00HDRA6R2Z@smtp19.wxs.nl> for gentoo-user@lists.gentoo.org; Mon, 22 Aug 2005 11:25:39 +0200 (CEST) Date: Mon, 22 Aug 2005 11:25:33 +0200 From: Holly Bostick Subject: Re: [gentoo-user] Re: Gentoo equivalent to "yum provides" In-reply-to: <20050822152043.B343.NICK@rout.co.nz> To: gentoo-user@lists.gentoo.org Message-id: <43099A0D.2080100@planet.nl> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 7BIT X-Accept-Language: nl-NL, nl, en User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050803) X-Enigmail-Version: 0.92.0.0 References: <87fyt2btbv.fsf@newsguy.com> <1124680020.26613.15.camel@localhost> <20050822152043.B343.NICK@rout.co.nz> X-Archives-Salt: f07eeec1-5bf8-4352-b85f-c9951f406272 X-Archives-Hash: 127d33bb4aa1b989281b36b86e85bef8 Nick Rout schreef: > neither equery nor any other program can predict what will be installed > in a package, because that varies with architecture and USE flags. > > So there is no direct equivalent. You're right; I forgot that equery and its equivalents work by default on installed packages (although sometimes that's what you need, so it's still good to know). I don't know how 'pkgspec' works either (though I've never looked into it, so that's no surprise), so even though it does suggest that you could search the Portage tree of not-installed packages to see what PacKaGe SPECifies a particular file, I don't know how precisely to use equery to do so. > > You either have to work it out for yuorself, ggogle or ask here. I find it most useful to go to the Debian package search tool ( http://www.debian.org/distrib/packages -- "search the contents of packages") on the (extremely) rare occasion that I need to know what (not currently installed) package provides a particular file or library. The package names are often not quite the same, but usually close enough that you can find the correct package on packages.gentoo.org. Putting the exact filename into Google works too; you'll get a whole list of where one or two similarly-named rpm's, deb files and slack packages are located, and then you most likely know the name of the application you want to search on packages.gentoo.org. Holly -- gentoo-user@gentoo.org mailing list