LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 05-12-2003, 06:07 PM   #1
tarballed
Member
 
Registered: Jun 2002
Distribution: RH, FC, FreeBSD,OpenBSD
Posts: 326

Rep: Reputation: 30
How do you upgrade openssl via rpm...?


Hello everyone. I am a little confused on the best way to update openssl on my server via rpm.

Basically, I am installing samba 2.2.8a on my server. I downloaded the rawhide src.rpm so I could configure a few options that I need to have set when I install samba. The only problem I am running into is with openssl.

Here is some output from my server:

[root@PDC RPMS]# rpm -qa |grep openssl
openssl-0.9.6b-33
openssl-devel-0.9.6b-33

Shows my current version of openssl.

Now, when I try to install a updated version of Samba, I get this:

[root@PDC RPMS]# rpm -Uvh samba-common-2.2.8a-0.i386.rpm
error: Failed dependencies:
libcrypto.so.4 is needed by samba-common-2.2.8a-0
libssl.so.4 is needed by samba-common-2.2.8a-0

Doing some research, I see that libcrypto.so.4 is installed with version 0.9.7a of openssl. So I download this RPM and try to install it.

This is what happens when I try to install/upgrade openssl:

[root@CourtesyPDC RPMS]# rpm -Uvh openssl-0.9.7a-5.i386.rpm
error: Failed dependencies:
libcrypto.so.2 is needed by (installed) python-2.2.1-17
libcrypto.so.2 is needed by (installed) gnome-vfs2-2.0.2-5
libcrypto.so.2 is needed by (installed) bind-utils-9.2.1-9
libcrypto.so.2 is needed by (installed) lftp-2.5.2-5
libcrypto.so.2 is needed by (installed) libwvstreams-3.70-5
libcrypto.so.2 is needed by (installed) openssh-3.4p1-2
libcrypto.so.2 is needed by (installed) openssh-clients-3.4p1-2
libcrypto.so.2 is needed by (installed) openssh-server-3.4p1-2
libcrypto.so.2 is needed by (installed) pyOpenSSL-0.5.0.91-1
libcrypto.so.2 is needed by (installed) net-snmp-5.0.1-6
libcrypto.so.2 is needed by (installed) net-snmp-utils-5.0.1-6
libcrypto.so.2 is needed by (installed) sendmail-8.12.5-7
libcrypto.so.2 is needed by (installed) stunnel-3.22-4
libcrypto.so.2 is needed by (installed) tcpdump-3.6.3-3
libcrypto.so.2 is needed by (installed) wget-1.8.2-3
libcrypto.so.2 is needed by (installed) cups-libs-1.1.15-10
libcrypto.so.2 is needed by (installed) curl-7.9.8-1
libcrypto.so.2 is needed by (installed) gnome-vfs-1.0.5-6
libcrypto.so.2 is needed by (installed) mutt-1.4-4
libcrypto.so.2 is needed by (installed) postfix-1.1.11-5
libcrypto.so.2 is needed by (installed) ethereal-0.9.6-1
libcrypto.so.2 is needed by (installed) lynx-2.8.5-7
libcrypto.so.2 is needed by (installed) cyrus-sasl-2.1.10-1
libcrypto.so.2 is needed by (installed) cyrus-sasl-devel-2.1.10-1
libcrypto.so.2 is needed by (installed) cyrus-sasl-md5-2.1.10-1
libcrypto.so.2 is needed by (installed) openldap-2.0.27-2.8.0
libcrypto.so.2 is needed by (installed) openldap-clients-2.0.27-2.8.0
libcrypto.so.2 is needed by (installed) openldap-servers-2.0.27-2.8.0
libssl.so.2 is needed by (installed) python-2.2.1-17
libssl.so.2 is needed by (installed) gnome-vfs2-2.0.2-5
libssl.so.2 is needed by (installed) lftp-2.5.2-5
libssl.so.2 is needed by (installed) libwvstreams-3.70-5
libssl.so.2 is needed by (installed) pyOpenSSL-0.5.0.91-1
libssl.so.2 is needed by (installed) sendmail-8.12.5-7
libssl.so.2 is needed by (installed) stunnel-3.22-4
libssl.so.2 is needed by (installed) wget-1.8.2-3
libssl.so.2 is needed by (installed) cups-libs-1.1.15-10
libssl.so.2 is needed by (installed) curl-7.9.8-1
libssl.so.2 is needed by (installed) gnome-vfs-1.0.5-6
libssl.so.2 is needed by (installed) mutt-1.4-4
libssl.so.2 is needed by (installed) postfix-1.1.11-5
libssl.so.2 is needed by (installed) lynx-2.8.5-7
libssl.so.2 is needed by (installed) openldap-2.0.27-2.8.0
libssl.so.2 is needed by (installed) openldap-clients-2.0.27-2.8.0
libssl.so.2 is needed by (installed) openldap-servers-2.0.27-2.8.0
openssl = 0.9.6b-33 is needed by (installed) openssl-devel-0.9.6b-33

