From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-95658-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1M7plw-0006SF-OW
	for garchives@archives.gentoo.org; Sat, 23 May 2009 11:52:16 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 02B1FE0377;
	Sat, 23 May 2009 11:52:15 +0000 (UTC)
Received: from mail-fx0-f219.google.com (mail-fx0-f219.google.com [209.85.220.219])
	by pigeon.gentoo.org (Postfix) with ESMTP id B65BDE0377
	for <gentoo-user@lists.gentoo.org>; Sat, 23 May 2009 11:52:14 +0000 (UTC)
Received: by fxm19 with SMTP id 19so1999262fxm.34
        for <gentoo-user@lists.gentoo.org>; Sat, 23 May 2009 04:52:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:mime-version:received:in-reply-to:references
         :date:message-id:subject:from:to:content-type
         :content-transfer-encoding;
        bh=+tNTLAJJUZDGWprGrS9wlpaBWbG7e+USZqDzB1CAVpc=;
        b=w/sMy1dRtDxYEXoO9m/nS1rmhxZKmwlD44ZGoeP9AUPoYYDv0LOcxlkjayvDANSSCj
         KtWD9OnRAWyDf7dP40bzd6XVOiB0NRovJnyIIBgCI+40ncvUyA8u2WKIG3jQ9LA5JEC9
         1un3GFn/3q2QnYyqZDkshy8oCTg3rWubp/qjU=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=mime-version:in-reply-to:references:date:message-id:subject:from:to
         :content-type:content-transfer-encoding;
        b=GBdKWbSVwOaTdsBcahGLqvOsWcq5ELcSOPX75g6/hErUpgtqHGbjCBsHdYHksuxfAO
         hNrXkJyKjoP1Qhn/b5kK3nUBXNQ3OZxmMwgEXEHxqhJBTCfjUm5dN16OF0oi6QNfab/Z
         DJCJnFo/UNVy4KFZdAegzsvA5LDoQVGuSLZnw=
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Received: by 10.204.58.130 with SMTP id g2mr4574483bkh.45.1243079533854; Sat, 
	23 May 2009 04:52:13 -0700 (PDT)
In-Reply-To: <4A17D9CB.5020205@gmail.com>
References: <983967.82330.qm@web51306.mail.re2.yahoo.com>
	 <4A173D60.2030100@gmail.com> <4A175266.3040703@gmail.com>
	 <4A17D9CB.5020205@gmail.com>
Date: Sat, 23 May 2009 14:52:13 +0300
Message-ID: <fecdbac60905230452r435d89bl8df4466fa59545ba@mail.gmail.com>
Subject: Re: [gentoo-user] ARGH I uninstalled python
From: "Arttu V." <arttuv69@gmail.com>
To: gentoo-user@lists.gentoo.org
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Archives-Salt: 5f14760b-2fb9-492e-8252-bef63680112e
X-Archives-Hash: 8b1e10e016c9a4caf61d1f3120799a0a

On 5/23/09, Dale <rdalek1967@gmail.com> wrote:
> This is what I get with this command:
>
> root@smoker / # emerge -ep system | grep python
> [ebuild   R   ] app-admin/python-updater-0.5
> [ebuild   R   ] dev-lang/python-2.5.4-r2
> root@smoker / #
>
> So python is there if you do it emptytree.

emptytree pulls in *all* dependencies, regardless of whether they are
in the system set or even if they are just regular dependencies
(random packages) from an external overlay. So you're not comparing
apples to apples there with -e, you're getting lot of false positives
from outside the real system set.

It is still a good question why one would have any system set packages
having critical dependencies to non-system set packages, but reasoning
for that has to be asked from the portage devs ...

But backing up a little, try this instead for an amusement (remember
to --pretend or --ask):

~ # emerge -pvC python

>>> These are the packages that would be unmerged:

 dev-lang/python
    selected: 2.5.4-r2
   protected: none
     omitted: none

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

~ # emerge -pvC binutils

>>> These are the packages that would be unmerged:


!!! 'sys-devel/binutils' is part of your system profile.
!!! Unmerging it may be damaging to your system.


 sys-devel/binutils
    selected: 2.18-r3
   protected: none
     omitted: none

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

~ #


Note how binutils still is within the system set and gets the extra
warning, while python doesn't get the special system set warning with
the three exclamation marks? I.e., python *is no longer* in the system
set, probably removed by the very change I gave a link for in previous
email.

AFAIK (haven't checked in portage code), buildsyspkg and such only
work with the packages explicitly mentioned in the system set, so
binutils is in, python is (nowadays) out -- and that probably explains
also what is happening on your smoker. :)

Anyone finding flaws in my theories or facts or observations that
outright nullify them? :)

-- 
Arttu V.