[CentOS] EPEL problem

Sun Jan 26 18:35:42 UTC 2014
Ljubomir Ljubojevic <centos at plnet.rs>

On 01/26/2014 03:29 AM, Nicolas Thierry-Mieg wrote:
>>>> 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
>>
>> The problem with that is that it wasn't installed by yum in the first
>> place. I used wget to grab it.
>
> that doesn't matter, think of yum as a front-end for rpm that can get
> rpm files from configured repos along with their deps. If you just have
> an rpm file downloaded with eg wget you can also install it with
> yum install <whatever>.rpm
>
> In your case it seems something went wrong installing the rpm, or
> someone messed with the files. In any case your rpm database thinks the
> package is installed but you don't have the files where they should be,
> so you want to remove that rpm and reinstall it. You can do that with
> yum reinstall epel-release*.rpm
> OR with
> rpm -e epel-release
> rpm -Uvh epel-release*.rpm (or yum install epel-release*.rpm as
> suggested by Ljubomir)
>
> If you still don't have the files after that your rpm is probably
> corrupt (you can check with rpm -K *.rpm), DL it again and retry.
>

Maybe "yum-complete-transaction" can help solve the problem.


-- 
Ljubomir Ljubojevic
(Love is in the Air)
PL Computers
Serbia, Europe

StarOS, Mikrotik and CentOS/RHEL/Linux consultant