[CentOS] Problem with python in 5.3 update?

James B. Byrne

byrnejb at harte-lyne.ca
Fri Apr 3 21:06:44 UTC 2009


I am trying to update a host from 5.2 to 5.3 via yum in sections
(yum update a\* b\* etc.).  I am seeing this error very frequently:

# yum update red/*
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
 * base: mirrors.adams.net
 * updates: ftp.lug.udel.edu
 * addons: mirrors.greenmountainaccess.net
 * extras: yum.singlehop.com
Setting up Update Process
No Packages marked for Update

# yum update red\*
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
 * base: centos.mirrors.tds.net
 * updates: chi-10g-1-mirror.fastsoft.net
 * addons: mirrors.greenmountainaccess.net
 * extras: yum.singlehop.com
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package redhat-artwork.i386 0:5.1.0-28.el5.centos set to be
updated
---> Package redhat-rpm-config.noarch 0:8.0.45-29.el5 set to be updated
---> Package redhat-logos.noarch 0:4.9.99-11.el5.centos set to be
updated
---> Package redhat-menus.noarch 0:6.7.8-3.el5 set to be updated
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in ?
    yummain.user_main(sys.argv[1:], exit_code=True)
  File "/usr/share/yum-cli/yummain.py", line 229, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 145, in main
    (result, resultmsgs) = base.buildTransaction()
  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 647,
in buildTransaction
    (rescode, restring) = self.resolveDeps()


I tried to update python on its own but this happens when I try:

# yum update python
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
 * base: mirrors.adams.net
 * updates: ftp.lug.udel.edu
 * addons: mirrors.greenmountainaccess.net
 * extras: yum.singlehop.com
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package python.i386 0:2.4.3-24.el5 set to be updated
--> Processing Dependency: python = 2.4.3-21.el5 for package:
python-devel
--> Processing Dependency: python = 2.4.3-21.el5 for package: tkinter
--> Running transaction check
---> Package tkinter.i386 0:2.4.3-24.el5 set to be updated
---> Package python-devel.i386 0:2.4.3-24.el5 set to be updated
--> Processing Dependency: /usr/lib/python2.4 for package: gamin-python
--> Processing Dependency: /usr/lib/python2.4 for package:
libxml2-python
--> Processing Dependency: /usr/lib/python2.4 for package:
libxslt-python
--> Finished Dependency Resolution
gamin-python-0.1.7-8.el5.i386 from installed has depsolving problems
  --> Missing Dependency: /usr/lib/python2.4 is needed by package
gamin-python-0.1.7-8.el5.i386 (installed)
libxslt-python-1.1.17-2.el5_2.2.i386 from installed has depsolving
problems
  --> Missing Dependency: /usr/lib/python2.4 is needed by package
libxslt-python-1.1.17-2.el5_2.2.i386 (installed)
libxml2-python-2.6.26-2.1.2.7.i386 from installed has depsolving
problems
  --> Missing Dependency: /usr/lib/python2.4 is needed by package
libxml2-python-2.6.26-2.1.2.7.i386 (installed)
Error: Missing Dependency: /usr/lib/python2.4 is needed by package
libxml2-python-2.6.26-2.1.2.7.i386 (installed)
Error: Missing Dependency: /usr/lib/python2.4 is needed by package
gamin-python-0.1.7-8.el5.i386 (installed)
Error: Missing Dependency: /usr/lib/python2.4 is needed by package
libxslt-python-1.1.17-2.el5_2.2.i386 (installed)


I have completed moving to 5.3 on two other hosts, one with a single
java package error as previously reported.  What is happening here? 
How do I fix it?  I do not recall adding python packages to this
host from other repositories, but it is possible that I did at some
point.

I have checked the release notes and the updates repo is enabled.
All third-party repos are disabled.

Help?

-- 
***          E-Mail is NOT a SECURE channel          ***
James B. Byrne                mailto:ByrneJB at Harte-Lyne.ca
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3




More information about the CentOS mailing list