Yum update returning an error

Hi,

OS: Centos 5.6

Last few lines of yum update command executed as root.

Any help is appreciated.

Avinash

–> Finished Dependency Resolution

perl-AnyEvent-5.240-1.el5.rf.noarch from rpmforge has depsolving problems

--> Missing Dependency: perl(Net::SSLeay) >= 1.33 is needed by package perl-AnyEvent-5.240-1.el5.rf.noarch (rpmforge)

Error: Missing Dependency: perl(Net::SSLeay) >= 1.33 is needed by package perl-AnyEvent-5.240-1.el5.rf.noarch (rpmforge)

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.

12 Replies

As near as I can tell, it looks like a problem with RPMforge. Their Centos 5 packages of perl-AnyEvent seems to require perl-Net-SSLeay with a version of at least 1.33. However, there doesn't seem to be a perl-Net-SSLeay package available for Centos 5 with a version greater than 1.30. The really odd thing is that RPMforge seems to have up to date perl-Net-SSLeay packages for Centos 4, but none for 5.

I would suggest contacting the RPMforge people and asking for advice. It looks like they just overlooked providing perl-Net-SSLeay for Centos 5.

If you're feeling adventurous, you could also try grabbing a perl-Net-SSLeay source rpm from another distribution (RPMforge's Centos 4 package is probably your best bet) and then compile it for Centos 5.

Hi,

I have a second server with the same configuration and the update works without any problems.

Wondering how only this server can throw an error?

Avinash

That is odd. On the working server, try this:

$ yum provides 'perl(Net::SSLeay)'

That should show you which packages it thinks are available that provide the necessary package. I don't have a lot of extra repos configured on my Centos boxes, so mine only comes up with perl-Net-SSLeay in Centos base.

Hi,

Here's the output.

yum provides 'perl(Net::SSLeay)'

Loaded plugins: fastestmirror

Loading mirror speeds from cached hostfile

  • base: mirror.netrino.co.uk

  • extras: mirror.netrino.co.uk

  • updates: mirror.netrino.co.uk

perl-Net-SSLeay-1.30-4.fc6.x86_64 : Perl extension for using OpenSSL

Repo : base

Matched from:

Other : perl(Net::SSLeay)

perl-Net-SSLeay-1.30-4.fc6.x86_64 : Perl extension for using OpenSSL

Repo : installed

Matched from:

Other : Provides-match: perl(Net::SSLeay)

try:

yum clean all
yum update

the first command clean all the yum cache and metadata, maybe you are using an rpmforge mirror and your fastest mirror plugin use an outdated mirror, or your yum metadata is corrupted or outdated

I'm at a loss. It looks like your working server is using the same perl-Net-SSLeay that's part of Centos 5.6 base. But that package only provides perl(Net::SSLeay) = 1.30 while perl-AnyEvent needs perl(Net::SSLeay) >= 1.33. I don't know why it worked on that server.

I tried after executing yum clean all but the problem still exists.

But it did one extra thing.

extras | 2.1 kB 00:00

extras/primary_db | 260 kB 00:00

rpmforge | 1.1 kB 00:00

rpmforge/primary | 3.8 MB 00:01

rpmforge 10636/10636

updates | 1.9 kB 00:00

updates/primary_db | 625 kB 00:00

Excluding Packages from CentOS-5 - Base

Finished

@gehena:

try:

yum clean all
yum update

the first command clean all the yum cache and metadata, maybe you are using an rpmforge mirror and your fastest mirror plugin use an outdated mirror, or your yum metadata is corrupted or outdated

Same here, I don't understand how it worked on my other server.

The only difference is the applications installed. One is an application server and the other one has the database.

@Erasmus Darwin:

I'm at a loss. It looks like your working server is using the same perl-Net-SSLeay that's part of Centos 5.6 base. But that package only provides perl(Net::SSLeay) = 1.30 while perl-AnyEvent needs perl(Net::SSLeay) >= 1.33. I don't know why it worked on that server.

This should give you 1.36-

cpan -i Net::SSLeay

Here's what happened.

cpan -i Net::SSLeay

