[CentOS] yum errors

Wes James
Tue, 08 Dec 2015 03:23:29 -0000

> On Dec 7, 2015, at 8:03 PM, Wes James <comptekki at me.com> 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