2016-10-10 106 views
0

百胜-y更新

加载的插件:fastestmirror 基地| 3.6 kB 00:00 epel/x86_64/metalink | 22 kB 00:00 extras | 3.4 kB 00:00 mysql-connectors-community | 2.5 kB 00:00 mysql-tools-community | 2.5 kB 00:00 mysql56-community | 2.5kb的00:00百胜刚刚停止woiking并给出错误

14:HTTP错误404 - 未找到 http://apt.sw.be/redhat/el6/en/x86_64/rpmforge/repodata/repomd.xml:[错误14] HTTP错误404 - 未找到 尝试其他反射镜。 为了解决这个问题,请参考下面的知识库文章

如果上述文章不能帮助解决这个问题,请创建https://bugs.centos.org/

一个配置的存储库的失败(RHEL 7中的错误 - RPMForge的。 net - dag), 和yum没有足够的缓存数据继续。在这一点上,唯一可以做的安全事情就是失败。有几种方法来变通“修理”这样的:

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 rpmforge 

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

---我得到这个错误只要我尝试用yum

+0

为什么你有一个回购补充,不再可用?对于第一个和第二个问题,只要yum在我的rhel上找不到一个回购商品,它就会跳过该回购商品并转到其他商品,除非该商品需要回购。 – jgr208

+0

这是不是略微关闭主题?据我所知,这与编程无关。 –

+0

这不是关于编程与否。我只是找不到解决方法,我是使用Linux的新手 – Oladapo

回答

0

是的,我在yum仓库目录导航到故障库修复

CD使用

LS /etc/yum.repos.d

然后你可以列出所有回购

然后你可以删除使用 yum删除[repos-name]