CPAN: Storable loaded ok

Going to read /root/.cpan/Metadata

Database was generated on Mon, 20 Jun 2011 13:45:24 GMT

Running install for module Net::SSLeay

Running make for F/FL/FLORA/Net-SSLeay-1.36.tar.gz

CPAN: Digest::MD5 loaded ok

Checksum for /root/.cpan/sources/authors/id/F/FL/FLORA/Net-SSLeay-1.36.tar.gz ok

Scanning cache /root/.cpan/build for sizes

Net-SSLeay-1.36/

Net-SSLeay-1.36/constants.c

Net-SSLeay-1.36/inc/

Net-SSLeay-1.36/inc/Module/

Net-SSLeay-1.36/inc/Module/Install/

Net-SSLeay-1.36/inc/Module/Install/External.pm

Net-SSLeay-1.36/inc/Module/Install/Can.pm

Net-SSLeay-1.36/inc/Module/Install/WriteAll.pm

Net-SSLeay-1.36/inc/Module/Install/Makefile.pm

Net-SSLeay-1.36/inc/Module/Install/Metadata.pm

Net-SSLeay-1.36/inc/Module/Install/PRIVATE/

Net-SSLeay-1.36/inc/Module/Install/PRIVATE/Net/

Net-SSLeay-1.36/inc/Module/Install/PRIVATE/Net/SSLeay.pm

Net-SSLeay-1.36/inc/Module/Install/Base.pm

Net-SSLeay-1.36/inc/Module/Install/Fetch.pm

Net-SSLeay-1.36/inc/Module/Install/Compiler.pm

Net-SSLeay-1.36/inc/Module/Install/Win32.pm

Net-SSLeay-1.36/inc/Module/Install.pm

Net-SSLeay-1.36/QuickRef

Net-SSLeay-1.36/TODO

Net-SSLeay-1.36/README.Win32

Net-SSLeay-1.36/ppport.h

Net-SSLeay-1.36/MANIFEST.SKIP

Net-SSLeay-1.36/Changes

Net-SSLeay-1.36/t/

Net-SSLeay-1.36/t/data/

Net-SSLeay-1.36/t/data/0f89dbb5.0

Net-SSLeay-1.36/t/data/key.pem

Net-SSLeay-1.36/t/data/cert.pem

Net-SSLeay-1.36/t/data/key.pem.e

Net-SSLeay-1.36/t/handle/

Net-SSLeay-1.36/t/handle/external/

Net-SSLeay-1.36/t/handle/external/50_external.t

Net-SSLeay-1.36/t/handle/external/10_destroy.t

Net-SSLeay-1.36/t/handle/local/

Net-SSLeay-1.36/t/handle/local/05_use.t

Net-SSLeay-1.36/t/external/

Net-SSLeay-1.36/t/external/08_external.t

Net-SSLeay-1.36/t/external/15_altnames.t

Net-SSLeay-1.36/t/local/

Net-SSLeay-1.36/t/local/15_bio.t

Net-SSLeay-1.36/t/local/31rsagenerate_key.t

Net-SSLeay-1.36/t/local/08_pipe.t

Net-SSLeay-1.36/t/local/03_use.t

Net-SSLeay-1.36/t/local/01_pod.t

Net-SSLeay-1.36/t/local/kwalitee.t

Net-SSLeay-1.36/t/local/04_basic.t

Net-SSLeay-1.36/t/local/06_tcpecho.t

Net-SSLeay-1.36/t/local/ptrcasttest.c

Net-SSLeay-1.36/t/local/20_autoload.t

Net-SSLeay-1.36/t/local/07_sslecho.t

Net-SSLeay-1.36/t/local/00ptrcast.t

Net-SSLeay-1.36/t/local/02podcoverage.t

Net-SSLeay-1.36/t/local/30_error.t

Net-SSLeay-1.36/t/local/35_ephemeral.t

Net-SSLeay-1.36/t/local/05passwdcb.t

Net-SSLeay-1.36/t/local/50_digest.t

Net-SSLeay-1.36/typemap