What can I do to get this issue resolved?

Anyone have any ideas?

Tarballed
 
Old 05-12-2003, 06:15 PM   #2
tarballed
Member
 
Registered: Jun 2002
Distribution: RH, FC, FreeBSD,OpenBSD
Posts: 326

Original Poster
Rep: Reputation: 30
...or is my server setup somehow botched and I have to reinstall?

Tarballed
 
Old 05-13-2003, 11:18 AM   #3
tarballed
Member
 
Registered: Jun 2002
Distribution: RH, FC, FreeBSD,OpenBSD
Posts: 326

Original Poster
Rep: Reputation: 30
Anyone have a recommendation on this?

I cannot install samba 2.2.8 unless I have a libcrypto.so.4 installed on my server, which is installed via openssl. The current version of openssl on my server, only has libcrypto.so.2....

Any thoughts? This is kicking my butt!

Tarballed
 
Old 05-13-2003, 12:10 PM   #4
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,785
Blog Entries: 1

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
If the RPM is failing that badly, how about trying to compile from source?
 
Old 05-13-2003, 12:25 PM   #5
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
How about trying apt4rpm. It usually fixes all those dependencies for you.
 
Old 05-13-2003, 12:40 PM   #6
tarballed
Member
 
Registered: Jun 2002
Distribution: RH, FC, FreeBSD,OpenBSD
Posts: 326

Original Poster
Rep: Reputation: 30
Thanks guys. I will give that a shot. I will let you know how it goes, once I have everything setup.

Thanks!!

Tarballed
 
Old 10-02-2003, 08:03 PM   #7
philverb
LQ Newbie
 
Registered: Jul 2003
Posts: 15

Rep: Reputation: 0
Lightbulb It's apparently necessary to erase the old version. Did you mention if you'd tried?

I was having the same problem (when in need of an updated OpenSSL for an instant messenger AYTTM), but had not used "rpm -e" to erase/uninstall the previous version of OpenSSL.

When I did erase the previous version (which bore libcrypto.so.2), I used "rpm -e --nodeps openssl" because I was aware of the manifold dependencies of other packages on its libraries, so I don't know whether or not you actually need the "--nodeps" flag in this case.

I suggest that you make sure that you have erased the old version, first trying without the "--nodeps" flag and with that failing, use that flag.

Then (if my experience be extrapolated from), installation of the new version ("rpm -Uvh openssl-0.9.7a-5.i386.rpm) should proceed without the problems you described.

After you're done, report back to the forum so that others can benefit from your affirmation of the procedure and the reason why it hadn't worked for you before. It's been a few months since your promise to let the forum know.

Last edited by philverb; 10-02-2003 at 08:06 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenSSL Upgrade neodaemon Linux - Security 2 10-14-2005 01:40 PM
Problem openssl rpm upgrade simquest Linux - Software 1 03-03-2004 02:58 PM
openssl rpm install problem canuck_12 Linux - Software 3 12-24-2003 09:56 AM
openssl.rpm rocketgo Linux - General 1 11-13-2003 10:20 PM
openssl upgrade cuss Linux - General 12 03-11-2003 12:32 PM


All times are GMT -5. The time now is 09:02 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration