Yum Upgrade Not Working

Home » CentOS » Yum Upgrade Not Working
CentOS 5 Comments

Hey all,

I’m attempting to upgrade a CentOS 5.9 machine to CentOS 5.10.

But when I try the yum update command I get this response:

–> Finished Dependency Resolution python26-PyYAML-3.08-5.el5.x86_64 from installed has depsolving problems
–> Missing Dependency: libyaml-0.so.1()(64bit) is needed by package python26-PyYAML-3.08-5.el5.x86_64 (installed)
–> Running transaction check
—> Package kernel.x86_64 0:2.6.18-164.15.1.el5.CentOS.plus set to be erased
—> Package kernel.x86_64 0:2.6.18-194.11.4.el5 set to be erased
—> Package kernel.x86_64 0:2.6.18-238.9.1.el5 set to be erased
—> Package kernel-devel.x86_64 0:2.6.18-308.4.1.el5 set to be erased
–> Processing Dependency: libyaml-0.so.1()(64bit) for package:
python26-PyYAML
–> Finished Dependency Resolution python26-PyYAML-3.08-5.el5.x86_64 from installed has depsolving problems
–> Missing Dependency: libyaml-0.so.1()(64bit) is needed by package python26-PyYAML-3.08-5.el5.x86_64 (installed)
Error: Missing Dependency: libyaml-0.so.1()(64bit) is needed by package python26-PyYAML-3.08-5.el5.x86_64 (installed)
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 system claims that it can’t find libyaml-0.so.1, however I can easily locate it:

[root@ops:~] #locate libyaml-0.so.1
/usr/lib64/libyaml-0.so.1
/usr/lib64/libyaml-0.so.1.1.0

Can someone please point me in the right direction for solving these problems?

Thanks Tim

5 thoughts on - Yum Upgrade Not Working

  • What does rpm say? ‘rpm -q –whatprovides /usr/lib64/libyaml-0.so.1’

    These are not CentOS packages (python26-PyYAML and libyaml). I would suggest you ask on the appropriate list for whichever repository these packages were installed from (rpm -qi should tell you).

  • Hi Ned.,

    What does rpm say? ‘rpm -q –whatprovides /usr/lib64/libyaml-0.so.1’

    This is what rpm reports back at that command:

    [root@ops:~] #rpm -q –whatprovides /usr/lib64/libyaml-0.so.1
    libyaml-0.1.2-3.el5.x86_64

    And here is what rpm -qi tells me:

    [root@ops:~] #rpm -qi libyaml-0.1.2-3.el5.x86_64
    Name : libyaml Relocations: (not relocatable)
    Version : 0.1.2 Vendor: Fedora Project < http://bugzilla.redhat.com/bugzilla>
    Release : 3.el5 Build Date: Tue Mar 3 13:53:12
    2009
    Install Date: Sat Nov 5 18:57:39 2011 Build Host:
    xenbuilder2.fedora.redhat.com Group : Development/Libraries Source RPM:
    libyaml-0.1.2-3.el5.src.rpm Size : 126347 License: MIT
    Signature : DSA/SHA1, Tue Mar 3 14:48:55 2009, Key ID 119cc036217521f6
    Packager : Fedora Project <http://bugzilla.redhat.com/bugzilla>
    URL : http://pyyaml.org/
    Summary : YAML 1.1 parser and emitter written in C
    Description :
    YAML is a data serialization format designed for human readability and interaction with scripting languages. LibYAML is a YAML parser and emitter written in C.

    So thinking back it may have been a custom python repo that was used to install that.

    So I guess I can take it from here!

    Thanks Tim