Net-SSLeay-1.36/Makefile.PL

Net-SSLeay-1.36/META.yml

Net-SSLeay-1.36/examples/

Net-SSLeay-1.36/examples/stdio_bulk.pl

Net-SSLeay-1.36/examples/https-proxy-snif.pl

Net-SSLeay-1.36/examples/tcpcat.pl

Net-SSLeay-1.36/examples/cb-testi.pl

Net-SSLeay-1.36/examples/get_page.pl

Net-SSLeay-1.36/examples/req.conf

Net-SSLeay-1.36/examples/cli-cert.pl

Net-SSLeay-1.36/examples/sslecho.pl

Net-SSLeay-1.36/examples/getpagecert.pl

Net-SSLeay-1.36/examples/makecert.pl

Net-SSLeay-1.36/examples/minicli.pl

Net-SSLeay-1.36/examples/ssl-inetd-serv.pl

Net-SSLeay-1.36/examples/tcpecho.pl

Net-SSLeay-1.36/examples/sslcat.pl

Net-SSLeay-1.36/examples/getauthenticatedpage.pl

Net-SSLeay-1.36/examples/callback.pl

Net-SSLeay-1.36/examples/bio.pl

Net-SSLeay-1.36/examples/server_key.pem

Net-SSLeay-1.36/examples/ephemeral.pl

Net-SSLeay-1.36/examples/bulk.pl

Net-SSLeay-1.36/examples/ssl_diff.pl

Net-SSLeay-1.36/examples/passwd-cb.pl

Net-SSLeay-1.36/SSLeay.xs

Net-SSLeay-1.36/Credits

Net-SSLeay-1.36/RECIPE.Win32

Net-SSLeay-1.36/MANIFEST

Net-SSLeay-1.36/lib/

Net-SSLeay-1.36/lib/Net/

Net-SSLeay-1.36/lib/Net/SSLeay.pm

Net-SSLeay-1.36/lib/Net/SSLeay/

Net-SSLeay-1.36/lib/Net/SSLeay/Handle.pm

Net-SSLeay-1.36/README

Removing previously used /root/.cpan/build/Net-SSLeay-1.36

CPAN.pm: Going to build F/FL/FLORA/Net-SSLeay-1.36.tar.gz

Cannot determine perl version info from lib/Net/SSLeay.pm

Cannot determine license info from lib/Net/SSLeay.pm

Unresolvable missing external dependency.

This package requires a C compiler.

NA: Unable to build distribution on this platform.

make: *** No targets specified and no makefile found. Stop.

/usr/bin/make – NOT OK

Running make test

Can't test without successful make

Running make install

make had returned bad status, install seems impossible

@Praefectus:

This should give you 1.36-

cpan -i Net::SSLeay

I don't know if you noticed, but they responded to your question on the RPMforge mailing list:

~~[http://lists.repoforge.org/pipermail/users/2011-June/022248.html" target="_blank">](http://lists.repoforge.org/pipermail/us … 22248.html">http://lists.repoforge.org/pipermail/users/2011-June/022248.html](

It looks like the perl-Net-SSLeay package you need is in the RPMforge extras repo. So enabling that should fix your problem. It also seems like RPMforge extras isn't indexed by pkgs.org, which is why I came up empty-handed while trying to find a proper package.

Edit: Oops. Just noticed you replied further along in that thread, and they were able to help you get everything straightened out.

Yes, I did that and it worked. :)

@Erasmus Darwin:

I don't know if you noticed, but they responded to your question on the RPMforge mailing list:

~~[http://lists.repoforge.org/pipermail/users/2011-June/022248.html" target="_blank">](http://lists.repoforge.org/pipermail/us … 22248.html">http://lists.repoforge.org/pipermail/users/2011-June/022248.html](

It looks like the perl-Net-SSLeay package you need is in the RPMforge extras repo. So enabling that should fix your problem. It also seems like RPMforge extras isn't indexed by pkgs.org, which is why I came up empty-handed while trying to find a proper package.

Edit: Oops. Just noticed you replied further along in that thread, and they were able to help you get everything straightened out.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct