On Tue, 2003-08-05 at 14:14, Ming-Che Lee wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi!
> 
> On Tuesday, 5. August 2003 12:05 spiff.devotion wrote:
> 
> > Well, emerge installed glibc-2.3.1-r4 anyway, and now I can't use
> > emerge anymore, since the python installed on my system required
> > glibc-2.3.2.
> 
> Have a look at this thread in the forums: 
> http://forums.gentoo.org/viewtopic.php?t=68195&highlight=

Got beaten as well, here below is the tip Sirron gave me to sort out the mess.
It worked fine for me. Hope it helps.

==================================
Hello Frederic.

Here is how I recovered.

First I found the python source in the /usr/portage/distfile. 
Python-2.2.2.tgz also Python-2.2.3.tgz should work also. And if you 
don't have it in the distfile, just download it directly from pythons
site.

then untar the file into /tmp (or whatever temp location you want).  
next go to the python directory you just created with the untar, and do 
the "./configure --prefix=/usr" command. you must use the 
"--prefix=/usr" in order to override the standard location of python. I 
forgot this many times, but someone corrected me and that makes it work.

Then do "make", and "make install" (you can also do "make test" before 
"make install" if you want).

After that, you must rescue your portage. go to 
/usr/portage/sys-apps/portage/files.

you will see a file named portage-rescue-2.0.47-r10-x86.tbz2. Issue this
command (exactly)

tar -xjpUvf portage-rescue-2.0.47-r10-x86.tbz2 -C /

you will be overlaying /usr/portage but that is exactly what you want to
do. And dont forget the "/" because you are untarring into root  ("/")

immediately issue "emerge rsync" (it will complain at the end, but 
that's ok) and then "emerge python" and finally "emerge portage"

Steps in brief (you may need some slight changes depending on location 
of the Python source file:

cd /tmp
tar -xzvf /usr/portage/distfile/Python-2.2.2.tgz
cd Python-2.2.2
./configure --prefix=/usr
make
make test
make install
cd /usr/portage/sys-apps/portage/files
tar -xjpUvf portage-rescue-2.0.47-r10-x86.tbz2 -C /
emerge rsync
emerge python
emerge portage

I hope this works for you. Let me know.

Sirron
[EMAIL PROTECTED]
================================================

-- 
Frederic Soulier <[EMAIL PROTECTED]>


--
[EMAIL PROTECTED] mailing list

Reply via email to