[C++-sig] Boost / python-devel / python dependency problem

David Aldrich David.Aldrich at EU.NEC.COM
Thu Jan 6 15:58:59 CET 2011


Hi

I wonder if someone could help me out with a yum dependency problem please?

I am running Centos 5.5. I installed Boost 1.40 from the Black Op Software repo. I now need to install python-devel, but when I do so I get:

=================================================================
$ sudo yum install python-devel
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* addons: anorien.csc.warwick.ac.uk
* base: anorien.csc.warwick.ac.uk
* extras: mirror.as29550.net
* updates: anorien.csc.warwick.ac.uk
943 packages excluded due to repository priority protections
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package python-devel.i386 0:2.4.3-27.el5 set to be updated
--> Processing Dependency: python = 2.4.3-27.el5 for package: python-devel
--> Finished Dependency Resolution
python-devel-2.4.3-27.el5.i386 from base has depsolving problems
  --> Missing Dependency: python = 2.4.3-27.el5 is needed by package python-devel-2.4.3-27.el5.i386 (base)
Error: Missing Dependency: python = 2.4.3-27.el5 is needed by package python-devel-2.4.3-27.el5.i386 (base)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.
=================================================================

However, I do have python 2.4 installed:

================================================================= 
$ sudo yum install python
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* addons: anorien.csc.warwick.ac.uk
* base: anorien.csc.warwick.ac.uk
* extras: mirror.as29550.net
* updates: anorien.csc.warwick.ac.uk
943 packages excluded due to repository priority protections
Setting up Install Process
Package matching python-2.4.3-27.el5.i386 already installed. Checking for update.
Nothing to do
=================================================================

Finally, this may be useful information:

=================================================================
[daldrich at localhost Zodiac]$ yum list python
Loaded plugins: fastestmirror, priorities
blackop                                                                 474/474
943 packages excluded due to repository priority protections
Installed Packages
python.i386                      2.4.3-27.el5_5.3                      installed
[daldrich at localhost Zodiac]$
=================================================================

So python-devel seems to want python 2.4.3-27.el5 but I have 2.4.3-27.el5_5.3                      

Any suggestions how I can fix this please?

David 



More information about the Cplusplus-sig mailing list