DevHeads.net

yum timeout ... (CentOS 6.8)

Hello,

the last times, when I tried to update,

it get time outs; even when 'yum list'

[root@host ~]# yum list
Loaded plugins: fastestmirror, security
Determining fastest mirrors
epel/metalink | 13 kB 00:00
* base: centos.den.host-engine.com
* epel: mirror.steadfast.net
* extras: centos.den.host-engine.com
* updates: centos.den.host-engine.com
<a href="http://centos.den.host-engine.com/6/os/x86_64/repodata/repomd.xml:" title="http://centos.den.host-engine.com/6/os/x86_64/repodata/repomd.xml:">http://centos.den.host-engine.com/6/os/x86_64/repodata/repomd.xml:</a> [Errno
12] Timeout on <a href="http://centos.den.host-engine.com/6" title="http://centos.den.host-engine.com/6">http://centos.den.host-engine.com/6</a>
/os/x86_64/repodata/repomd.xml: (28, 'Operation too slow. Less than 1
bytes/sec transfered the last 30 seconds')
Trying other mirror.
base | 3.7 kB 00:00
base/primary_db | 4.7 MB 00:03
epel | 4.3 kB 00:00
epel/primary_db | 5.8 MB 00:04
<a href="http://centos.den.host-engine.com/6/extras/x86_64/repodata/repomd.xml:" title="http://centos.den.host-engine.com/6/extras/x86_64/repodata/repomd.xml:">http://centos.den.host-engine.com/6/extras/x86_64/repodata/repomd.xml:</a>
[Errno 12] Timeout on <a href="http://centos.den.host-engine.c" title="http://centos.den.host-engine.c">http://centos.den.host-engine.c</a>
om/6/extras/x86_64/repodata/repomd.xml: (28, 'Operation too slow. Less
than 1 bytes/sec transfered the last 30 seconds')
Trying other mirror.
extras
...

how or where can I reset this behavour, to have the really fastest mirros
used?

Thanks in advance,
Walter

Comments

Re: yum timeout ... (CentOS 6.8)

By m.roth at 06/16/2016 - 12:22

Walter H. wrote:
mark

Re: yum timeout ... (CentOS 6.8)

By Walter H. at 06/16/2016 - 12:34

On 16.06.2016 19:22, <a href="mailto:m.roth@5-cent.us">m.roth@5-cent.us</a> wrote:
by the way, I can't image that there is no mirror in Europa,
and that the "timeout"-mirrors from US are the fastest;

I'm from Europe / Austria;

Walter

Re: yum timeout ... (CentOS 6.8)

By Frank Cox at 06/16/2016 - 12:40

On Thu, 16 Jun 2016 19:34:09 +0200

yum -disableplugin=fastestmirror nowseewhathappens.

Re: yum timeout ... (CentOS 6.8)

By Walter H. at 06/16/2016 - 13:41

On 16.06.2016 19:40, Frank Cox wrote:
Thanks,
Walter

Re: yum timeout ... (CentOS 6.8)

By Ned Slider at 06/16/2016 - 14:39

On 16/06/16 19:41, Walter H. wrote:
The correct way to disable a yum plugin is to set enabled to zero in the
plugin config file:

/etc/yum/pluginconf.d/fastestmirror.conf

Re: yum timeout ... (CentOS 6.8)

By Walter H. at 06/16/2016 - 14:50

On 16.06.2016 21:39, Ned Slider wrote:
in this config I saw remarked the following:

#include_only=.nl,.de,.uk,.ie

when I set enabled=1 and removed the #-comment on this line
'yum list kernel'
shows this:

Loaded plugins: fastestmirror, security
Determining fastest mirrors
epel/metalink
| 8.6 kB 00:00
* base: ftp.usf.edu
Including mirror: archive.linux.duke.edu
Including mirror: mirror.unl.edu
* epel: archive.linux.duke.edu
* extras: ftp.usf.edu
* updates: ftp.usf.edu

I'm from Europe(!)

Thanks,
Walter

Re: yum timeout ... (CentOS 6.8)

By Tony Schreiner at 06/16/2016 - 14:59

I note that duke.edu matches uk, and unl.edu matches nl.

Maybe they are regular expressions,
i just tried with

#include_ony=\.nl,\.de

and got less surprising results

On Thu, Jun 16, 2016 at 3:50 PM, Walter H. <Walter. ... at mathemainzel dot info>
wrote:

Re: yum timeout ... (CentOS 6.8)

By Walter H. at 06/17/2016 - 03:11

On 16.06.2016 21:59, Tony Schreiner wrote:
include_only=\.at,\.ch,\.de,\.nl,\.uk

and got this:

Determining fastest mirrors
* base: mirrors.usinternet.com
Including mirror: mirror.chpc.utah.edu
* epel: mirror.chpc.utah.edu
* extras: mirrors.usinternet.com
* updates: mirrors.usinternet.com

when using this:

include_only=\.at$,\.ch$,\.de$,\.nl$,\.uk$

I got this:

Determining fastest mirrors
* base: mirrors.usinternet.com
* epel: mirror.math.princeton.edu
* extras: mirrors.usinternet.com
* updates: mirrors.usinternet.com

when using these two lines

exclude=.edu,.com
include_only=\.at$,\.ch$,\.de$,\.nl$,\.uk$

I got this:

Determining fastest mirrors
* base: mirrors.liquidweb.com
* epel: linux.mirrors.es.net
* extras: mirrors.liquidweb.com
* updates: mirrors.liquidweb.com

quite strange ...

Thanks,
Walter

Re: yum timeout ... (CentOS 6.8)

By Warren Young at 06/16/2016 - 13:51

On Jun 16, 2016, at 12:41 PM, Walter H. <walter. ... at mathemainzel dot info> wrote:
You can just remove the plugin: yum remove yum-fastestmirror

Re: yum timeout ... (CentOS 6.8)

By Walter H. at 06/16/2016 - 14:04

On 16.06.2016 20:51, Warren Young wrote:
[root@host /]# yum remove yum-fastestmirror
Loaded plugins: fastestmirror, security
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package yum-plugin-fastestmirror.noarch 0:1.1.30-37.el6 will be erased
--> Processing Dependency: yum-plugin-fastestmirror for package:
yum-3.2.29-73.el6.centos.noarch
--> Running transaction check
---> Package yum.noarch 0:3.2.29-73.el6.centos will be erased
--> Processing Dependency: yum >= 3.2.18 for package:
yum-plugin-security-1.1.30-37.el6.noarch
--> Processing Dependency: yum >= 3.2.29-56 for package:
yum-utils-1.1.30-37.el6.noarch
--> Running transaction check
---> Package yum-plugin-security.noarch 0:1.1.30-37.el6 will be erased
---> Package yum-utils.noarch 0:1.1.30-37.el6 will be erased
--> Finished Dependency Resolution
Error: Trying to remove "yum", which is protected

Walter

Re: yum timeout ... (CentOS 6.8)

By Warren Young at 06/16/2016 - 15:12

On Jun 16, 2016, at 1:04 PM, Walter H. <walter. ... at mathemainzel dot info> wrote:
That’s annoying. I’ve filed a bug for that upstream:

<a href="https://bugzilla.redhat.com/show_bug.cgi?id=1347426" title="https://bugzilla.redhat.com/show_bug.cgi?id=1347426">https://bugzilla.redhat.com/show_bug.cgi?id=1347426</a>

Re: yum timeout ... (CentOS 6.8)

By Walter H. at 06/18/2016 - 15:30

On 16.06.2016 22:12, Warren Young wrote:
my setup is private IPv4 behind a NAT-Router (192.168.1.0/24)
and as my ISP is still IPv4only I have a IPv6 tunnel (Hurricane Electric)
the other end of the tunnel is not in US, it is in Germany(!)

any access with port 80 or 443 is blocked except from proxy;
and I did the following on squid:

tcp_outgoing_address 192.168.1.10 linux-hosts

and now

after 'yum clean all', I get this when 'yum list kernel'

[root@host /]# yum list kernel
Loaded plugins: fastestmirror
Determining fastest mirrors
* base: mirror.inode.at
* extras: mirror.inode.at
* updates: mirror.inode.at
...
and this is what I except ...

and the following settings in /etc/yum/pluginconf.d/fastestmirror.conf

exclude=.edu,.com,.org
include_only=\.at$,\.ch$,\.de$,\.nl$,\.uk$

are placebo, they don't work; because without the "hack setting" in squid,
which in fact disables IPv6 for the linux-hosts(!)
these two settings result in

Determining fastest mirrors
* base: mirror.keystealth.org
* epel: mirror.math.princeton.edu
* extras: mirror.keystealth.org
* updates: mirror.keystealth.org

Greetings,
Walter