【问题标题】:YUM package available in repo, but while install gives "No package"YUM 包在 repo 中可用,但安装时给出“无包”
【发布时间】:2019-08-11 17:52:14
【问题描述】:

我正在从 python 2.7 升级到 3.6。

我们正在使用 JFrog 工件存储库来托管软件包。
我已经在 yum repo (artifactory) URL 中验证了包 python36 存在。

以下是尝试过的事情:

In /etc/yum.repos.d/epel.repo, added the baseurl of yum (artifactory) repo.
yum clean all
yum info python36 - Error: No matching Packages to list
yum install python36 - No package python36 available. Error: Nothing to do

但是安装响应说“没有可用的包”。
请告知我是否在这里遗漏任何内容或需要查看其他内容。

【问题讨论】:

  • yum repolist: 你的 repel 仓库出现在列表中了吗?否则它不活跃/不工作......
  • @ChrisMaes 是的,它在列表中显示了 epel。事实证明,工件存在问题,无法发现工件,现在在修复并重新加载 repo 后它正在工作。感谢您的评论。

标签: python-3.6 yum rhel7 epel


【解决方案1】:

对于记录 - 随着 yum repolist 和 yum search 工作,yum install 应该工作了。
事实证明,repo 存在问题,并且无法发现工件。
现在重新加载 repo 后一切正常。

【讨论】:

  • 是的,看起来这是暂时的 epel 问题。由于这个问题,我们已经切换到我们自己的 epel repo 副本
猜你喜欢
  • 1970-01-01
  • 2011-06-04
  • 1970-01-01
  • 2015-05-01
  • 1970-01-01
  • 1970-01-01
  • 2022-05-30
  • 2016-12-26
  • 2018-09-16
相关资源
最近更新 更多