无法通过 Yum 安装?

Not able to install through 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

看来您的回购协议并非全部有效,其中一些是重复的。

查看 yum-config-manager、/etc/yum.repos.d/ 和 /etc/yum.conf

中的文件

我刚刚删除了 apache 并遇到了这个问题 - WT..:D

如果在 CentOS 7 上 "sublime2" 有问题

温度已解决:

使用任何编辑器

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

并找到所有

baseurl=...

评论旧的并创建新的link

来自

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

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

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