2018-08-28

Linux yum指令的一个小坑

报错信息:

http://bigtoprepos.s3.amazonaws.com/releases/1.0.0/centos/6/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found

Trying other mirror.

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 (Bigtop),

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. Disable the repository, 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 bigtop

    4. 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=bigtop.skip_if_unavailable=true

failure: repodata/repomd.xml from bigtop: [Errno 256] No more mirrors to try.

解决办法:

到/etc/etc/yum.repos.d目录下查看:


yum.repos.d目录1

和别的linux机子对比发现多了bigtop.reps文件,把这玩意删了,然后就ok。

能正常使用yum 安装的机子的yum.repos.d目录如下


yum.repos.d目录2
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

  • rljs by sennchi Timeline of History Part One The Cognitiv...
    sennchi阅读 7,974评论 0 10
  • 清水无香LY阅读 312评论 0 3
  • 孤岛 每个人都走过很多的路,路途或远,或近;路形或曲,或直,和亲人走,和朋友走,和同事,和刚认识的人走,千转百徊,...
    咚_阅读 474评论 0 0
  • 再过两天就到了中国的传统节日大年三了。这是我最喜欢的节日了。喜欢这个节日是因为这一天会有一大桌好吃的年夜饭,还...
    张轩赫阅读 148评论 0 0
  • 子曰:唯女子与小人难养也,近之不逊远则怨。 这句话不是孔子在贬低女性,认为女人跟小人一样讨厌,而且孔夫子他搞不定老...
    迦陵杂谈阅读 196评论 0 0

友情链接更多精彩内容