Latest python update fails

Updating from within Virtualmin, the latest python update fails due to a missing dependency.

      Updated: bind.i386 30:9.3.4-10.P1.el5_3.3 bind-libs.i386 30:9.3.4-10.P1.el5_3.3 bind-utils.i386 30:9.3.4-10.P1.el5_3.3 caching-nameserver.i386 30:9.3.4-10.P1.el5_3.3
      Complete!

      .. install complete.


Now updating python ..

      Installing package(s) with command yum -y install python ..

      Loaded plugins: fastestmirror
      Loading mirror speeds from cached hostfile
       * base: mirrors.cmich.edu
       * updates: mirror.fdcservers.net
       * addons: mirrors.cmich.edu
       * extras: mirror.fdcservers.net
      Setting up Install Process
      Parsing package install arguments
      Resolving Dependencies
      There are unfinished transactions remaining. You mightconsider running yum-complete-transaction first to finish them.
      --> Running transaction check
      ---> Package python.i386 0:2.4.3-24.el5_3.6 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
      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)
      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)
      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)
      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)

      .. install failed!


Successfully installed 4 packages.
Status: 
Closed (fixed)

Comments

Which Linux distribution and version are you running there?

Also, do you have any custom YUM repositories defined?

  1. CentOS Linux 5.3 Webmin version 1.480 Virtualmin version 3.71 Pro Theme version 7.4 Kernel and CPU Linux 2.6.18-128.2.1.el5 on i686

  2. No custom YUM repositories

[root@host ~]# cd /etc/yum.repos.d
[root@host yum.repos.d]# ls
CentOS-Base.repo  CentOS-Media.repo  virtualmin.repo
Joe's picture
Submitted by Joe on Thu, 07/30/2009 - 04:02 Pro Licensee

This isn't something we have any control over. None of these are Virtualmin-provided packages.

If you don't need those offending packages (gamin-python, libxml2-python, etc.), you might try removing them, and then updating Python. I don't know what else might depend on those packages, though. Nothing we do depends on them, but other parts of the system might.

OK...

There were too many further dependencies involved that were set to be removed with 'yum remove gamin-python libxml2-python libxslt-python', so I said 'N' to that.

Subsequently though, did do a 'yum clean all' and ran 'yum update python.i386' and all went off well.

Sorry for the inconvenience. It's sorted now.

Thanks.

Whenever I have a problem doing a yum update, I do a 'yum clean all'. It's amazing how many times that's all that is needed for a successful update. Remember, it will take a little longer to do the first update because the header cache must be repopulated.

John