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.62) (envelope-from ) id 1HYNj4-0005VJ-F5 for garchives@archives.gentoo.org; Mon, 02 Apr 2007 14:41:43 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l32EeOUG012778; Mon, 2 Apr 2007 14:40:24 GMT Received: from cranium.sybase.co.za (sqlprd.sybase.co.za [192.96.139.1]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l32EVxNr001204 for ; Mon, 2 Apr 2007 14:32:00 GMT Received: from localhost (cranium.sybase.co.za [127.0.0.1]) by cranium.sybase.co.za (Postfix) with ESMTP id E130F83423 for ; Mon, 2 Apr 2007 16:40:41 +0200 (SAST) X-Virus-Scanned: amavisd-new at sybase.co.za Received: from cranium.sybase.co.za ([127.0.0.1]) by localhost (cranium.sybase.co.za [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oOoWW2iQYSn9 for ; Mon, 2 Apr 2007 16:40:35 +0200 (SAST) Received: from bard.sybase.co.za (bard.sybase.co.za [192.168.2.6]) by cranium.sybase.co.za (Postfix) with ESMTP id 2418E8341A for ; Mon, 2 Apr 2007 16:40:35 +0200 (SAST) Received: from nazgul.sybase.co.za ([192.168.2.68]) by bard.sybase.co.za with Microsoft SMTPSVC(6.0.3790.1830); Mon, 2 Apr 2007 16:33:39 +0200 From: Alan McKinnon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] which package? Date: Mon, 2 Apr 2007 16:31:43 +0200 User-Agent: KMail/1.9.6 References: <1175523400.461110487181b@imp.free.fr> In-Reply-To: <1175523400.461110487181b@imp.free.fr> 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 Content-Disposition: inline Message-Id: <200704021631.43520.alan@linuxholdings.co.za> X-OriginalArrivalTime: 02 Apr 2007 14:33:39.0968 (UTC) FILETIME=[E8039800:01C77533] X-Archives-Salt: dac0a2cb-d77e-4f5a-a39e-45032884f2fd X-Archives-Hash: e01c51dc00471bbeb76804bf00ebe0bc On Monday 02 April 2007, alain.didierjean@free.fr wrote: > Is there a command to provide me with the package name to which a > given file belongs ? > Man equery seems of little help If you want to know which package installed an existing file, use: equery belongs If you know which file you want to have and would like to know which package provides it, well there's no tool for that, the solution would be horrific. Instead, you ask here and usually someone who has it already will run equery belongs for you :-) Be aware that not all existing files were installed during an emerge, so quite often you get zero results. alan -- Optimists say the glass is half full, Pessimists say the glass is half empty, Developers say wtf is the glass twice as big as it needs to be? Alan McKinnon alan at linuxholdings dot co dot za +27 82, double three seven, one nine three five -- gentoo-user@gentoo.org mailing list