On 16.06.2016 19:40, Frank Cox wrote:> On Thu, 16 Jun 2016 19:34:09 +0200 > Walter H. wrote: > >> Yes, but doesn't help ... >> the same before ... >> >> by the way, I can't image that there is no mirror in Europa, >> and that the "timeout"-mirrors from US are the fastest; > yum -disableplugin=fastestmirror nowseewhathappens. > >yes this goes fast, no timeout; can I configure this in /etc/yum.conf? Thanks, Walter
On Jun 16, 2016, at 12:41 PM, Walter H. <walter.h at mathemainzel.info> wrote:> > On 16.06.2016 19:40, Frank Cox wrote: >> On Thu, 16 Jun 2016 19:34:09 +0200 >> Walter H. wrote: >> >>> Yes, but doesn't help ... >>> the same before ... >>> >>> by the way, I can't image that there is no mirror in Europa, >>> and that the "timeout"-mirrors from US are the fastest; >> yum -disableplugin=fastestmirror nowseewhathappens. >> >> > yes this goes fast, no timeout; > can I configure this in /etc/yum.conf?You can just remove the plugin: yum remove yum-fastestmirror
On 16.06.2016 20:51, Warren Young wrote:> On Jun 16, 2016, at 12:41 PM, Walter H.<walter.h at mathemainzel.info> wrote: >> On 16.06.2016 19:40, Frank Cox wrote: >>> On Thu, 16 Jun 2016 19:34:09 +0200 >>> Walter H. wrote: >>> >>>> Yes, but doesn't help ... >>>> the same before ... >>>> >>>> by the way, I can't image that there is no mirror in Europa, >>>> and that the "timeout"-mirrors from US are the fastest; >>> yum -disableplugin=fastestmirror nowseewhathappens. >>> >>> >> yes this goes fast, no timeout; >> can I configure this in /etc/yum.conf? > You can just remove the plugin: yum remove yum-fastestmirror > >not really [root at 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
On 16/06/16 19:41, Walter H. wrote:> On 16.06.2016 19:40, Frank Cox wrote: >> On Thu, 16 Jun 2016 19:34:09 +0200 >> Walter H. wrote: >> >>> Yes, but doesn't help ... >>> the same before ... >>> >>> by the way, I can't image that there is no mirror in Europa, >>> and that the "timeout"-mirrors from US are the fastest; >> yum -disableplugin=fastestmirror nowseewhathappens. >> >> > yes this goes fast, no timeout; > can I configure this in /etc/yum.conf? >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
On 16.06.2016 21:39, Ned Slider wrote:> > On 16/06/16 19:41, Walter H. wrote: >> On 16.06.2016 19:40, Frank Cox wrote: >>> On Thu, 16 Jun 2016 19:34:09 +0200 >>> Walter H. wrote: >>> yum -disableplugin=fastestmirror nowseewhathappens. >>> >>> >> yes this goes fast, no timeout; >> can I configure this in /etc/yum.conf? >> > > The correct way to disable a yum plugin is to set enabled to zero in > the plugin config file: > > /etc/yum/pluginconf.d/fastestmirror.confok I did this, and then did some yum install - works without timeout where could I tell yum to use existing mirrors in my near instead of one on the other side of the world? 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