[CentOS] yum timeout ... (CentOS 6.8)

Sat Jun 18 20:30:50 UTC 2016
Walter H. <Walter.H at mathemainzel.info>

On 16.06.2016 22:12, Warren Young wrote:
> On Jun 16, 2016, at 1:04 PM, Walter H.<walter.h at mathemainzel.info>  wrote:
>>> You can just remove the plugin: yum remove yum-fastestmirror
>> not really
>> [root at host /]# yum remove yum-fastestmirror
> ...
>> Error: Trying to remove "yum", which is protected
> That’s annoying.  I’ve filed a bug for that upstream:
>    https://bugzilla.redhat.com/show_bug.cgi?id=1347426
I found out some crazy things

my setup is private IPv4 behind a NAT-Router (
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 linux-hosts

and now

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

[root at 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


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