[chef] Re: package[yum-allowdowngrade] exception


Chronological Thread 
  • From: Paul Graydon < >
  • To:
  • Subject: [chef] Re: package[yum-allowdowngrade] exception
  • Date: Fri, 19 Oct 2012 13:13:19 -1000

This quoted section is the most relevant. Yum has returned an error to Chef telling it that it can't find a valid baseurl for the repository.

If you look in /etc/yum.repos.d/epel.repo you should see a line like:

baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch

On my systems that's actually commented out and mirrorlist is being used by preference:
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch

I'd suggest double checking on the box itself and seeing if "yum update" will work or if it throws back the same error.

Did you install epel using Chef or one of it's cookbooks?

Paul

On 10/19/2012 12:45 PM, 

 wrote:
#<Process::Status: pid=1626,exited(1)> - returns: yum-dump Repository Error:
Cannot find a valid baseurl for repo: epel




Archive powered by MHonArc 2.6.16.

§