Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 11-18-2008, 04:00 AM   #1
LQ Newbie
Registered: Jul 2008
Posts: 10

Rep: Reputation: 0
Unable to install package


I want to install Apache Server. I have Redhate En 5. I have configured DNS also.Its working.But whenever I am trying to install the require packages ,likes httpd-2.2.3-6.el5.i386.rpm , httpd-devel-2.2.3-6.el5.i386.rpm and httpd-manual-2.2.3-6.el5.i386.rpm, that I am getting error"Failed dependencies:" through "rpm -ivh" command. I don't understand why it is happening! So please tell me where I am doing mistake!

Thank you
Old 11-18-2008, 04:36 AM   #2
Registered: Jul 2003
Location: Germany
Distribution: Xubuntu, Ubuntu
Posts: 416
Blog Entries: 14

Rep: Reputation: 35
I don't know Redhat Enterprise 5 but I'd be surprised if it didn't have a package manager onboard. You seem to be trying to install downloaded RPMs, btuyou don't have all the RPMs you need, which is probably what the failed dependencies are about. (BTW, always quote complete error messages; they do have meaning most of the time.)

What you need to do is use Redhat's package manager to fetch and install the package you want (in this case the apache server package; this should take care of all dependencies and pull things like httpd in if needed.

Old 11-18-2008, 11:59 AM   #3
Junior Hacker
Senior Member
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
through "rpm -ivh" command. I don't understand why it is happening! So please tell me where I am doing mistake!
Try commands:
yum install httpd
yum install httpd-devel
Of course, you need to have an internet connection for yum, if you don't, you'll have to download and install those dependencies first, they are probably on the install CD/DVD.
Old 11-18-2008, 03:41 PM   #4
Registered: Jun 2007
Posts: 118

Rep: Reputation: 16
Try this command:

# yum groupinstall "Web Server"

This will install the default packages associated with the entire Web Server Package group.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to install new package-updates... missing /info folder from /var/lib/dpkg/ bradb-acc Ubuntu 4 07-15-2008 02:24 AM
Unable To Install a Package carlosinfl Debian 3 07-02-2008 04:56 PM
Yast unable to install RPM Package Error Message ebrarian SUSE / openSUSE 3 03-22-2007 12:45 AM
Unable to install package DaveyB Debian 3 10-29-2006 03:25 PM
Does apt-get install <package> upgrade the package if it is already installed? davidas Debian 4 04-05-2004 06:12 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:45 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