1 |
On Sunday 24 April 2011 16:44:05 Mick wrote: |
2 |
> On Sunday 24 April 2011 14:25:58 Alan Mackenzie wrote: |
3 |
> > Hi, Mick. |
4 |
> > |
5 |
> > On Sun, Apr 24, 2011 at 09:17:45AM +0100, Mick wrote: |
6 |
> > > On Saturday 23 April 2011 21:06:25 Alan Mackenzie wrote: |
7 |
> > > > On Sat, Apr 23, 2011 at 08:46:30PM +0100, Mick wrote: |
8 |
> > > > > What do you get when you run: |
9 |
> > > > > |
10 |
> > > > > # eselect python list |
11 |
> > > > |
12 |
> > > > Available Python interpreters: |
13 |
> > > > [1] python2.6 * |
14 |
> > > > [2] python2.7 |
15 |
> > > > [3] python3.1 |
16 |
> > > |
17 |
> > > OK, the next stage would be to change your python to the latest stable: |
18 |
> > > |
19 |
> > > eselect python set 2 |
20 |
> > |
21 |
> > DONE. |
22 |
> > |
23 |
> > > and then remerge those packages that were linked against the old |
24 |
> > > python: |
25 |
> > > |
26 |
> > > python-updater -v -p |
27 |
> > > |
28 |
> > > to get a list of these. |
29 |
> > |
30 |
> > That gives me a list of 24 packages. Am I meant to actually run |
31 |
> > python-updater without the -p, here? |
32 |
> |
33 |
> That's correct. As the man emerge say -p stands for --pretend. Just to |
34 |
> give a chance to see what it wants to do and think about it before you run |
35 |
> it again without it for execution. |
36 |
> |
37 |
> You need to do this next. |
38 |
> |
39 |
> > > When you finish all this you can run: |
40 |
> > > |
41 |
> > > emerge --depclean -v -p |
42 |
> > > |
43 |
> > > It should now ask you to remove the old python, but check carefully the |
44 |
> > > remaining packages in case something important is in the list and |
45 |
> > > breaks your system. |
46 |
> > |
47 |
> > I do emerge --depclean -v -p. It says I should run emerge -uDN @world |
48 |
> > first. I'm a bit apprehensive about this, since the world update says it |
49 |
> > would reemerge 138 packages (I'm not sure whether this is top-level |
50 |
> > (whatever that means) packages or the real total). In that list are 3 |
51 |
> > blockages I don't know wha do do with. My experience suggests this will |
52 |
> > not work smoothly, and I'll likely be left with a non-working (or even a |
53 |
> > non-bootable) system. |
54 |
> |
55 |
> At this stage you should only run: |
56 |
> |
57 |
> python-updater -v |
58 |
> |
59 |
> Nothing else. |
60 |
> |
61 |
> Once it completes you can run --depclean which will ask you to remove the |
62 |
> older 2.6 python package. |
63 |
> |
64 |
> > How come? Well, I started my installation in February 2010, and with one |
65 |
> > thing and another, didn't get it finished, so it went into cold storage |
66 |
> > until a month ago. I've had so much trouble trying to get updated, that |
67 |
> > it might be better to start again from scratch with a new stage3 (or even |
68 |
> > a new installation CD). This would surely leave my home directory and |
69 |
> > suchlike untouched. What do you think? |
70 |
> |
71 |
> Adding the -N flag will remerge any packages that are affected by changes |
72 |
> to USE flags that you have made since they were first installed. So the |
73 |
> list will be longer than without it. |
74 |
|
75 |
Post any blockers shown if you don't know what you need to do about them. |
76 |
-- |
77 |
Regards, |
78 |
Mick |