Gentoo Archives: gentoo-user

From: Dale <dalek1967@×××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: dev-lang/python-2.3.6-r2 (is blocking app-admin/python-updater-0.5
Date: Sun, 27 Jul 2008 01:18:19
Message-Id: 488BCCD6.9070203@bellsouth.net
In Reply to: Re: [gentoo-user] Re: dev-lang/python-2.3.6-r2 (is blocking app-admin/python-updater-0.5 by Mark Knecht
1 Mark Knecht wrote:
2 > On Sat, Jul 26, 2008 at 4:20 PM, Nikos Chantziaras <realnc@×××××.de> wrote:
3 >
4 >> Dale wrote:
5 >>
6 >>> Mark Knecht wrote:
7 >>>
8 >>>> As part of emerge -DuN system portage appears to first make me remove
9 >>>> python by hand. Is this safe?
10 >>>>
11 >>> No! Not until you get a working version installed. Portage needs python.
12 >>> Someone correct me if I misstep here:
13 >>>
14 >>> emerge the new python, run the python updater and let it emerge whatever
15 >>> packages it needs to rebuild, check to make sure nothing still needs the old
16 >>> version and then you can unmerge the old one.
17 >>>
18 >>> I think that is the correct way.
19 >>>
20 >> It is. *Only* unmerge the old Python after you emerged the new one *and*
21 >> ran python-updater.
22 >>
23 >> Unmerging Python without first emerging the new version is equivalent to
24 >> sawing off the branch you are sitting on. You could as well unmerge portage
25 >> itself and wonder where portage went and why you can't emerge.
26 >>
27 >>
28 >
29 > Thanks. That is sort of what I thought but I felt it best to ask
30 > first. It seems I have python oriented things in my world file that
31 > I'm not clear need to be there. One is python-updater. I'll emerge
32 > python first and then return to look at how emerge -DuN world would
33 > proceed.
34 >
35 > Thanks!
36 >
37 > Cheers,
38 > Mark
39 >
40 >
41 >
42
43 Not quite there yet. After you emerge the new python, run the python
44 updater and let it update/re-emerge whatever it needs to. You really
45 need to run the updater tool. It looks for packages that will still
46 depend on the old python and rebuild them so they will work with the new
47 one.
48
49 If you emerge the new python and unmerge the old python, some things may
50 not work, including portage.
51
52 After you get that sorted out, then you can do the other updates.
53
54 Make sense?
55
56 Dale
57
58 :-) :-)

Replies