-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 21.01.2012 00:09, Grant wrote:
>>> I have an old Gentoo system that hasn't been updated or used at
>>> all in at least 2 years.  It's remote but I have SSH access.
>>> I've updated portage but I thought I should check with you guys
>>> before I plow ahead with emerge -DuN world.  It won't be used
>>> for anything until I bring it up to speed and someone can
>>> physically log in and issue commands a couple times per week so
>>> an outage isn't the end of the world.  Any advice?
>> 
>> Take small steps. emerge -pv @system first and be prepared to
>> emerge packages a few at a time.
> 
> Weird, it looks like portage didn't update to the latest version. 
> emerging it again seems to want to update it again.  I get this:
> 
> # emerge -pv portage [snip] [ebuild  NS   ]
> dev-lang/python-2.7.2-r3 [2.5.2-r7] USE="gdbm ncurses readline ssl
> threads (wide-unicode) xml -berkdb -build -doc -examples -ipv6
> -sqlite -tk -wininst" 11,494 kB [ebuild     U ]
> sys-apps/portage-2.1.10.41 [2.1.6.13] USE="(ipc%*) -build -doc
> -epydoc -python2% -python3% (-selinux) (-less%*)" LINGUAS="-pl" 899
> kB [blocks B     ] dev-lang/python:2.7 ("dev-lang/python:2.7" is
> blocking sys-apps/portage-2.1.6.13) [blocks B     ]
> <sys-apps/portage-2.1.9 ("<sys-apps/portage-2.1.9" is blocking
> dev-lang/python-2.7.2-r3)
> 
> I think I'll be able to resolve most stuff myself but this one is 
> tricking me.  I don't want to mess around unmerging python or
> portage.
> 
> - Grant
> 

You could do:

emerge =dev-lang/python-2.6.7-r2

You should disable "threads" if it doesn't work (there is something
related to it in the portage ebuild). After that, switch to python 2.6
 via eselect and try to update portage.
If I read the ebuilds correctly, that should work.

Another possibility would be to install a 3.x version of python and
switch portage to that (via the python3 useflag).

I'd try the python3 approach first, since it could spare you a 2.6
install.
Don't forget to run python-updater after updating everything or if you
get strange (python related) errorrs in between...

Good luck

Hinnerk
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPGfkPAAoJEJwwOFaNFkYcr48H/iAVc/K6gOkGZ/wFewkoggWZ
gKS5bRiuwWRRLBL3nRPraIlYvnfzqTTG/PLkYasFgcEeCpKE70mMcKqIvFFzt3Ab
UVc5Xly8qaYUR4XUYNzz5ww9TAs6BrmYyJvxCSXdp+oiZx6RmeyuXuwFU6v04v1I
QkWrVkOIOtq9YVFxgu096KiQeRzZ2m5iURgkipl8rBYNXSaKBVktuKlnS0loFUAZ
rqNLs3qUuAsEmlua7KLV8LHWVfnBICuXwrgCssy+cBHJGeTUEQIyIc4lnI7Mwe2d
7GWuMTkxKfyWtChiW/hWxYv5c4lQFkP+5GIyQT64rJ7cjkufkPkkNZx7wQtszjs=
=ASiv
-----END PGP SIGNATURE-----

Reply via email to