LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 01-09-2012, 12:49 AM   #1
mail2vivek1
LQ Newbie
 
Registered: Sep 2011
Posts: 24
Blog Entries: 1

Rep: Reputation: Disabled
Resolving dependancy without YUM in RHEL 5


Hello All,

I am trying to install Samba in my system. I am getting dependancy error while installing..I want to do it WITHOUT YUM..please suggest

[root@ccserver ~]# ll | grep samba
-rw-r--r-- 1 root root 9506228 Dec 14 15:54 samba-3.0.2-6.3E.i386.rpm
-rw-r--r-- 1 root root 14162007 Dec 14 15:26 samba-3.0.9-1.3E.18.i386.rpm
-rw-r--r-- 1 root root 3348105 Dec 14 15:32 samba-client-3.0.9-1.3E.18.i386.rpm
-rw-r--r-- 1 root root 4622897 Dec 14 15:32 samba-common-3.0.9-1.3E.18.i386.rpm


[root@ccserver ~]# rpm -ivh samba-common-3.0.9-1.3E.18.i386.rpm
warning: samba-common-3.0.9-1.3E.18.i386.rpm: Header V3 DSA signature: NOKEY, key ID db42a60e
error: Failed dependencies:
libcom_err.so.3 is needed by samba-common-3.0.9-1.3E.18.i386
libcrypto.so.4 is needed by samba-common-3.0.9-1.3E.18.i386
liblber.so.2 is needed by samba-common-3.0.9-1.3E.18.i386
libldap.so.2 is needed by samba-common-3.0.9-1.3E.18.i386
libssl.so.4 is needed by samba-common-3.0.9-1.3E.18.i386


i tried to resolve this by below command
ln -s libcom_err.so.2 libcom_err.so.3

but no luck..
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 01-09-2012, 03:17 AM   #2
John VV
Guru
 
Registered: Aug 2005
Posts: 12,804

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
the VERY VERY VERY hard way
you manually look for everything an manually install
and PRAY that you do not KILL ( read as FUBAR) the install of RHEL 5
doing that is likely to royally mess up the rhel5 install

it is NOT RECOMMENDED

there is a reason "yum" is used it takes care of the dependencies

seeing as this IS RHEL5 you do have a paid for support contract
use it
http://www.redhat.com/support/

you might also want to read the red hat documentation
https://access.redhat.com/knowledge/...erprise_Linux/
 
2 members found this post helpful.
Old 01-09-2012, 03:28 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,536

Rep: Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506
And : The referred samba packages are for EL 3 only.

Hence the ancient dependencies.


The EL 5 packages are listed at Redhat, here as source versions
http://ftp.redhat.com/pub/redhat/lin...r/en/os/SRPMS/

.
 
2 members found this post helpful.
Old 01-09-2012, 07:58 PM   #4
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,261

Rep: Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028
Both of the above ++.
Why on earth would you try to do it without yum; that way lies madness (given that samba is avail from repos).
If you don't have/want to pay for a RHEL subscription, get Centos (free version of RHEL) and use yum there
 
Old 01-10-2012, 12:01 AM   #5
mail2vivek1
LQ Newbie
 
Registered: Sep 2011
Posts: 24
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
Cool

Hello All,

Thank you for your reply

I am able to install samba using yum without any difficulty.

Just for personal interest, i was experimenting with packages without yum. I too understand i was trying much much harder way tham yum.

Thanks again...
 
  


Reply

Tags
rpms


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
Dependancy problem with yum in Fedora 8 ps_sabu Fedora 8 02-24-2009 01:33 PM
RHEL 5 Dependancy Issue pendulum83 Linux - Newbie 1 07-13-2007 05:33 AM
yum dependancy issue ghostmac Linux - Software 1 08-12-2006 07:17 AM
yum update and SpamAssassin dependancy vara Red Hat 1 05-17-2005 09:55 PM
YUM - - Can't install! Dependancy problem on RH9? irlkersten Red Hat 7 05-07-2005 08:34 PM


All times are GMT -5. The time now is 07:24 AM.

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