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


Chronological Thread 
  • From: Xianfeng Yuan < >
  • To: " " < >
  • Subject: [chef] Re: Re: Re: Re: package[yum-allowdowngrade] exception
  • Date: Fri, 19 Oct 2012 17:43:09 -0700
  • Accept-language: en-US
  • Acceptlanguage: en-US

It's http://mirrors.fedoraproject.org/mirrorlist?repo=epel-5&arch=x86_64

On 10/19/12 4:37 PM, "Wolfe, Eric G" 
< >
 wrote:

>What is the URL in your epel.repo file?
>
>Xianfeng Yuan 
>< >
> wrote:
>
>
>Yes. The following is the recipe:
>
>%w{ yum-allowdowngrade }.each do |pkg|
>   package pkg do
>      action :install
>   end
>end
>
>
>
>
>
>On 10/19/12 4:13 PM, "Paul Graydon" 
>< >
> wrote:
>
>>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=$b
>>a
>>search
>>
>>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.

§