On 01/25/2014 10:30 PM, Phil Dobbin wrote: > On 25/01/14 21:12, Nicolas Thierry-Mieg wrote: > >> 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@localhost:~ ] $ cd /etc/yum.repos.d/ >>> [Sat Jan 25 20:45:43 phil@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 > > The problem with that is that it wasn't installed by yum in the first > place. I used wget to grab it. > > Or am I misunderstanding you... > If yum was not used then use "rpm -e epel-release" do deinstall it and "yum install epel-release.xxxxx.rpm" to install from rpm file (run if from directory rpm files is in). And try using "--force" option in rpm to make it happen. -- Ljubomir Ljubojevic (Love is in the Air) PL Computers Serbia, Europe StarOS, Mikrotik and CentOS/RHEL/Linux consultant _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos