无法通过百胜安装?

时间:2015-03-08 05:39:23

标签: linux fedora yum

我无法安装后在我的机器上安装了Sublime我去安装mysqld我遇到以下错误:

# yum install mysqld
Loaded plugins: langpacks, refresh-packagekit
Repository sublime2 is listed more than once in the configuration
Repository sublime2-dev is listed more than once in the configuration
Repository sublime2-nightly is listed more than once in the configuration
fedora/20/x86_64/metalink                                                                                                      | 8.5 kB  00:00:00     
google-chrome                                                                                                                  |  951 B  00:00:00     
http://repo.cloudhike.com/sublime2/fedora/20/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
Error: failure: repodata/repomd.xml from sublime2: [Errno 256] No more mirrors to try.
http://repo.cloudhike.com/sublime2/fedora/20/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found

如何在Fedora 20中重置yum并安装sublime

2 个答案:

答案 0 :(得分:1)

看起来并非所有的回购都有效,而且其中一些是重复的。

在/etc/yum.repos.d/和/etc/yum.conf中的文件中查看yum-config-manager

答案 1 :(得分:1)

我只是删除了apache并得到了这个问题 - WT ..:D

如果" sublime2"在CentOS 7上

临时解决:

使用任何编辑器

# kate /etc/yum.repos.d/sublime2.repo

并找到所有

baseurl=...

评论旧并创建新链接

#baseurl=http://repo.cloudhike.com/sublime2/fedora/$releasever/$basearch/

baseurl=http://repo.cloudhike.com/sublime2/fedora/18/$basearch/

这是所有文件 http://repo.cloudhike.com/sublime2/fedora/

相关问题