Stuck with cPanel error MariaDB cannot be installed? We can help you.
As part of our Server Management Services, we assist our customers with similar queries.
Today, let us see how our Support techs resolve this.
How to resolve cPanel error “MariaDB cannot be installed”?
When updating from MySQL to MariaDB within cPanel & WHM, you may find an error output such as the following:
The preinstall check failed. MariaDB cannot be installed. at /usr/local/cpanel/Cpanel/Yum/Install.pm line 470.
This issue can occur due to problems during the yum process.
Firstly, Yum errors in the output can cause the upgrade process to fail.
Then, you can check for such errors by running yum manually using SSH or Terminal.
For example, running ‘yum update’ may provide more output regarding what occurs with yum.
The issue should address based on the error provided by yum.
A typical example is a repository or mirror error.
Generally, a specific repository may fail to connect with an error such as:
[Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Today, let us see the simple step followed by our Support Techs to resolve it.
In this specific case, you would need to resolve the issue with the repository or disable it to proceed.
You can disable it with this command, replacing $repositoryname
with the name of the repository:
yum-config-manager --disable $repositoryname
Alternatively, you can edit the repository file in the /etc/yum.repos.d
directory to change “enable=1” to “enable=0”.
[Stuck in between? We are glad to assist you]
Conclusion
In short, today we saw steps followed by our Support Techs to resolve cPanel error “MariaDB cannot be installed”.
PREVENT YOUR SERVER FROM CRASHING!
Never again lose customers to poor server speed! Let us help you.
Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.
0 Comments