[Tutor] [Q] Installing Python 2.2 on Redhat

Danny Yoo dyoo@hkn.eecs.berkeley.edu
Thu, 27 Dec 2001 11:49:15 -0800 (PST)


On Thu, 27 Dec 2001, Young-Jin Lee wrote:

> Hi, I have a problem installing Python 2.2 on Redhat.
> I tried to install Python 2.2 using RPM in the python web site, but it
> didn't work.
> When I tried to install python2-2.2-2.i386.rpm, I got "python 2 = 2.1.1-2 is
> needed by python-devel-2.1.1-2.
> I also got "python 2 = 2.2 is needed by python2-devel-2.2-2" error message
> when I tried to install python2-devel-2.2-2.i386.rpm.
> How can I solve this problem?

What happens when you try to install both at the same time?  Try:

    rph -Uvh python2-*.rpm

so that the packaging system can see that both components are being
upgraded.  Redhat's package mangager is trying to make sure that your
system's not in an inconsistant state.

Good luck to you!