yum install glusterfs-server
yum 一直报错 把/etc/yum.repos.d 备份 删除了所有文件,从测试机192..168.59.128上同步过来 一直报错
已加载插件:fastestmirror
| 3.6 kB 00:00:00
http://mirror.centos.org/%24contentdir/7/storage/x86_64/gluster-4.1/repodata/repomd. : [Errno 14] HTTP Error 404 - Not Found
正在尝试其它镜像。
To address this issue please refer to the below knowledge 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 url/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
sub ion-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. from centos-gluster41: [Errno 256] No more mirrors to try.
http://mirror.centos.org/$contentdir/7/storage/x86_64/gluster-4.1/repodata/repomd. : [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)-购买阿里云学生服务器
2026-05-19栏目: 教程
-
提高云资源的利用效率,降低阿里云的成本支出
2026-05-19栏目: 教程
-
东方富海董事长陈玮:想要牛市,要大幅提升直投比例。
2026-05-19栏目: 教程
-
一个系统,搞定闲鱼服务端复杂问题告警-定位-快速处理
2026-05-19栏目: 教程
-
中小企业如何建官方网站 | 推荐阿里云自营建站服务
2026-05-19栏目: 教程
