From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Iy5Qc-0000to-KF for garchives@archives.gentoo.org; Fri, 30 Nov 2007 12:57:11 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.2/8.14.0) with SMTP id lAUCtn09007252; Fri, 30 Nov 2007 12:55:50 GMT Received: from mail.osagesoftware.com (osagesoftware.com [216.144.204.42]) by robin.gentoo.org (8.14.2/8.14.0) with ESMTP id lAUCoclf032705 for ; Fri, 30 Nov 2007 12:50:38 GMT Received: from osage.osagesoftware.com (osage.osagesoftware.com [192.168.1.10]) by mail.osagesoftware.com (Postfix) with ESMTP id DAFAA7BC90 for ; Fri, 30 Nov 2007 07:50:37 -0500 (EST) Date: Fri, 30 Nov 2007 07:50:40 -0500 From: David Relson To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] equery depends ----> Invalid db entry: Message-ID: <20071130075040.4c72e435@osage.osagesoftware.com> In-Reply-To: <475004B1.9080504@bellsouth.net> References: <20071129231310.0ee73cb4@osage.osagesoftware.com> <20071130075203.46868a56@marcec.huntemann.uni-oldenburg.de> <20071130072950.66c2e9e4@osage.osagesoftware.com> <475004B1.9080504@bellsouth.net> Organization: Osage Software Systems, Inc. X-Mailer: Claws Mail 3.0.2 (GTK+ 2.12.1; x86_64-pc-linux-gnu) 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=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: 23018007-8d8c-4893-b635-932123787771 X-Archives-Hash: 4396bf65eb9ffc9d745ab0a909db60f8 On Fri, 30 Nov 2007 06:40:17 -0600 Dale wrote: > David Relson wrote: > > On Fri, 30 Nov 2007 07:52:03 +0100 > > Marc Joliet wrote: > > > > ..[snip].. > > > > > >> Relevant snip from the manpage: > >> > >> depends pkgspec > >> This command displays all dependencies matching > >> pkgspec. is either or both of: > >> -a, --all-packages search in all available packages > >> (slow) -d, --direct search direct dependencies only (default) > >> -D, --indirect search indirect dependencies (very > >> slow) --depth=n Limit depth of indirect dependency tree to n > >> levels. Setting --depth=0 is the same as not specifing --indirect. > >> > >> So "equery depends" expects a package name, not a file name. What > >> exactly are you trying to do? > >> > >> -- > >> Marc Joliet > >> > > > > Hello Marc, > > > > Right you are, I was using the wrong command. > > > > If I recall, last night I wanted to find which package _provides_ a > > given file. Obviously the file in my sample, > > i.e. /etc/init.d/samba, is from net-fs/samba but the general > > question remains: How does one find the package from which a file > > came? > > > > Regards, > > > > David > > > > equery belongs > > That help? > > Dale Indeed it does! Thanks, Dale. -- gentoo-user@gentoo.org mailing list