当前系统信息如下:
[root@Master ~]# uname -a
Linux Master 4.18.0-193.6.3.el8_2.x86_64 #1 SMP Wed Jun 10 11:09:32 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
[root@Master ~]# cat /etc/redhat-release
CentOS Linux release 8.2.2004 (Core)
比方说我打算安装 git 客户端:
[root@Master yum.repos.d]# dnf install git
...
运行事务检查
No available modular metadata for modular package 'perl-IO-Socket-SSL-2.066-4.module_el8.3.0+410+ff426aa3.noarch', it cannot be installed on the system
No available modular metadata for modular package 'perl-Mozilla-CA-20160104-7.module_el8.3.0+416+dee7bcef.noarch', it cannot be installed on the system
No available modular metadata for modular package 'perl-Net-SSLeay-1.88-1.module_el8.3.0+410+ff426aa3.x86_64', it cannot be installed on the system
可以看到,此处提示 'perl-IO-Socker-SSL-2.006-4.module_xxxxx.noarch' 等带有 module
的包没有被安装。此外,我还测试安装了其他带有 module
依赖的软件,都会提示 no available modular metadata for ... 的错误信息。
但是,任何不带 module
依赖的软件都能够安装成功,如:dnf install createrepo
。
module
作为 CentOS 8 新加入的一种“特性”,让我这个从 CentOS 7 过来的人很迷茫。请问在 CentOS 8 中安装任何带有 module
的软件,需要预先做什么配置?或者有什么可以绕过的方案?
附上我查找过的一些资料:
我也被这个困扰,用的nexus代理源,无法给楼主发私信