LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 04-20-2007, 03:07 PM   #1
Crump
LQ Newbie
 
Registered: Apr 2007
Posts: 7

Rep: Reputation: 0
YUM can't find httpd or apache


I am running centos4 (sorry, I know this is the Fedora forum but I was hoping to get more answers here).

I am trying to install apache using YUM.

When I do yum list, httpd or apache is no where to be found.

Therefore, "yum install httpd" produces:

No Match for argument: httpd
Nothing to do

I look through the whole list and I don't see it anywhere. My repos are set to:
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&rep$
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/

I tried using both the baseurl and mirrorlist method. I am a noob at this.

Please help!!!
 
Old 04-20-2007, 03:37 PM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Place this file; http://isoredirect.centos.org/centos...ntOS-Base.repo in your /etc/yum.repos.d directory. Disable or undo your CentOS yum configuration then as root do;

yum clean all
yum update
yum install httpd

Depending on how old your CentOS installation is this might take some time. FYI, CentOS has it own forums and CentOS5 is out. Next time try the Red Hat forum here, it is well monitored and answers happen on a daily basis.

http://www.centos.org/modules/newbb/
http://www.linuxquestions.org/questi...splay.php?f=31
 
Old 04-20-2007, 04:38 PM   #3
Crump
LQ Newbie
 
Registered: Apr 2007
Posts: 7

Original Poster
Rep: Reputation: 0
I did as you said, replaced the repo file with that one, and I still get:
----------------------------
[root@buffalo yum.repos.d]# yum install httpd
Repository update is listed more than once in the configuration
Repository base is listed more than once in the configuration
Repository addons is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Excluding Packages in global exclude list
Finished
Parsing package install arguments
No Match for argument: httpd
Nothing to do
----------------------------
The one thing you said that I am not completely sure how to do is "Disable or undo your CentOS yum configuration then as root do"

This is driving me crazy. Thanks for the help.
 
Old 04-20-2007, 06:06 PM   #4
Crump
LQ Newbie
 
Registered: Apr 2007
Posts: 7

Original Poster
Rep: Reputation: 0
Well, I figured out the problem. There was a line in my yum.conf file that had:
exclude=mod_ssl* httpd* perl mysql* php* modutils* spamassassin* centos-yumconf sysstat

I guess that solves that mystery. I forgot to look in here. But why would a default install of centos exclude those packages?
 
Old 06-26-2007, 02:30 PM   #5
GavB
Member
 
Registered: Nov 2006
Posts: 54

Rep: Reputation: 15
The same happened with me, I'm not sure why that would be there as the default setting - I haven't known it before
 
  


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
is httpd the same apache?!!!!! arsham Linux - Software 4 05-11-2005 03:34 AM
Yum, up2date, httpd, & samba failed after upgrade from FC2 ->FC3 k41184 Fedora 5 02-14-2005 01:35 PM
Slackware can't find /etc/apache/httpd.conf everythingand2 Slackware 8 10-18-2003 02:28 PM
httpd chokes on ScriptAlias line in Apache httpd.conf lhoff Linux - Software 1 07-14-2003 10:32 PM
Apache httpd c0c0deuz Linux - General 6 11-18-2002 10:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

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