Bobcares

cPanel error “MariaDB cannot be installed”

PDF Header PDF Footer

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.

GET STARTED

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Get featured on the Bobcares blog and share your expertise with a global tech audience.

WRITE FOR US
server management

Spend time on your business, not on your servers.

TALK TO US

Or click here to learn more.

GET UP TO 25% OFF

cPanel Support

Spend time on your business, not on your servers.

Managing a server is time consuming. Whether you are an expert or a newbie, that is time you could use to focus on your product or service. Leave your server management & end-user tech support to us, and use that time to focus on the growth and success of your business.

TALK TO US Or click here to learn more.

Speed issues driving customers away?
We’ve got your back!