Changes

Jump to navigation Jump to search
473 bytes added ,  17:01, 20 January 2008
no edit summary
Line 26: Line 26:  
  wget http://mirror.contribs.org/smeserver/contribs/nhall/sme7/contribs/pootle/python2.4/rpm/alternatives-0.2.0rc3-9.noarch.rpm
 
  wget http://mirror.contribs.org/smeserver/contribs/nhall/sme7/contribs/pootle/python2.4/rpm/alternatives-0.2.0rc3-9.noarch.rpm
 
  wget http://mirror.contribs.org/smeserver/contribs/nhall/sme7/contribs/pootle/python2.4/rpm/python24-2.4.2-10.el4.pyv.i386.rpm
 
  wget http://mirror.contribs.org/smeserver/contribs/nhall/sme7/contribs/pootle/python2.4/rpm/python24-2.4.2-10.el4.pyv.i386.rpm
 +
 +
Install with yum:
 +
 +
yum localinstall *.rpm
 +
 +
 +
== Fixing alternatives ==
 +
If you run python at command line, you will see version 2.4, and you can't use yum anymore, because yum is installed under python 2.3
 +
 +
To fixing, run the following command:
 +
/usr/sbin/alternatives-helper --remove python24
 +
mv /usr/bin/python.alternatives_save /usr/bin/python
 +
mv /usr/share/man/man1/python.1.gz.alternatives_save /usr/share/man/man1/python.1.gz
 +
 +
Now you have again python 2.3 running
985

edits

Navigation menu