LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 03-19-2008, 11:41 AM   #1
samengr
Member
 
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?

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

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

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


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration