美文网首页
2018-08-28

2018-08-28

作者: nikown | 来源:发表于2018-08-28 10:01 被阅读0次

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

相关文章

  • 新故事

    2018-08-28

  • 晨雨随笔

    2018-08-28 下墨 2018-08-28 05:05 · 字数 183 · 阅读 0 · 日记本 昨天出去...

  • 2018-08-29

    2018-08-28 魏春香 2018-08-28 06:27 · 字数 386 · 阅读 0 · 日记本 201...

  • 2018-08-28

    戴师傅 2018-08-28 2018-08-28 20:32 打开App (稻盛哲学学习会)打卡第124天 姓名...

  • 【置顶】技术研发视频分享汇总

    Android 2018-08-29更新 Android架构技术 2018-08-28 更新 Android核心技...

  • 2018-08-29

    2018-08-28 张shilian 2018-08-29 22:28 · 字数 388 · 阅读 1 · 日记...

  • 2018-08-29

    2018-08-29 万千工品金秀 2018-08-28 22:22 · 字数 376 · 阅读 4 · 日记本 ...

  • 2018-08-28

    2018-08-28 万千工品金秀 2018-08-27 23:24 · 字数 286 · 阅读 8 · 日记本 ...

  • 建立家规的几个原则

    夕玹 2018-08-28 14:44 · 字数 1114 · 阅读 0 · 日记本 制定家规是进行家规教育...

  • 懂你 L4-U1-3-Listening-Harry's

    流利说 D62 2018-08-28 一、复习 Level4-Unit1-Part2*Learning- Voca...

网友评论

      本文标题:2018-08-28

      本文链接:https://www.haomeiwen.com/subject/macfwftx.html