站長資訊網
        最全最豐富的資訊網站

        centos7出現yum之類的問題的時候可能是加入的一些源導致的問題最佳的解決方案

        //傻逼的我胡搞出現不知道添加什么軟件源到/etc/yum.repo中結果出現了一堆錯-搜了很長時間沒解決-算了-返璞歸真(回到初始的狀態)吧,看了一下別人的阿里云的服務器中初始的時候都有什么源 結果就(CentOS-Base.repo ,epel.repo)就這兩個源 好吧現在把所有的除了這兩個源都編程 **.repo.bak
        然后 yum clean all yum makecache
        這樣就可以了

        [root@iz2ze1ci0m3dzopy4m0byfz ~]# yum update
        Loaded plugins: fastestmirror
        base | 3.6 kB 00:00:00
        epel | 3.2 kB 00:00:00
        extras | 3.4 kB 00:00:00
        mysql-connectors-community | 2.5 kB 00:00:00
        mysql-tools-community | 2.5 kB 00:00:00
        mysql57-community | 2.5 kB 00:00:00
        Could not retrieve mirrorlist http://apt.sw.be/redhat/el6/en/mirrors-rpmforge error was
        14: curl#6 – “Could not resolve host: apt.sw.be; Name or service not known”
        http://apt.sw.be/redhat/el6/en/x86_64/rpmforge/repodata/repomd.xml: [Errno 14] curl#6 – “Could not resolve host: apt.sw.be; Name or service not known”
        Trying other mirror.

        One of the configured repositories failed (RHEL 7 – RPMforge.net – dag),
        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=rpmforge ...     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 rpmforge      or          subscription-manager repos --disable=rpmforge     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=rpmforge.skip_if_unavailable=true  

        failure: repodata/repomd.xml from rpmforge: [Errno 256] No more mirrors to try.
        http://apt.sw.be/redhat/el6/en/x86_64/rpmforge/repodata/repomd.xml: [Errno 14] curl#6 – “Could not resolve host: apt.sw.be; Name or service not known”
        但是這個錯我真的不知道是什么意思-哪位大佬遇到這個錯知道是什么意思能解決的話,麻煩留言。

        贊(0)
        分享到: 更多 (0)
        網站地圖   滬ICP備18035694號-2    滬公網安備31011702889846號
        主站蜘蛛池模板: 久久精品国产影库免费看| 欧美精品手机在线播放| 韩国精品欧美一区二区三区| 免费精品精品国产欧美在线| 99热门精品一区二区三区无码| 日韩精品亚洲专区在线观看| 99精品国产一区二区| 国产精品日本一区二区在线播放| 四虎国产精品永久在线无码| 欧美黑人巨大精品| 99精品一区二区三区无码吞精| 亚洲精品无码永久在线观看你懂的 | 热综合一本伊人久久精品| 亚洲嫩草影院久久精品| 国产精品久久久久无码av| 国产精品色内内在线播放| 亚洲av午夜福利精品一区人妖 | 久久精品中文字幕第23页| 国产精品国产三级在线专区| 久久99国产精品久久99果冻传媒| 国产精品毛片VA一区二区三区| 久久亚洲国产成人精品性色| 亚洲欧美日韩久久精品| 日韩精品电影一区亚洲| 欧美亚洲精品中文字幕乱码免费高清| 国产精品亚洲视频| 国产成人精品一区在线| 99热成人精品免费久久| 99精品国产一区二区| 国产高清精品一区| 亚洲欧美日韩精品| 99riav国产精品| 国产福利电影一区二区三区,亚洲国模精品一区 | 亚洲av日韩精品久久久久久a| 无码人妻精品一区二区三区99不卡| 久99久无码精品视频免费播放| 国产精品亚洲欧美大片在线看| 国产精品五月天强力打造 | 国产精品亚洲视频| 欧美成人精品高清视频在线观看 | 亚洲国产精品尤物yw在线|