[CentOS] EPEL problem

Sat Jan 25 21:12:48 UTC 2014
Nicolas Thierry-Mieg <Nicolas.Thierry-Mieg at imag.fr>

On 01/25/2014 10:08 PM, Phil Dobbin wrote:
> On 24/11/13 00:09, Reindl Harald wrote:
>
>> Am 24.11.2013 00:57, schrieb Phil Dobbin:
>>> I'm trying to install the EPEL repo on a fully up to date CentOS 6.4.
>>> I'm using wget to download from my usual source but after I install it
>>> via `sudo rpm -ivh epel-xxxxx` it's not actually there in
>>> `/etc/yum.repos.d`.
>>>
>>> Trying to install it again, Yum just tells me it's already installed.
>>>
>>> I've no idea where it is installed if it is (which I don't think it is)
>>> so I'm stumped.
>>>
>>> Any help appreciated
>>
>> thats why "rpm -q --filesbypkg <packagename>" exists
>
>
> Returning to this thread after a considerable break (I'm sorry, I've
> really been quite unwell) here is the output of 'rpm -q --filesbypkg
> epel-release' & the directory listing itself:
>
> '$ rpm -q --filesbypkg epel-release
> epel-release              /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
> epel-release              /etc/rpm/macros.ghc-srpm
> epel-release              /etc/yum.repos.d/epel-testing.repo
> epel-release              /etc/yum.repos.d/epel.repo
> epel-release              /usr/share/doc/epel-release-6
> epel-release              /usr/share/doc/epel-release-6/GPL
> [Sat Jan 25 20:45:24 phil at localhost:~ ] $ cd /etc/yum.repos.d/
> [Sat Jan 25 20:45:43 phil at localhost:/etc/yum.repos.d ] $ l
> ./   CentOS-Base.repo       CentOS-Media.repo  mirrors-rpmforge
> mirrors-rpmforge-testing
> ../  CentOS-Debuginfo.repo  CentOS-Vault.repo  mirrors-rpmforge-extras
> rpmforge.repo'
>
> It's the same deal with 'yum list epel-*' That also reckons it's installed.
>
> I'm flummoxed as to how to proceed.

try yum reinstall