<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Am 22.08.2014 um 14:04 schrieb Konstantin Pavlov:<br>
<span style="white-space: pre;">> On 22/08/2014 15:49, Tim wrote:<br>
>> Hi guys,<br>
>><br>
>> I'm running a fresh installed CentOS7 and added your repo
via<br>
>>
<a class="moz-txt-link-freetext" href="http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm">http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm</a><br>
>><br>
>><br>
>> I get the following issue if I try to install the nginx
package:<br>
>><br>
>> [root@server]# yum install nginx<br>
>> Loaded plugins: fastestmirror, priorities<br>
>> Loading mirror speeds from cached hostfile<br>
>> * base: mirror.netcologne.de<br>
>> * epel: mirror.imt-systems.com<br>
>> * extras: mirror.skylink-datacenter.de<br>
>> * updates: mirror.23media.de<br>
>> 51 packages excluded due to repository priority
protections<br>
>> Resolving Dependencies<br>
>> --> Running transaction check<br>
>> ---> Package nginx.x86_64 0:1.6.1-1.el6.ngx will be
installed<br>
><br>
> Looks like the repository for CentOS 6 is enabled instead of
CentOS 7.</span><br>
<br>
ups. stupid me. thanks for the fast help<br>
<span style="white-space: pre;">><br>
>> --> Processing Dependency: libpcre.so.0()(64bit) for
package:<br>
>> nginx-1.6.1-1.el6.ngx.x86_64<br>
>> --> Finished Dependency Resolution<br>
>> Error: Package: nginx-1.6.1-1.el6.ngx.x86_64
(nginx-release)<br>
>> Requires: libpcre.so.0()(64bit)<br>
>> You could try using --skip-broken to work around the
problem<br>
>> You could try running: rpm -Va --nofiles --nodigest<br>
>> [root@server]#<br>
>><br>
>> the 51 protected packages are because of the also added
puppetlabs repo<br>
>> which got a high priority than the base one. Any Ideas
about the libpcre<br>
>> issue? I wasn't able to find the suitable rpm via the
default CentOS<br>
>> repos. Do you have to add it to your mirror?<br>
><br>
> You should check the contents of /etc/yum.repos.d/ files.<br>
><br>
> The nginx.repo for CentOS7 should be like that:<br>
><br>
> # nginx.repo<br>
><br>
> [nginx]<br>
> name=nginx repo<br>
> baseurl=<a class="moz-txt-link-freetext" href="http://nginx.org/packages/centos/7/$basearch/">http://nginx.org/packages/centos/7/$basearch/</a><br>
> gpgcheck=0<br>
> enabled=1<br>
></span><br>
<br>
<br>
</body>
</html>