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.50) id 1Eg6RS-0004KI-6z for garchives@archives.gentoo.org; Sat, 26 Nov 2005 20:14:38 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jAQKDgRd028663; Sat, 26 Nov 2005 20:13:44 GMT Received: from rwcrmhc12.comcast.net (rwcrmhc14.comcast.net [216.148.227.89]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id jAQK9S8T026089 for ; Sat, 26 Nov 2005 20:09:29 GMT Received: from [127.0.0.1] (pcp0011967544pcs.olathe01.ks.comcast.net[68.46.206.211]) by comcast.net (rwcrmhc14) with ESMTP id <2005112620092701400257c4e>; Sat, 26 Nov 2005 20:09:27 +0000 Message-ID: <4388C0F5.7070606@comcast.net> Date: Sat, 26 Nov 2005 14:09:25 -0600 From: Kevin Hanson User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051029) X-Accept-Language: en-us, en 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 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: Slots References: <7573e9640511261032q545fa993kcf85e0ef8098ba69@mail.gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: be447b6c-bbe8-4084-94ca-8ff112029b6c X-Archives-Hash: 677ebb092390fec79533944c8d040f23 Jeff Grossman wrote: >Richard Fish wrote: > > > >>On 11/26/05, Jeff Grossman wrote: >> >> >>>I have just realized about programs that can be installed in slots. >>>Is there a way for me to find out what programs are installed in more >>>than one slot on my computer? Can I tell if a particular program in a >>>slot is still needed? >>> >>> >>"emerge --prune --pretend world" will tell you all packages that have >>more than one version installed (ie. slotted). >> >>As for finding out whether a particular version of a slotted package >>is still needed or not, well, you could do: >> >>emerge --prune >>emerge -Dv world >>revdep-rebuild >> >>But the above is a bit dangerous, and could break your system. Be careful. >> >> > > > I like the old 'etcat'. You can still find it on your system at /usr/share/doc/gentoolkit-/deprecated/etcat/etcat. I use 'etcat versions ' all the time. The number in parentheses is the slot that package is in. E.G. for php: [ Results for search key : php ] [ Candidate applications found : 13 ] Only printing found installed programs. * dev-lang/php : [ ~ ] 4.3.11-r4 (4) [ ~ ] 4.4.0-r4 (4) [ I] 4.4.1-r2 (4) [M~ ] 5.0.4-r4 (5) [M~ ] 5.0.5-r4 (5) * dev-php/php : [ ] 4.3.11 (0) [ ] 4.3.11-r1 (0) [ ] 4.3.11-r3 (0) [ ] 4.3.11-r4 (0) [ ] 4.4.0 (0) [ ] 4.4.0-r1 (0) [ ] 4.4.0-r3 (0) [ ] 4.4.0-r4 (0) This shows that I have ver 4.4.1-r2 installed on my system in slot 4. I haven't found an equivalent w/ equery. I create a symbolic link from the etcat location above to /usr/local/bin. However, everytime gentoolkit is updated, I have to update the link. Cheers, Kevin -- gentoo-user@gentoo.org mailing list