Error installing MariaDB on Ubuntu 16.04 LEMP

September 27, 2016 216 views
Nginx MariaDB Ubuntu 16.04

Have a relatively default latest Ubuntu server (16.04) running LEMP.

Unlike all the other wonderful step by step tutorials the page here: simple said to uninstall (even though commenters said not necessary) and then install and provided a link another website without any further details. None the less, installed following those instruction.

When installing using the instructions on the MariaDB site: all steps work except the last when it actually tries to install.

$ sudo apt install mariadb-server
Reading package lists... Done
Building dependency tree
Reading state information... Done

Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming.

The following information may help to resolve the situation:
The following packages have unmet dependencies: mariadb-server :
Depends: mariadb-server-10.1 (= 10.1.17+maria-1~xenial) but it is not
going to be installed

E: Unable to correct problems, you have held broken packages.

I assume this must be a common issue since I'm using the latest stable Ubuntu and using the latest stable MariaDB. What am I missing?

1 Answer

I'm having a similar issue too, did you find the answer?

  • No, still waiting on a response from Digital Ocean here. Restored backup of site and sticking with MySQL until I hear back from DO.

Have another answer? Share your knowledge.