yum源使用报错-RockyLInux8.7-Modular dependency problem:
报错信息如下:
Kubernetes 11 kB/s | 173 kB 00:15 Modular dependency problem: Problem: conflicting requests - nothing provides module(perl-DBI:1.641) needed by module perl-DBD-MySQL:4.046:8060020220513012802:0c8a95f7.x86_64 - nothing provides module(perl-DBI:1.641) needed by module perl-DBD-MySQL:4.046:8060020220513012802:4f86f5e0.x86_64 - nothing provides module(perl-DBI:1.641) needed by module perl-DBD-MySQL:4.046:8060020220513012802:a201e4c2.x86_64 - nothing provides module(perl-DBI:1.641) needed by module perl-DBD-MySQL:4.046:8060020220513012802:bce9b2db.x86_64 Metadata cache created.
可是我没有安装上面的软件包,
处理方法:
直接卸载module
[root@xh-system-k8s-master yum.repos.d]# yum module disable perl-DBD-MySQL Modular dependency problem: Problem: conflicting requests - nothing provides module(perl-DBI:1.641) needed by module perl-DBD-MySQL:4.046:8060020220513012802:0c8a95f7.x86_64 - nothing provides module(perl-DBI:1.641) needed by module perl-DBD-MySQL:4.046:8060020220513012802:4f86f5e0.x86_64 - nothing provides module(perl-DBI:1.641) needed by module perl-DBD-MySQL:4.046:8060020220513012802:a201e4c2.x86_64 - nothing provides module(perl-DBI:1.641) needed by module perl-DBD-MySQL:4.046:8060020220513012802:bce9b2db.x86_64 Dependencies resolved. =========================================================================================================================================================================================================== Package Architecture Version Repository Size =========================================================================================================================================================================================================== Disabling modules: perl-DBD-MySQL Transaction Summary =========================================================================================================================================================================================================== Is this ok [y/N]: y Complete!
下载后恢复正常。