1.9libssh2
无法从 RHEL 8.1 及更高版本上的 EPEL 存储库安装(在 RHEL 8.3 上测试):
# dnf --enablerepo=epel install libssh2-1.9.0
...
All matches were filtered out by modular filtering for argument: libssh2-1.9.0
Error: Unable to find a match: libssh2-1.9.0
Run Code Online (Sandbox Code Playgroud)
其他 EPEL RPM 可以毫无障碍地安装。
如何在libssh2
不下载并本地安装的情况下安装它?
最简单的方法就是绕过模块过滤。
编辑/etc/yum.repos.d/epel.repo
并module_hotfixes=1
在该[epel]
部分下添加行。
完毕。安装将会成功。
然而,上述解决方案可能过于宽泛。另一种方法是module_hotfixes
仅在命令中通过以下方式设置--setopt
:
dnf --enablerepo=epel --setopt=epel.module_hotfixes=true install libssh2-1.9.0
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
24729 次 |
最近记录: |