码迷,mamicode.com
首页 > 其他好文 > 详细

安装 glusterfs yum源报错

时间:2018-12-07 01:28:57      阅读:276      评论:0      收藏:0      [点我收藏+]

标签:nav   his   gluster   tin   issue   smi   pack   oda   bytes   

yum install glusterfs-server

yum 一直报错 把/etc/yum.repos.d 备份 删除了所有文件,从测试机192..168.59.128上同步过来 一直报错

已加载插件:fastestmirror
base | 3.6 kB 00:00:00
http://mirror.centos.org/%24contentdir/7/storage/x86_64/gluster-4.1/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
正在尝试其它镜像。
To address this issue please refer to the below knowledge base article

https://access.redhat.com/articles/1320623

If above article doesn‘t help to resolve this issue please create a bug on https://bugs.centos.org/

 

One of the configured repositories failed (CentOS-7 - Gluster 4.1 (Long Term Maintanance)),
and yum doesn‘t have enough cached data to continue. At this point the only
safe thing yum can do is fail. There are a few ways to work "fix" this:

1. Contact the upstream for the repository and get them to fix the problem.

2. Reconfigure the baseurl/etc. for the repository, to point to a working
upstream. This is most often useful if you are using a newer
distribution release than is supported by the repository (and the
packages for the previous distribution release still work).

3. Run the command with the repository temporarily disabled
yum --disablerepo=centos-gluster41 ...

4. Disable the repository permanently, so yum won‘t use it by default. Yum
will then just ignore the repository until you permanently enable it
again or use --enablerepo for temporary usage:

yum-config-manager --disable centos-gluster41
or
subscription-manager repos --disable=centos-gluster41

5. Configure the failing repository to be skipped, if it is unavailable.
Note that yum will try to contact the repo. when it runs most commands,
so will have to try and fail each time (and thus. yum will be be much
slower). If it is a very temporary problem though, this is often a nice
compromise:

yum-config-manager --save --setopt=centos-gluster41.skip_if_unavailable=true

failure: repodata/repomd.xml from centos-gluster41: [Errno 256] No more mirrors to try.
http://mirror.centos.org/$contentdir/7/storage/x86_64/gluster-4.1/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
[root@linux-node1 ~]# ping www.baidu.com
PING www.a.shifen.com (14.215.177.39) 56(84) bytes of data.
64 bytes from 14.215.177.39 (14.215.177.39): icmp_seq=1 ttl=128 time=15.6 ms
64 bytes from 14.215.177.39 (14.215.177.39): icmp_seq=2 ttl=128 time=15.8 ms
^C
--- www.a.shifen.com ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 15.662/15.779/15.897/0.172 ms

原因 128安装了glusterFS /etc//etc/yum.repos.d 下多了文件CentOS-Gluster-4.1.repo

在129上 文件CentOS-Gluster-4.1.repo  删除 就不报错了

 

安装 glusterfs yum源报错

标签:nav   his   gluster   tin   issue   smi   pack   oda   bytes   

原文地址:https://www.cnblogs.com/ylj-linux/p/10080780.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!