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 1KtTgG-0006lJ-Tv for garchives@archives.gentoo.org; Fri, 24 Oct 2008 20:54:49 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 87A20E03AA; Fri, 24 Oct 2008 20:54:48 +0000 (UTC) Received: from out2.smtp.messagingengine.com (out2.smtp.messagingengine.com [66.111.4.26]) by pigeon.gentoo.org (Postfix) with ESMTP id 732E0E03AA for ; Fri, 24 Oct 2008 20:54:48 +0000 (UTC) Received: from compute2.internal (compute2.internal [10.202.2.42]) by out1.messagingengine.com (Postfix) with ESMTP id E95481828D8 for ; Fri, 24 Oct 2008 16:54:46 -0400 (EDT) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute2.internal (MEProxy); Fri, 24 Oct 2008 16:54:46 -0400 X-Sasl-enc: /5m/TKMxTL9y+wDd7eUcMoTK+gi4vXY5HVGchiEDGCAz 1224881686 Received: from [10.11.243.98] (nat-pool-rdu.redhat.com [66.187.233.202]) by www.fastmail.fm (Postfix) with ESMTPSA id ADEBF1789D for ; Fri, 24 Oct 2008 16:54:46 -0400 (EDT) Subject: Re: [gentoo-user] Re: python-updater broken From: Albert Hopkins To: gentoo-user@lists.gentoo.org In-Reply-To: References: <1224723977.19535.10.camel@localhost> Content-Type: text/plain Organization: Marduk Enterprises Date: Fri, 24 Oct 2008 16:54:42 -0400 Message-Id: <1224881682.2769.8.camel@brotherus.rdu.redhat.com> 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 X-Mailer: Evolution 2.22.3.1 (2.22.3.1-1.fc9) Content-Transfer-Encoding: 7bit X-Archives-Salt: 2f32d7c8-e353-4144-aad3-55ddaf884044 X-Archives-Hash: cdb0c1e65051a23852233e6c104736aa On Fri, 2008-10-24 at 20:38 +0000, James wrote: > Albert Hopkins letterboxes.org> writes: > > > > Perhaps you can run strace (or bash -x) on it to see where it's hanging. > > Oh, I would not know the syntax. No man page for strace. more info? > syntax suggestions? The machine hoses everytime I run python-update. Probably no man page because it's likely not installed. # emerge strace But the generic way of running it is # strace python-updater > > > > # eselect python list > > > !!! Error: Can't load module python > > > Probably because there is no eselect module for python installed (there > > isn't one on any my machines). > > Right, so now I installed it and it says: > > > Available python interpreters: > [1] python2.4 > [2] python2.5 * > > So why does python-updater have to be used at all? > Everything else seems fine.... The python-updater and eselect module do completely different things. All the eselect module probably does is update a symlink: /usr/bin/python => python2.5. What python-updater is supposed to do is take all the packages that were emerged against python2.4 and re-emerge them agains python2.5. Basically what it does is identify all the files in /usr/lib/python-/site-packages, associates them with packages and re-emerges those packages. It's a shell script so running: # bash -x /usr/sbin/python-updater should give you some indication as to where it's hanging. Hope this helps. -a