Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Mon Jun 20, 2011 9:03 am 
Offline
Senior Member
User avatar

Joined: Tue Apr 26, 2011 7:43 am
Posts: 59
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.


Top
   
 Post subject:
PostPosted: Mon Jun 20, 2011 9:50 am 
Offline
Junior Member

Joined: Wed Oct 06, 2010 2:41 pm
Posts: 20
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.


Top
   
 Post subject:
PostPosted: Mon Jun 20, 2011 10:01 am 
Offline
Senior Member
User avatar

Joined: Tue Apr 26, 2011 7:43 am
Posts: 59
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


Top
   
 Post subject:
PostPosted: Mon Jun 20, 2011 10:42 am 
Offline
Junior Member

Joined: Wed Oct 06, 2010 2:41 pm
Posts: 20
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.


Top
   
 Post subject:
PostPosted: Mon Jun 20, 2011 10:59 am 
Offline
Senior Member
User avatar

Joined: Tue Apr 26, 2011 7:43 am
Posts: 59
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)


Top
   
 Post subject:
PostPosted: Mon Jun 20, 2011 11:19 am 
Offline
Newbie

Joined: Sat May 21, 2011 11:14 am
Posts: 3
try:

Code:
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


Top
   
 Post subject:
PostPosted: Mon Jun 20, 2011 12:33 pm 
Offline
Junior Member

Joined: Wed Oct 06, 2010 2:41 pm
Posts: 20
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.


Top
   
 Post subject:
PostPosted: Mon Jun 20, 2011 10:20 pm 
Offline
Senior Member
User avatar

Joined: Tue Apr 26, 2011 7:43 am
Posts: 59
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 wrote:
try:

Code:
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


Top
   
 Post subject:
PostPosted: Mon Jun 20, 2011 10:23 pm 
Offline
Senior Member
User avatar

Joined: Tue Apr 26, 2011 7:43 am
Posts: 59
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 wrote:
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.


Top
   
 Post subject:
PostPosted: Mon Jun 20, 2011 10:28 pm 
Offline
Linode Staff

Joined: Fri Feb 18, 2011 10:08 am
Posts: 42
Location: Galloway, NJ
This should give you 1.36-
cpan -i Net::SSLeay


Top
   
 Post subject:
PostPosted: Tue Jun 21, 2011 1:15 am 
Offline
Senior Member
User avatar

Joined: Tue Apr 26, 2011 7:43 am
Posts: 59
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/31_rsa_generate_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/ptr_cast_test.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/00_ptr_cast.t
Net-SSLeay-1.36/t/local/02_pod_coverage.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/05_passwd_cb.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/get_page_cert.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/get_authenticated_page.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 wrote:
This should give you 1.36-
cpan -i Net::SSLeay


Top
   
 Post subject:
PostPosted: Tue Jun 21, 2011 10:38 am 
Offline
Junior Member

Joined: Wed Oct 06, 2010 2:41 pm
Posts: 20
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

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.


Top
   
 Post subject:
PostPosted: Tue Jun 21, 2011 12:17 pm 
Offline
Senior Member
User avatar

Joined: Tue Apr 26, 2011 7:43 am
Posts: 59
Yes, I did that and it worked. :)

Erasmus Darwin wrote:
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

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.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group