Dear Ketan_nale,
If you do not have internet connection at home, then its quite difficult to resolve this dependency hell. Still here are few things you may try with.
I will take the example of /etc/init.d/sshd. You may check the package required to get this capability by
Code:
[vinay@vinay security]$ rpm -qf /etc/init.d/sshd
openssh-server-5.2p1-2.fc11.i586
Again, you have to check what are the capabilities and libraries that Openssh server depends on with
Code:
[vinay@vinay security]$ rpm -qR openssh-server-5.2p1-2.fc11.i586
/bin/bash
/bin/sh
/bin/sh
/bin/sh
/bin/sh
/sbin/service
/usr/sbin/useradd
chkconfig >= 0.9
config(openssh-server) = 5.2p1-2.fc11
libaudit.so.0
libc.so.6
libc.so.6(GLIBC_2.0)
libc.so.6(GLIBC_2.1)
libc.so.6(GLIBC_2.1.3)
libc.so.6(GLIBC_2.2)
libc.so.6(GLIBC_2.2.4)
libc.so.6(GLIBC_2.3)
libc.so.6(GLIBC_2.3.4)
libc.so.6(GLIBC_2.4)
libc.so.6(GLIBC_2.8)
..............
...........
I have truncated the output for brevity sake. Better get the Internet connection and use YUM package installer which manages dependency hell.
You may go through