On Sunday 24 April 2011 14:25:58 Alan Mackenzie wrote: > Hi, Mick. > > On Sun, Apr 24, 2011 at 09:17:45AM +0100, Mick wrote: > > On Saturday 23 April 2011 21:06:25 Alan Mackenzie wrote: > > > On Sat, Apr 23, 2011 at 08:46:30PM +0100, Mick wrote: > > > > What do you get when you run: > > > > > > > > # eselect python list > > > > > > Available Python interpreters: > > > [1] python2.6 * > > > [2] python2.7 > > > [3] python3.1 > > > > OK, the next stage would be to change your python to the latest stable: > > > > eselect python set 2 > > DONE. > > > and then remerge those packages that were linked against the old > > python: > > > > python-updater -v -p > > > > to get a list of these. > > That gives me a list of 24 packages. Am I meant to actually run > python-updater without the -p, here?
That's correct. As the man emerge say -p stands for --pretend. Just to give a chance to see what it wants to do and think about it before you run it again without it for execution. You need to do this next. > > When you finish all this you can run: > > > > emerge --depclean -v -p > > > > It should now ask you to remove the old python, but check carefully the > > remaining packages in case something important is in the list and > > breaks your system. > > I do emerge --depclean -v -p. It says I should run emerge -uDN @world > first. I'm a bit apprehensive about this, since the world update says it > would reemerge 138 packages (I'm not sure whether this is top-level > (whatever that means) packages or the real total). In that list are 3 > blockages I don't know wha do do with. My experience suggests this will > not work smoothly, and I'll likely be left with a non-working (or even a > non-bootable) system. At this stage you should only run: python-updater -v Nothing else. Once it completes you can run --depclean which will ask you to remove the older 2.6 python package. > How come? Well, I started my installation in February 2010, and with one > thing and another, didn't get it finished, so it went into cold storage > until a month ago. I've had so much trouble trying to get updated, that > it might be better to start again from scratch with a new stage3 (or even > a new installation CD). This would surely leave my home directory and > suchlike untouched. What do you think? Adding the -N flag will remerge any packages that are affected by changes to USE flags that you have made since they were first installed. So the list will be longer than without it. -- Regards, Mick
signature.asc
Description: This is a digitally signed message part.