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

        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號
        主站蜘蛛池模板: 无码国产精品一区二区免费16 | 四虎国产成人永久精品免费| 国产在视频线精品视频二代| 午夜亚洲av永久无码精品| 亚洲精品高清国产一久久| 国产成人精品2021| 亚洲AV无码国产精品色午友在线| 99久久人妻无码精品系列蜜桃 | 最新国产成人精品2024| 国产专区日韩精品欧美色| 无码aⅴ精品一区二区三区浪潮 | 久久精品国产一区二区| 久久精品人成免费| 午夜精品久久久久久久无码| 国产精品V亚洲精品V日韩精品| 日韩人妻无码精品久久免费一| 欧美精品人爱c欧美精品| 99久久99这里只有免费费精品| 久久国产热这里只有精品| 国产成人精品优优av| 国产微拍精品一区二区| 北岛玲日韩精品一区二区三区| 亚洲精品乱码久久久久久自慰| 97视频在线精品国自产拍| 欧美巨大黑人精品videos| 亚洲国产精品国自产拍AV| 久久线看观看精品香蕉国产| www.亚洲精品| 国产精品91视频| 国内精品91最新在线观看| 国产精品久久久福利| 综合久久精品色| 亚洲国产精品无码一线岛国| 尤物TV国产精品看片在线| 亚洲精品亚洲人成在线观看| 亚洲日韩欧美制服精品二区 | 99re只有精品8中文| 免费精品一区二区三区第35 | 久久99精品久久久久久噜噜| 久久久久久久亚洲精品| 亚洲av午夜成人片精品电影|