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 ) id 1M9IVr-0007uV-9A for garchives@archives.gentoo.org; Wed, 27 May 2009 12:45:43 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5F7BFE057F; Wed, 27 May 2009 12:45:41 +0000 (UTC) Received: from qw-out-1920.google.com (qw-out-1920.google.com [74.125.92.145]) by pigeon.gentoo.org (Postfix) with ESMTP id 425EAE057F for ; Wed, 27 May 2009 12:45:41 +0000 (UTC) Received: by qw-out-1920.google.com with SMTP id 5so1016278qwf.10 for ; Wed, 27 May 2009 05:45:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:organization:x-mailer :mime-version:content-type:content-transfer-encoding; bh=/qRny5fGFKtqCv8OOLBQWbzqKD12SZ6oZzh6bx0RrKY=; b=lCAt3gM1n92tuy63CbGXbgQVMjMIYe05jwpqEXG0LWTqiacLHKqW7IeCglJx8MDpwd 5DPNXX5VjUmh+y7KyacevYrJQgmub34QHseKx08slsQOE6TjegYSujUd8azfEk7qYYAi RIoBZnVcYKPs83eN0A5HAM5O+DEaV7jcu8Hqo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:organization :x-mailer:mime-version:content-type:content-transfer-encoding; b=RYXd3v4/EFBjuMJ7kI1OFw2nMn7mYwqk4tZit719FupO6QRI2NfcRQqgKiyH1RxgxE Ytuwd6xDn7VDp0MuK4VETdyhjHjuziErfIWTUO2/bwxs+mNVW1sshU2ZwPaujMUJI6rq /AXj+PQxjDCV70fE9AW3W2lh7+VunSkDcq1e0= Received: by 10.224.2.146 with SMTP id 18mr9067355qaj.297.1243428340945; Wed, 27 May 2009 05:45:40 -0700 (PDT) Received: from localhost.localdomain (201-74-136-60-sj.cpe.vivax.com.br [201.74.136.60]) by mx.google.com with ESMTPS id 7sm2410849qwb.26.2009.05.27.05.45.38 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 27 May 2009 05:45:40 -0700 (PDT) Date: Wed, 27 May 2009 09:49:38 -0300 From: Jorge Morais To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] ARGH I uninstalled python Message-ID: <20090527094938.4b31aa9b@gmail.com> In-Reply-To: <20090523190850.1c529701@gmail.com> References: <43709.23046.qm@web51309.mail.re2.yahoo.com> <20090523190850.1c529701@gmail.com> Organization: ITA X-Mailer: Claws Mail 3.7.1 (GTK+ 2.14.7; i686-pc-linux-gnu) 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: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: 9db10f0b-667e-4b7d-8ddb-ee1bdfb80b5f X-Archives-Hash: 46b9d1ac90f0cca9ebc679195c175499 On Sat, 23 May 2009 19:08:50 -0300 Jorge Morais wrote: > One idea: you can can recompile python with a safe > prefix (such as a subdir of your home), issue make install (not as root, > for increased safety) and see where Python install its files relative to > the prefix, so you can delete them from your system > (to be more careful before deleting a file, you can issue > qfile to see if it is owned by a portage-installed package. > And in the end you can emerge python properly, from the sources, so all > the ebuild logic (which is more than just ./configure, make and make install) > gets applied, and you get a Python installation that respects your USE flags, > CFLAGS and other system-specific settings (obviously you don't get such a > system-customized python when you use the binary package from tinderbox). > I should mention that you should be careful about deleting any files - and qfile is not a 100% guarantee that the file does not come from a Portage-installed package. For example, in my system Python was installed by Portage, and $ file /usr/bin/python /usr/bin/python: symbolic link to `python2.5' , yet $ qfile /usr/bin/python So qfile giving an empty output is not a guarantee that the file is indeed orphan. Specially with symlinks - look at the Python ebuild and see the way these symlinks are generated. And of course, it is wise to emerge --buildpkg python before doing any cleaning. And after the cleaning, reemerge Python. Regards, Jorge