slats52
asked on
rpm will not upgrade python
Hi,
I need to install python-devel-2.4.3-44.el5_ 7.1.i386.r pm on a CentOS 5.5 system.
When I try with the Package Manager i get: "pkgKey 4537 doesn't exist in repo base"
Not finding out what this means thru Google, I thought I would just find the RPM and do it manually.
when I tried rpm -i python-devel-2.4.3-44.el5_ 7.1.i386.r pm I get...
error: Failed dependencies:
python = 2.4.3-44.el5_7.1 is needed by python-devel-2.4.3-44.el5_ 7.1.i386
python < 2.4.3-44.el5_7.1 conflicts with python-devel-2.4.3-44.el5_ 7.1.i386
SO I tried rpm -i python-2.4.3-44.el5_7.1.i3 86.rpm and i get...
error: Failed dependencies:
python-libs-i386 = 2.4.3-44.el5_7.1 is needed by python-2.4.3-44.el5_7.1.i3 86
SO I tried rpm -i python-libs-2.4.3-44.el5_7 .1.i386.rp m and I get...
error: Failed dependencies:
python < 2.4.3-32.el5 conflicts with python-libs-2.4.3-44.el5_7 .1.i386
See how I am in a closed loop here. Libs wont install becasue basic python is wrong , and when I try basic python it says it needs libs.
It seems that the old 2.4.3-27 (on the system now) had basic and libs combined, Now that its two separate packages, it does not know what to do.
I even tried rpm -U python-2.4.3-44.el5_7.1.i3 86.rpm, and I got
error: Failed dependencies:
libpython2.4.so.1.0 is needed by python-2.4.3-44.el5_7.1.i3 86
python-libs-i386 = 2.4.3-44.el5_7.1 is needed by python-2.4.3-44.el5_7.1.i3 86
libpython2.4.so.1.0 is needed by (installed) gnome-python2-gnomevfs-2.1 6.0-1.fc6. i386
libpython2.4.so.1.0 is needed by (installed) rhythmbox-0.9.5-8.el5.i386
libpython2.4.so.1.0 is needed by (installed) libsemanage-1.9.1-4.4.el5. i386
/usr/lib/python2.4 is needed by (installed) libxml2-python-2.6.26-2.1. 2.1.i386
/usr/lib/python2.4 is needed by (installed) gamin-python-0.1.7-8.el5.i 386
PLEASE DO NOT tell me I need to remove ALL these applications that require python before I can upgrade it.
Thanks,
Steve
I need to install python-devel-2.4.3-44.el5_
When I try with the Package Manager i get: "pkgKey 4537 doesn't exist in repo base"
Not finding out what this means thru Google, I thought I would just find the RPM and do it manually.
when I tried rpm -i python-devel-2.4.3-44.el5_
error: Failed dependencies:
python = 2.4.3-44.el5_7.1 is needed by python-devel-2.4.3-44.el5_
python < 2.4.3-44.el5_7.1 conflicts with python-devel-2.4.3-44.el5_
SO I tried rpm -i python-2.4.3-44.el5_7.1.i3
error: Failed dependencies:
python-libs-i386 = 2.4.3-44.el5_7.1 is needed by python-2.4.3-44.el5_7.1.i3
SO I tried rpm -i python-libs-2.4.3-44.el5_7
error: Failed dependencies:
python < 2.4.3-32.el5 conflicts with python-libs-2.4.3-44.el5_7
See how I am in a closed loop here. Libs wont install becasue basic python is wrong , and when I try basic python it says it needs libs.
It seems that the old 2.4.3-27 (on the system now) had basic and libs combined, Now that its two separate packages, it does not know what to do.
I even tried rpm -U python-2.4.3-44.el5_7.1.i3
error: Failed dependencies:
libpython2.4.so.1.0 is needed by python-2.4.3-44.el5_7.1.i3
python-libs-i386 = 2.4.3-44.el5_7.1 is needed by python-2.4.3-44.el5_7.1.i3
libpython2.4.so.1.0 is needed by (installed) gnome-python2-gnomevfs-2.1
libpython2.4.so.1.0 is needed by (installed) rhythmbox-0.9.5-8.el5.i386
libpython2.4.so.1.0 is needed by (installed) libsemanage-1.9.1-4.4.el5.
/usr/lib/python2.4 is needed by (installed) libxml2-python-2.6.26-2.1.
/usr/lib/python2.4 is needed by (installed) gamin-python-0.1.7-8.el5.i
PLEASE DO NOT tell me I need to remove ALL these applications that require python before I can upgrade it.
Thanks,
Steve
ASKER
Thanks for the quick response papertrip, but I think thats my problem. I believe that yum is whats running behind the Package Manager GIU.
When I try to let the package manager do the job i get the error I mentioned above.
"pkgKey 4537 doesn't exist in repo base"
When I tell it to install the python-devel package. (yes, the one i the repository)
Steve
When I try to let the package manager do the job i get the error I mentioned above.
"pkgKey 4537 doesn't exist in repo base"
When I tell it to install the python-devel package. (yes, the one i the repository)
Steve
Alright let's do this using yum on the command line so we can get some more verbose errors.
First let's clean the slate
IF that still throws an error, then 'yum clean all' again, then
Sure we could go the route of downloading and installing all the dependencies, but via yum is definitely the right way to go, if we can get it working of course.
First let's clean the slate
yum clean all
Thenyum install python-devel
IF that still throws an error, then 'yum clean all' again, then
yum info python-devel
and paste it here.Sure we could go the route of downloading and installing all the dependencies, but via yum is definitely the right way to go, if we can get it working of course.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Well papertrip, you definitely deserve that rank of 'Guru". Going thru the command line steps that you outlined seems to have gotten rid if that funny error I was getting.
The whole process went off without a hitch and even upgraded a few other packages in the process.
Problem Solved!!!!
Many Thanks for your help!
Steve
The whole process went off without a hitch and even upgraded a few other packages in the process.
Problem Solved!!!!
Many Thanks for your help!
Steve
One of the greatest things about yum is that it manages all dependencies for you, so that you don't run into this exact issue.