LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   rpm installation dependencies issue (https://www.linuxquestions.org/questions/linux-software-2/rpm-installation-dependencies-issue-629236/)

samengr 03-19-2008 12:41 PM

rpm installation dependencies issue
 
Hi All,

While installation of rpms by command I normally face the dependencies issues. Anyway to handle them?

like...

[root@server RPMS]# rpm -ivh vnc-4.0-8.1.i386.rpm
error: Failed dependencies:
/sbin/runuser is needed by vnc-4.0-8.1.i386
/sbin/service is needed by vnc-4.0-8.1.i386
libICE.so.6 is needed by vnc-4.0-8.1.i386
libSM.so.6 is needed by vnc-4.0-8.1.i386
libX11.so.6 is needed by vnc-4.0-8.1.i386
libXext.so.6 is needed by vnc-4.0-8.1.i386
Suggested resolutions:
coreutils-5.2.1-31.i386.rpm
initscripts-7.93.11.EL-1.i386.rpm
xorg-x11-libs-6.8.1-23.EL.i386.rpm

I read somewhere the --aid command that it resolve the dependencies if the same directory has the other rpms but when i run this command I am getting this error. ( I have copied the RHEL4-DVD to hard drive).

[root@server RPMS]# rpm -ivh vnc-* --aid
error: Failed dependencies:
/etc/redhat-release is needed by initscripts-7.93.11.EL-1.i386


Anyone can solve this problem?

Many thanks.

bigrigdriver 03-19-2008 01:16 PM

apt4rpm. It's a port of Connectiva's apt package management for Debian packages, ported to rpm. Each rpm-base distro has a variant of apt4rpm. Here's a link to thr apt4rpm repo. Just scroll down to the RedHat section.

Read up on how to use apt (the commands are the same for all distros). Apt (and the apt-get module) are command-line tools. Synaptic is the GUI frontend.

reddazz 03-19-2008 04:51 PM

What version of Red Hat are you running? Can you check by doing
Code:

cat /etc/*release


All times are GMT -5. The time now is 08:01 PM.