[CentOS] Mirror failure

Thu Aug 15 01:55:11 UTC 2013
Phil Dobbin <bukowskiscat at gmail.com>

On 14/08/13 22:05, m.roth at 5-cent.us wrote:
> Phil Dobbin wrote:
>> On 14/08/13 21:57, m.roth at 5-cent.us wrote:
>>> Phil Dobbin wrote:
>>>> On 14/08/13 21:35, m.roth at 5-cent.us wrote:
>>>>> Phil Dobbin wrote:
>>>>>> I was getting:
>>>>>> `http://mirror01.th.ifl.net/epel/6/x86_64/repodata/c60f7c3ee6f9a4902d5ce9dd181a84ca684bba1a1df1c612702c7c6760a04645-filelists.sqlite.bz2:
>>>>>> [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host
>>>>>> 'mirror01.th.ifl.net'"
>>>>>> Trying other mirror.
>>> <snip>
>>>>>> from epel: [Errno 256] No more mirrors to try.
>>>>>>      You could try using --skip-broken to work around the problem`
>>>>>> every time I ran `sudo yum update'. This happened on Fedora 17 also.
>>>>>> I've had to switch both machines to Ubuntu because I need working
>>>>>> machines.
>>>>>> I've Googled this extensively & changed my nameservers, commented out
>>>>>> relevant lines in the configs, etc, etc but no luck so far. Ubuntu
>>>>>> works fine & I have no network problems (two HP ProCurves 2124s
>>>>>> working normally over the rest of the network: 17 machines).
>>>>>> Is there a workaround for this as I need a working CentOS box.
>>>>> You *did* do yum clean all, correct?
>>>> No. Was that all it took? Of the thousand answers found on Google that
>>>> didn't work, that wasn't mentioned once.
>>> Did you try it?
>>>> If you could explain why that would work I'd be eternally grateful &
>>>> all ears.
>>> Your google fu needs work. It should have found a zillion hits.
>>> What happens is that yum caches the mirror addresses, and uses the
>>> cached addresses, rather than look them up every bloody time. Clearing
> all,
>>> including the cache, will force it to look Out There again.
>> Not a hit on Google concerning this. Try it.
> I just did
> yum "no more mirrors"
> in google, and got a ton of hits, all with this answer.
Well, maybe my "Google fu" is off but I just posted the error message I 
received as I normally do when I hit a problem but didn't get one clue 
back about 'yum clean all'. I know: what an amateur.

Anyway all's well now, my client's happy, he's got all his machines 
online whether CentOS, Ubuntu or Amiga, I know what to do next time & 
the so the story's told.

Thanks to everybody for their help. Have a good one,



currently (ab)using
CentOS 5.9 & 6.4, Debian Squeeze & Wheezy, Fedora Beefy, Spherical & That Damn Cat, Lubuntu 12.10, OS X Snow Leopard & Tiger, Ubuntu Precise, Quantal & Raring
GnuGPG Key : http://phildobbin.org/publickey.asc