Hey all,
I'm logged into a CentOS 7 box and trying to install apache. Not having any
luck, as it's not being found. Which is odd, because I have the right repos
enabled:
[root at hadoop1:/etc/yum.repos.d] #cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.0 (Maipo)
[root at hadoop1:/etc/yum.repos.d] #yum repolist
Loaded plugins: amazon-id, rhui-lb
repo id repo name
status
*epel/x86_64* Extra Packages for Enterprise
Linux 7 - x86_64 7,454
*remi * Les RPM de remi pour
Enterprise Linux - x86_64 1,862
*remi-php56 * Les RPM de remi de PHP 5.6
pour Enterprise Linux 7 - x86_64 277
*rpmforge* RHEL 7Server - RPMforge.net -
dag 245
*webtatic*/x86_64 Webtatic Repository EL7 -
x86_64 325
repolist: 10,163
And when I go to install, this is what I find:
[root at hadoop1:/etc/yum.repos.d] #yum install httpd
Loaded plugins: amazon-id, rhui-lb
No package httpd available.
Error: Nothing to do
Does anyone have any ideas why this is failing?
Thanks,
Tim
--
GPG me!!
gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
On Tue, 24 Mar 2015 17:59:31 -0400 Tim Dunphy wrote:> I have the right repos enabled:Apparently you don't.> Does anyone have any ideas why this is failing?I don't see the base or the updates repo listed in your message. Available Packages Name : httpd Arch : x86_64 Version : 2.4.6 Release : 19.el7.centos Size : 2.7 M Repo : updates/7/x86_64 Summary : Apache HTTP Server URL : http://httpd.apache.org/ License : ASL 2.0 Description : The Apache HTTP Server is a powerful, efficient, and extensible : web server. As you can see, the latest version of httpd is in the Updates repo. Try installing that repo and then your system will be able to find httpd. -- MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
On 3/24/2015 2:59 PM, Tim Dunphy wrote:> [root at hadoop1:/etc/yum.repos.d] #yum install httpd > Loaded plugins: amazon-id, rhui-lb > No package httpd available. > Error: Nothing to doits in the EL7 Base (and Updates) repositories, which seem to be disabled on your system. btw, I would NOT enable REMI, RPMFORGE *and* EPEL at the same time unless you want to get into some gnarly package conflicts. I don't even know what webtatic is... [root at c7test1 ~]# yum install httpd Loaded plugins: fastestmirror base | 3.6 kB 00:00:00 epel/x86_64/metalink | 14 kB 00:00:00 epel | 4.4 kB 00:00:00 extras | 3.4 kB 00:00:00 updates | 3.4 kB 00:00:00 (1/2): epel/x86_64/primary_db | 4.0 MB 00:00:01 (2/2): updates/7/x86_64/primary_db | 6.6 MB 00:00:01 (1/2): epel/x86_64/updateinfo | 317 kB 00:00:00 (2/2): epel/x86_64/pkgtags | 1.4 MB 00:00:00 Loading mirror speeds from cached hostfile * base: mirror.lax.hugeserver.com * epel: linux.mirrors.es.net * extras: mirrors.usc.edu * updates: mirrors.usc.edu Resolving Dependencies --> Running transaction check ---> Package httpd.x86_64 0:2.4.6-19.el7.centos will be installed --> Processing Dependency: httpd-tools = 2.4.6-19.el7.centos for package: httpd-2.4.6-19.el7.centos.x86_64 --> Running transaction check ---> Package httpd-tools.x86_64 0:2.4.6-19.el7.centos will be installed --> Finished Dependency Resolution Dependencies Resolved ============================================================================================================================================================================== Package Arch Version Repository Size ==============================================================================================================================================================================Installing: httpd x86_64 2.4.6-19.el7.centos updates 2.7 M Installing for dependencies: httpd-tools x86_64 2.4.6-19.el7.centos updates 78 k Transaction Summary ==============================================================================================================================================================================Install 1 Package (+1 Dependent package) Total download size: 2.8 M Installed size: 9.5 M Is this ok [y/d/N]: y Downloading packages: (1/2): httpd-tools-2.4.6-19.el7.centos.x86_64.rpm | 78 kB 00:00:00 (2/2): httpd-2.4.6-19.el7.centos.x86_64.rpm | 2.7 MB 00:00:00 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Total 2.8 MB/s | 2.8 MB 00:00:00 Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : httpd-tools-2.4.6-19.el7.centos.x86_64 1/2 Installing : httpd-2.4.6-19.el7.centos.x86_64 2/2 Verifying : httpd-2.4.6-19.el7.centos.x86_64 1/2 Verifying : httpd-tools-2.4.6-19.el7.centos.x86_64 2/2 Installed: httpd.x86_64 0:2.4.6-19.el7.centos Dependency Installed: httpd-tools.x86_64 0:2.4.6-19.el7.centos Complete! -- john, recycling bits in santa cruz
------------ Original Message ------------> Date: Tuesday, March 24, 2015 17:59:31 -0400 > From: Tim Dunphy <bluethundr at gmail.com> > To: CentOS mailing list <centos at centos.org> > Subject: [CentOS] can't do a yum install of apache C7 > > I'm logged into a CentOS 7 box and trying to install apache. Not > having any luck, as it's not being found. Which is odd, because I > have the right repos enabled: > > [root at hadoop1:/etc/yum.repos.d] #cat /etc/redhat-release > Red Hat Enterprise Linux Server release 7.0 (Maipo)By the way, that's an RHEL-7, not CentOS-7 box -- which is why you wouldn't have the centos repositories enabled. - Richard
Ah ok thanks for the clarification.
So I enabled the rhui repositories and now all is well. I was able to get
apache instaslled.
[root at hadoop1:/etc/yum.repos.d] #yum repolist
Loaded plugins: amazon-id, rhui-lb
repo id repo name
status
epel/x86_64 Extra Packages
for Enterprise Linux 7 - x86_64 7,454
remi Les RPM de
remi pour Enterprise Linux - x86_64 1,862
remi-php56 Les RPM de
remi de PHP 5.6 pour Enterprise Linux 7 - x86_64 277
rhui-REGION-rhel-server-releases/7Server/x86_64 Red Hat
Enterprise Linux Server 7 (RPMs) 6,687
rhui-REGION-rhel-server-rh-common/7Server/x86_64 Red Hat
Enterprise Linux Server 7 RH Common (RPMs) 116
rpmforge RHEL 7Server -
RPMforge.net - dag 245
repolist: 16,641
[root at hadoop1:/etc/yum.repos.d] #rpmquery -i httpd
httpd-2.4.6-31.el7.x86_64
Webtatic by the way, is actually a very good repo for keeping up with some
web related packages.
https://webtatic.com/projects/yum-repository/
I found out about this at a web shop I worked at a few years ago. Check it
out!
Thanks,
Tim
On Tue, Mar 24, 2015 at 6:15 PM, Richard <lists-centos at
listmail.innovate.net> wrote:
>
>
> ------------ Original Message ------------
> > Date: Tuesday, March 24, 2015 17:59:31 -0400
> > From: Tim Dunphy <bluethundr at gmail.com>
> > To: CentOS mailing list <centos at centos.org>
> > Subject: [CentOS] can't do a yum install of apache C7
> >
> > I'm logged into a CentOS 7 box and trying to install apache. Not
> > having any luck, as it's not being found. Which is odd, because I
> > have the right repos enabled:
> >
> > [root at hadoop1:/etc/yum.repos.d] #cat /etc/redhat-release
> > Red Hat Enterprise Linux Server release 7.0 (Maipo)
>
>
> By the way, that's an RHEL-7, not CentOS-7 box -- which is why you
> wouldn't have the centos repositories enabled.
>
>
> - Richard
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
--
GPG me!!
gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
Also...> btw, I would NOT enable REMI, RPMFORGE *and* EPEL at the same time unless you want to get into some gnarly package conflicts. I don't even know what webtatic is...Thanks for pointing this out. I'll follow this advice! Tim Sent from my iPhone> On Mar 24, 2015, at 6:08 PM, John R Pierce <pierce at hogranch.com> wrote: > > btw, I would NOT enable REMI, RPMFORGE *and* EPEL at the same time unless you want to get into some gnarly package conflicts. I don't even know what webtatic is...