[CentOS] yum upgrade not working

Mon Dec 22 15:21:17 UTC 2014
Tim Dunphy <bluethundr at gmail.com>

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 at ops:~] #rpm -q --whatprovides /usr/lib64/libyaml-0.so.1
libyaml-0.1.2-3.el5.x86_64

>
> > Can someone please point me in the right direction for solving these
> > problems?
> >
> 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).
>
>
And here is what rpm -qi tells me:

[root at 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

On Sun, Dec 21, 2014 at 6:59 AM, Ned Slider <ned at unixmail.co.uk> wrote:

>
>
> On 21/12/14 02:25, Tim Dunphy wrote:
> > 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 at ops:~] #locate libyaml-0.so.1
> > /usr/lib64/libyaml-0.so.1
> > /usr/lib64/libyaml-0.so.1.1.0
> >
>
> What does rpm say? 'rpm -q --whatprovides /usr/lib64/libyaml-0.so.1'
>
> > Can someone please point me in the right direction for solving these
> > problems?
> >
>
> 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).
>
> > Thanks
> > Tim
> >
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
GPG me!!

gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B