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 1M7onz-0004HX-Re for garchives@archives.gentoo.org; Sat, 23 May 2009 10:50:20 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 77091E02C1; Sat, 23 May 2009 10:50:17 +0000 (UTC) Received: from web51304.mail.re2.yahoo.com (web51304.mail.re2.yahoo.com [206.190.38.170]) by pigeon.gentoo.org (Postfix) with SMTP id 406D6E02C1 for ; Sat, 23 May 2009 10:50:17 +0000 (UTC) Received: (qmail 70225 invoked by uid 60001); 23 May 2009 10:50:17 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1243075816; bh=V/XFSGZJeE9E5bi3zpPnUBUV2/S/aOFaNKmWOq35y/k=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=nRaWZE0Nt82K2kiFi1O+CurALRRV8ulwiGM4vpUjw1mr0esphyk+CwpbzGR8Jda1T1F30S46ju4rG8i/3MPPUVN2Bwhl/fw6umrgZEGNALi5bIz5VFsJEIDyIIbga+0r5Va8XwUB48ezvXd5SB0Z/vXwXG5d+Su4Cc+EaF7noOs= DomainKey-Signature:a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=L7eC+hRhR0NmLlJmAUvMv6l1kt/RWYRyZ2TBCV9NwUmXdo02GTE0cTrLahWEBZHo1vPpzaRE+LsiVAZo0VfZH88gti3sJDTvJwopm72SCa5amdeMiAPik2quXZlxkMvY3JlyT9YZkt0b8UhlFm388Udg2e5Iu6yfBHH4sb738vg=; Message-ID: <895095.14267.qm@web51304.mail.re2.yahoo.com> X-YMail-OSG: YErZu4QVM1ndWcUUJizXwuCa.JOmGHLdKl.IJSVIPdzZ1xkKvCrjqB8KFt7KqqbSE3zPRo5YOjV8z4HImRh80VG.JSnAPgZeJ5rvWTuj3cUIUlVfT6sJWsG1bVUpv9LeinGRvKM0pW0L9jZkMy1thM9VxNW6mxmfPFh2mvZNS8m_QWIav1Xs3YHG088b2SDc_yhWBU4YVIeDitcy4fr.QFFZuc4L7iGE4X4rAr25IyWjVOV2QhYAuB4IAYPIcj_Ksowo.mkokcFsvqi07PeRoFZsh6F9m9YZY0pq8rXdaWSINn6PuKYutkZYaQ_RH9KZX97X50jsjhge4oowG4kQ18Wf3RGkYXrwkg-- Received: from [81.98.160.218] by web51304.mail.re2.yahoo.com via HTTP; Sat, 23 May 2009 03:50:16 PDT X-Mailer: YahooMailClassic/5.3.9 YahooMailWebService/0.7.289.10 Date: Sat, 23 May 2009 03:50:16 -0700 (PDT) From: Jon Hardcastle Subject: Re: [gentoo-user] ARGH I uninstalled python To: gentoo-user@lists.gentoo.org 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=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 1b9e4ed8-f47f-4d74-b822-5c3a20ef766f X-Archives-Hash: b4370ecd8f1880cbd37f2e41bdb0263b --- On Sat, 23/5/09, Jorge Morais wrote:=0A= =0A> From: Jorge Morais =0A> Subject: Re: [g= entoo-user] ARGH I uninstalled python=0A> To: gentoo-user@lists.gentoo.org= =0A> Date: Saturday, 23 May, 2009, 8:55 AM=0A> > Thank you! Thank you! Than= k=0A> you!=0A> > =0A> > I followed this=0A> > =0A> > http://blogs.pwmn.net/= korkakak/2008/06/04/gentoo-i-unmerged-python-now-what=0A> > =0A> > which wo= rked - in the end. couple of caveats tho for=0A> anyone 'that follows' get = python from their site as the ftp=0A> link in this article is out of date.= =0A> > =0A> > http://www.python.org/download/releases/=0A> > =0A> > also I = initially tried 3.01 and that didn't work so i=0A> installed 2.6.2 which wo= rked 'out of the box' i then tested=0A> with 'emerge' and am now running 'e= merge -va python' =0A> > =0A> > Cheers guys!=0A> > =0A> > Thanks to Dale to= o!=0A> =0A> Glad it worked.=0A> But, I don't know what will happen when the= properly=0A> emerged python=0A> overwrites the manually installed Python.= =0A> =0A> Does anybody know if the manual python install is=0A> "slotted", = in the sense=0A> that it installs files in /usr/lib/python2.6,=0A> /usr/inc= lude/python2.6, etc?=0A> If it isn't, and Portage installs a slotted Python= , the old=0A> files wouldn't=0A> be overwritten.=0A> And even if it is, the= differences between the=0A> differently-configured and=0A> super-patched n= ew python and the vanilla old python could=0A> result in=0A> a different se= t of file names, so it is possible that the=0A> old python=0A> will not be = totally overwritten by the portage-emerged=0A> python.=0A> =0A> If I were y= ou, I would at the very least read the log=0A> (specially its tail)=0A> of = the python emerge (emerge logs normally go to=0A> /var/log/emerge).=0A> And= you did log the files installed by the manual python=0A> install,=0A> didn= 't you?=0A> =0A> And why did you try python 3.01 first? You should try a=0A= > similar vesion to=0A> what you were previously running. And specifically = python=0A> 3.01 is crazy,=0A> as it is widely known that it is *not* compat= ible with=0A> python 2.x software.=0A> And did you properly uninstall pytho= n 3.0.1?=0A> =0A> Also, I didn't like the instructions in this blog very=0A= > much.=0A> Wouldn't it be more appropriate to configure python like=0A> po= rtage would?=0A> For example, in my system, where the last python install= =0A> was=0A> dev-lang/python-2.5.4-r2=A0 USE=3D"ncurses readline ssl=0A> th= reads xml -berkdb -build -doc -examples -gdbm -ipv6=0A> -sqlite -tk -ucs2 -= wininst"=0A> =0A> the configure line was (from the log)=0A> ./configure --p= refix=3D/usr --host=3Di686-pc-linux-gnu=0A> --mandir=3D/usr/share/man --inf= odir=3D/usr/share/info=0A> --datadir=3D/usr/share --sysconfdir=3D/etc=0A> -= -localstatedir=3D/var/lib --with-fpectl --enable-shared=0A> --disable-ipv6 = --infodir=3D${prefix}/share/info=0A> --mandir=3D${prefix}/share/man --with-= libc=3D=0A> --enable-unicode=3Ducs4 --with-threads=0A> --build=3Di686-pc-li= nux-gnu=0A> =0A> Maybe it would=A0 be nice to install python to=A0=0A> /usr= /local (I'm not sure),=0A> but if you are going to install it in /usr (like= portage),=0A> I think you=0A> might as well use the same configure line po= rtage would.=0A> And if you wanted to be really clean, you could apply the= =0A> patches that=0A> portage applies.=0A> =0A> And most importantly,=0A> *= was this necessary*?=0A> Couldn't he have emerged python by invoking=0A> eb= uild=0A> /usr/port/usr/portage/dev-lang/python/python-2.6.2.ebuild=0A> merg= e=0A> ?=0A> This would do everyting correctly.=0A> And wouldn't it work wit= hout Python, since it is written in=0A> Bash?=0A> AFAIK, what needs Python = is the high level interface to the=0A> portage=0A> system, while the low-le= vel interface only needs Bash (but=0A> I'm=0A> totally not sure).=0A> =0A> = And finally, couldn't he have gotten a binary package from=0A> http://tinde= rbox.dev.gentoo.org/default-linux/x86/dev-lang/=0A> ?=0A> =0A> =0A=0AAs it = happens it didn't work after all. The emerge broke it again and i got an er= ror from python.=0A=0AAll of your advise here is fantastic and i urge anyon= e that follows to do as you suggest - but i didn't fully uninstall either p= ython install and i plan to just leave them minding their own business (hop= efully) as i cant be bothered to track all the files down. =0A=0AYour final= line suggestion to use ebuild worked - although i had to change the path. = I am running emerge -va python a and it had the same effect as install from= wget and then emerging it. I get=0A=0A File "/usr/bin/emerge", line 41=0A= except PermissionDenied, e:=0A ^=0ASyntaxErro= r: invalid syntax=0A=0AAny clues here?=0A=0A-----------------------=0AN: Jo= n Hardcastle=0AE: Jon@eHardcastle.com=0A'Do not worry about tomorrow, for t= omorrow will bring worries of its own.'=0A=0APlease sponsor me for the Lond= on to Brighton 2009.=0AJust Giving: http://www.justgiving.com/jonathanhardc= astle=0A-----------------------=0A=0A=0A