简体   繁体   English

无法通过百胜安装?

[英]Not able to install through Yum?

I have installed Sublime on my machine after unable to install I went to install mysqld i have got the following error: 无法安装后,我已经在计算机上安装了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

How do I reset yum and install sublime in Fedora 20? 如何在Fedora 20中重置yum并安装sublime

Looks like not all your repos are valid and some of them are duplicated. 似乎并非您的所有回购都是有效的,并且其中一些是重复的。

Have a look at yum-config-manager , at the files in /etc/yum.repos.d/ and at /etc/yum.conf 看一下yum-config-manager ,/etc/yum.repos.d/中的文件和/etc/yum.conf中的文件

I just remove apache and get this problem - WT.. :D 我只是删除Apache并遇到此问题-WT ..:D

If problem with "sublime2" on the CentOS 7 如果CentOS 7上的“ sublime2”出现问题

Temp resolved: 临时解决:

use any editor 使用任何编辑器

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

and find all 并找到所有

baseurl=...

comment old and create new link 旧评论并创建新链接

from

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

to

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

Here is all files http://repo.cloudhike.com/sublime2/fedora/ 这是所有文件http://repo.cloudhike.com/sublime2/fedora/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM