Re: yum errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



> On Dec 7, 2015, at 8:23 PM, Wes James <comptekki@xxxxxx> wrote:
> 
> 
>> On Dec 7, 2015, at 8:03 PM, Wes James <comptekki@xxxxxx> wrote:
>> 
> 
> <snip>
> 
>> I finally just did yum update on this box (actually 6.3) and now it is 6.7.  During the update it created a CentOS-Base.repo.rpmnew file.  I renamed my current one and this one to just .repo and  now I again get:
>> 
>> ----
>> 
>> yum update
>> Loaded plugins: fastestmirror, presto
>> Setting up Update Process
>> Loading mirror speeds from cached hostfile
>> Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os&infra=stock <http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os&infra=stock> error was
>> 12: Timeout on http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os&infra=stock: <http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os&infra=stock:> (28, 'connect() timed out!')
>> Error: Cannot find a valid baseurl for repo: base
>> 
>> ——
>> 
>> I thought updating to 6.7 might fix something, but it didn’t help.  Any ideas why it is doing this?
>> 
>> If I go to:
>> 
>> http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os&infra=stock <http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os&infra=stock> <http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os&infra=stock <http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os&infra=stock>>
>> 
>> in a browser, it shows a list of repos.
>> 
> 
> I just noticed on a stock install of 6.7 (from 6.4 doing a test), doing yum update shows this:
> 
> Loaded plugins: fastestmirror, refresh-packagekit, security
> 
> But on the box I just updated it shows:
> 
> Loaded plugins: fastestmirror, presto
> 
> So maybe the presto plugin is causing the problem.  Anyone else using presto plugin??
> 
> -wes


That wasn’t it.  I disabled presto then both with (and got the following error):

yum update --disableplugin=presto,fast*
Setting up Update Process
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os&infra=stock error was
12: Timeout on http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os&infra=stock: (28, 'connect() timed out!')
Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again


—


Not sure what to try next.  Other than my previous fix of not using a mirror list, but a known local repo that works fine for updates.

-wes
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux