Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 03-19-2008, 12:41 PM   #1
Registered: Jan 2008
Posts: 59

Rep: Reputation: 15
rpm installation dependencies issue

Hi All,

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


[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 is needed by vnc-4.0-8.1.i386 is needed by vnc-4.0-8.1.i386 is needed by vnc-4.0-8.1.i386 is needed by vnc-4.0-8.1.i386
Suggested resolutions:

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.
Old 03-19-2008, 01:16 PM   #2
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
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.
Old 03-19-2008, 04:51 PM   #3
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 76
What version of Red Hat are you running? Can you check by doing
cat /etc/*release


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
rpm dependencies gandhis Red Hat 2 11-02-2004 12:00 AM
[Redhat9.0] RPM-driver installation problems...failed dependencies Patrique Linux - Software 2 05-30-2004 09:59 AM
rpm dependencies? nate1002 Linux - Newbie 1 02-18-2004 02:49 PM
RPM dependencies - HELP! therealbeale Linux - General 3 10-29-2003 01:36 PM
RPM 'failed dependencies': Why can I not install any rpm packages? leontini Linux - Newbie 7 09-16-2003 01:44 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:06 PM.

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