From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1L0CKy-0003IC-17 for garchives@archives.gentoo.org; Wed, 12 Nov 2008 09:48:36 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B57A5E02BC; Wed, 12 Nov 2008 09:48:34 +0000 (UTC) Received: from ey-out-1920.google.com (ey-out-1920.google.com [74.125.78.150]) by pigeon.gentoo.org (Postfix) with ESMTP id 7107BE02BC for ; Wed, 12 Nov 2008 09:48:34 +0000 (UTC) Received: by ey-out-1920.google.com with SMTP id 4so124157eyk.10 for ; Wed, 12 Nov 2008 01:48:32 -0800 (PST) Received: by 10.210.54.19 with SMTP id c19mr10185904eba.116.1226483312277; Wed, 12 Nov 2008 01:48:32 -0800 (PST) Received: by 10.210.117.5 with HTTP; Wed, 12 Nov 2008 01:48:32 -0800 (PST) Message-ID: Date: Wed, 12 Nov 2008 12:48:32 +0300 From: "Vladimir Rusinov" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] understanding --depclean In-Reply-To: <20081112044126.GA4995@anton.digitaltorque.ca> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5009_15779328.1226483312261" References: <20081112044126.GA4995@anton.digitaltorque.ca> X-Archives-Salt: 5e67f897-9637-4dcb-8814-d0e018c2f318 X-Archives-Hash: d5c39c5d274930f313e38f40311379fd ------=_Part_5009_15779328.1226483312261 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Wed, Nov 12, 2008 at 7:41 AM, Michael P. Soulier < msoulier@digitaltorque.ca> wrote: > I'm new to gentoo, and I recently changed my USE flags, so I ran > > emerge -p --depclean > > to see what it suggests removing. > > Along with many others, I see > > dev-lang/python > selected: 2.4.4-r13 > protected: none > omitted: 2.5.2-r7 > > msoulier@anton:~$ equery list | grep dev-lang/python > dev-lang/python-2.4.4-r13 > dev-lang/python-2.5.2-r7 > > So it's going to remove the redundant python version, is that right? Any > chance of shared files being removed? > There are chances that it will remove some shared files. To avoid this use revdep-rebuild after emerge --depclean. revdep-rebuild would rebuild all packages with broken libraries/binaries. Python is a bit special: you should use python-updater before unmerging older python. python-updated would reinstall all python modules for newer python. -- Vladimir Rusinov http://greenmice.info/ ------=_Part_5009_15779328.1226483312261 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline



On Wed, Nov 12, 2008 at 7:41 AM, Michael P. Soulier <msoulier@digitaltorque.ca> wrote:
I'm new to gentoo, and I recently changed my USE flags, so I ran

emerge -p --depclean

to see what it suggests removing.

Along with many others, I see

 dev-lang/python
   selected: 2.4.4-r13
  protected: none
    omitted: 2.5.2-r7

msoulier@anton:~$ equery list | grep dev-lang/python
dev-lang/python-2.4.4-r13
dev-lang/python-2.5.2-r7

So it's going to remove the redundant python version, is that right? Any
chance of shared files being removed?

There are chances that it will remove some shared files.
To avoid this use revdep-rebuild after emerge --depclean. revdep-rebuild would rebuild all packages with broken libraries/binaries.

Python is a bit special: you should use python-updater before unmerging older python. python-updated would reinstall all python modules for newer python.

--
Vladimir Rusinov
http://greenmice.info/
------=_Part_5009_15779328.1226483312261--