【发布时间】: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