> 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
> On Dec 7, 2015, at 8:23 PM, Wes James <comptekki at me.com> wrote: > > >> 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?? > > -wesThat 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
> On Dec 7, 2015, at 8:37 PM, Wes James <comptekki at me.com> wrote: > >> >> On Dec 7, 2015, at 8:23 PM, Wes James <comptekki at me.com <mailto:comptekki at me.com>> wrote: >> >> >>> 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><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:><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>> <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 <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 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. > > -wesPoking around I found: /etc/yum/pluginconf.d and now I see where presto comes from. I noticed in the fastmirror.conf there is a line hostfile-timedhosts.txt On my test box it has several lines of hosts with a number. On the box I?m have yum update issues, it is blank. ?? -wes
On Mon, Dec 07, 2015 at 08:23:29PM -0700, Wes James wrote:> > > On Dec 7, 2015, at 8:03 PM, Wes James <comptekki at me.com> wrote: > > > > > > 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 > >> > Loaded plugins: fastestmirror, presto > > So maybe the presto plugin is causing the problem. Anyone else using presto plugin??I use presto without problems. You can try disabling any plugin by going to /etc/yum/pluginconf.d and in the files there, change enabled from 1 to 0 -- Scott Robbins PGP keyID EB3467D6 ( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 ) gpg --keyserver pgp.mit.edu --recv-keys EB3467D6