无法安装 Remi repo:RHEL 7.4

无法安装 Remi repo:RHEL 7.4

如何强制订阅管理器接受 REMI repo?我不确定该怎么做。我已经花了 3 个小时寻找解决方案。

我最终想要的是能够安装 R(yum install -y R),但有一些依赖项需要其他存储库,即 REMI,以便我可以安装pcre2-开发

非常感谢您的解决方案。谢谢!

yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm

# yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm
Loaded plugins: enabled_repos_upload, langpacks, package_upload, product-id, search-disabled-repos, subscription-
              : manager
remi-release-7.rpm                                                                            |  17 kB  00:00:00
Examining /var/tmp/yum-root-efHRDy/remi-release-7.rpm: remi-release-7.7-1.el7.remi.noarch
/var/tmp/yum-root-efHRDy/remi-release-7.rpm: does not update installed package.
Error: Nothing to do
Uploading Enabled Repositories Report
Loaded plugins: langpacks, product-id, subscription-manager

答案1

错误信息中有解释,重新发布已安装。

但请注意,RHEL 7.4 已过时且无人维护。当前版本是 7.7。

答案2

我在 Centos 7 上遇到了同样的错误,这就是我所修复的。

如果你安装了 epel-release,请重新安装

查看

yum install epel-release

与 epel-release-7-11.noarch 匹配的软件包已安装。正在检查更新。

接下来删除 epel-release

yum remove epel-release -y
yum update

下一个 epel-release 7.13

yum install -y epel-release
yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

相关内容