cant yum install httpd

Issues related to software problems
Post Reply
houssam_ballout
Posts: 3
Joined: 2009/05/27 20:38:47
Location: Lebanon
Contact:

cant yum install httpd

Post by houssam_ballout » 2009/05/27 20:41:31

Hello
I had the CentOS 4.7
when I run:
yum install httpd
then it cant found the package
how can I solve it ?(I am trying to install munin) but I am getting many errors. :(

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

cant yum install httpd

Post by gerald_clark » 2009/05/27 20:51:01

You have not shown us anything that can be used to help you.
use "rpm -q httpd" to see if it is already loaded.

How are you trying to install munin?
Please read:
http://www.centos.org/modules/newbb/viewforum.php?forum=47

houssam_ballout
Posts: 3
Joined: 2009/05/27 20:38:47
Location: Lebanon
Contact:

Re: cant yum install httpd

Post by houssam_ballout » 2009/05/27 20:56:59

when I run:
rpm -q httpd
I got the package httpd is not installed !?

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: cant yum install httpd

Post by gerald_clark » 2009/05/28 13:48:55

Does the machine have a working internet connection?
Do you use a proxy server?
What do you get when you run "yum install httpd" ?

houssam_ballout
Posts: 3
Joined: 2009/05/27 20:38:47
Location: Lebanon
Contact:

Re: cant yum install httpd

Post by houssam_ballout » 2009/05/29 07:33:32

Yeah I had an Internet Connection
When I run yum install httpd
I got package name not found.

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: cant yum install httpd

Post by gerald_clark » 2009/05/29 13:19:14

You get a lot more than that, but if you don't show it, we can't help.

User avatar
AlanBartlett
Forum Moderator
Posts: 9323
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

Re: cant yum install httpd

Post by AlanBartlett » 2009/05/29 14:37:14

As an example of the output [b]Gerald[/b] would expect you to post, here is what I see when I attempt to install the [i]httpd[/i] package on my workstation --

[code]# yum install httpd
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* base: mirror.bytemark.co.uk
* updates: mirror.bytemark.co.uk
* extras: mirror.bytemark.co.uk
Excluding Packages in global exclude list
Finished
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package httpd.i386 0:2.2.3-22.el5.centos.1 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

===============================================================================================================================
Package Arch Version Repository Size
===============================================================================================================================
Installing:
httpd i386 2.2.3-22.el5.centos.1 updates 1.2 M

Transaction Summary
===============================================================================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)

Total download size: 1.2 M
Is this ok [y/N]:
[/code]
Please note that the above is for [i]CentOS 5[/i] but the concept is still the same for [i]C-4[/i]. ;-)

Post Reply

Return to “CentOS 4 - Software Support”