2016-10-10 63 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]