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 1L0JJ4-0002aD-Ia for garchives@archives.gentoo.org; Wed, 12 Nov 2008 17:15:06 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F3F2FE04E8; Wed, 12 Nov 2008 17:15:06 +0000 (UTC) Received: from qw-out-1920.google.com (qw-out-1920.google.com [74.125.92.148]) by pigeon.gentoo.org (Postfix) with ESMTP id CF3BFE04E8 for ; Wed, 12 Nov 2008 17:15:06 +0000 (UTC) Received: by qw-out-1920.google.com with SMTP id 5so543192qwc.10 for ; Wed, 12 Nov 2008 09:15:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=lY9YR8CcovynQQhsYNCZLB520JEezS3agBmjLKLGc6Y=; b=Iufsn/9gF2xYP/Q3AQxjPSS0DX1qtTtQ3oLHJq1QpDH4oVrOtyyPH6RF/FVoSwl+Tp LA+Plunx6FUfJNtoZbfRnESkijZ1YxS4HGS6W15+OEEjZjCzECt3cfNuWPj+cCTv6Ss5 136A1CNpjO7tGesFmYqN3G+ax79KPftp66iNA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=AdUZlnYzLAL/V0TYKURMxqQFSA8TDq+u+ZTkACYCf0OvEi3Z7oNTWNhHHy3LOTZ4nt L5PxYzDYI3vhKFyoyXVj0Jpi6jrzUomvL8qPKL7x/t0W19V3B2bWVDdAa2effyHpWB+/ CZwc8ngPhJBMScEsCa2DP2C6VDy6YAsKu1kD8= Received: by 10.215.14.20 with SMTP id r20mr9915327qai.147.1226510105040; Wed, 12 Nov 2008 09:15:05 -0800 (PST) Received: from ?4.231.90.179? (dialup-4.231.90.179.Dial1.Houston1.Level3.net [4.231.90.179]) by mx.google.com with ESMTPS id 6sm3958031qwd.4.2008.11.12.09.15.02 (version=SSLv3 cipher=RC4-MD5); Wed, 12 Nov 2008 09:15:04 -0800 (PST) Message-ID: <491B0F14.8040807@gmail.com> Date: Wed, 12 Nov 2008 11:15:00 -0600 From: Dale User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.17) Gecko/20081110 SeaMonkey/1.1.12 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 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] understanding --depclean References: <20081112044126.GA4995@anton.digitaltorque.ca> <491A62D8.4030300@gmail.com> <491A9F8A.70603@konstantinhansen.de> In-Reply-To: <491A9F8A.70603@konstantinhansen.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: a6eee239-77ce-4a20-b031-498423c5672f X-Archives-Hash: 936249c489dc87b3657491eb80f7bb10 KH wrote: > Dale schrieb: > >> Michael P. Soulier 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? >>> >>> Thanks, >>> Mike >>> >>> >>> >> Run this, emerge -uvDNp world and see if it wants to emerge anything. >> man emerge will tell you what the options are for but the -N is the >> important part. Also, you may want to run python-updater as well just >> to see if it picks up anything. Basically, you want to make sure >> everything is using the new version of python before removing the old. >> --depclean has no clue on that one. >> >> Also, anytime you run --depclean, run revdep-rebuild -i afterwards just >> in case something did get messed up. Always do that before you log out >> or reboot. I have been known to switch to another console and login >> before logging out of the other one. Just to be sure. >> >> Be very careful with --depclean. It can really mess up something if you >> are not watching close. Ask first if you're not sure. >> >> Dale >> >> :-) :-) >> >> >> > Hi, > As I have written somewhere else a couple of times. If unmerging a part > of the system consider running quickpkg --include-config=y > before. Running revdep-rebuild might show you do have > to reinstall whatever you unmerged but emerge might not be able to do it > any longer if something is really broken. > kh > > > Another good way is to have it in make.conf. I have buildsyspkg in mine so that it does it automatically. It hasn't saved me yet since I follow my own advice but it may one day. Dale :-) :-)