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  删除 就不报错了

最新文章

  1. spring声明式事务管理总结
  2. iOS--高级技术
  3. Android控件之WebView
  4. [转载]基于TFS实践敏捷-实现用户场景
  5. UI---startup--jquery
  6. wget https://github.com/xxx/yyy/archive/${commit_hash}.zip
  7. UnityVS(Visual Studio Tools For Unity)的安装与使用
  8. .NET开发必备工具之-Reflector
  9. C++ 实现不能被继承的类
  10. Java Socket 基础例子
  11. org/apache/commons/discovery/tools/DiscoverSingleton
  12. 关于mapreduce过程中出现的错误:Too many fetch-failures
  13. iOS开发 UITableView之cell
  14. Android - 用Fragments实现动态UI
  15. kindeditor使用方法
  16. 图像处理_imgproc笔记(1)
  17. CDOJ 1271 Search gold
  18. sudo,visudo
  19. Ubuntu18.04应用程序安装集锦
  20. css选择器+、~、>

热门文章

  1. Pyhton学习——Day50
  2. vue 移动端项目,动态控制div距离底部的距离
  3. java的算法实现冒泡
  4. Vue学习之路第六篇:v-on
  5. UVALive-7197 Axles 动态规划 多个背包问题
  6. BZOJ 5180 [Baltic2016]Cities(斯坦纳树)
  7. Shell(一)变量
  8. 洛谷P1004 方格取数
  9. JAVA 重载方法,参数为NULL时,调用的处理 (精确性原则)
  10. MyBatis学习总结(8)——Mybatis3.x与Spring4.x整合