我想我已经通过wget添加了一个sublime2源代码,但是我没有成功地安装它。现在,如果我想安装像firefox这样的其他软件:
yum install firefox我会犯这样的错误:
Loaded plugins: security
Setting up Install Process
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
G02R02C00 | 1.5 kB 00:00
epel/metalink | 27 kB 00:00
epel | 4.3 kB 00:00
epel/primary_db | 5.9 MB 00:01
scl_python27 | 3.0 kB 00:00
standard | 1.2 kB 00:00
standard/primary | 28 MB 00:06
standard 16898/16898
http://repo.cloudhike.com/sublime2/fedora/6Server/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: sublime2. Please verify its path and try again我很困惑,因为当我试图安装任何其他东西时,我不知道为什么会出现这个错误。我运行命令
sudo find / -name sublime2我得到了:
/var/lib/yum/repos/x86_64/6Server/sublime2
/var/cache/yum/x86_64/6Server/sublime2我删除了这两个,但下次我尝试安装一些其他东西,他们会再次出现!我如何才能完全删除与sublime2相关的所有内容?非常感谢!
发布于 2016-05-10 09:29:22
删除文件/etc/yum.repos.d/sublime.repo (或任何其他具有类似名称的文件),那么它就可以工作了。
如果你找不到这样的文件。然后将grep用于/etc/yum.ras.d目录中的崇高。删除文件。
grep "sublime" /etc/yum.repos.d/*另一个临时解决方案是在每次运行yum时禁用到存储库。
yum --disablerepo=sublime2 install firefoxhttps://stackoverflow.com/questions/37134221
复制相似问题