Unix & Linux Asked by Aditya K on October 30, 2021
Fresh install of CentOS 8 and I’m getting the following error when doing pretty much any dnf command. For example on yum remove I get:
# yum remove
Modular dependency problems:
Problem 1: conflicting requests
- nothing provides module(perl:5.26) needed by module perl-DBD-MySQL:4.046:8010020191114030811:073fa5fe-0.x86_64
Problem 2: conflicting requests
- nothing provides module(perl:5.26) needed by module perl-DBI:1.641:8010020191113222731:16b3ab4d-0.x86_64
Problem 3: conflicting requests
- nothing provides module(nginx) needed by module php:7.2:8010020191114034540:2430b045-0.x86_64
No packages marked for removal.
I’m not sure how this started, it might have been after I installed MariaDB. I’ve uninstalled it since, but the error persists. I need to resolve this error before moving on, so I dont mind remove any packages to do that.
I’m not really sure what it’s referring to. I don’t have perl-DBD perl-DBI or php installed on this system.
As above but without the perl-DBD-MySQL
:
yum module reset perl-DBD-SQLite perl-DBI php
Answered by user423674 on October 30, 2021
I don't know what caused this on our server, but simply running the dnf/yum module enable command removed the modular dependency warning:
dnf module enable perl:5.26
This issue is also discussed here:
Answered by Kal on October 30, 2021
In case anyone else seem this, here's how I solved it. It seems to be an issue after installing MariaDB from the CentOS repositories.
yum module reset perl-DBD-MySQL perl-DBD-SQLite perl-DBI php
Answered by Aditya K on October 30, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP