Wednesday, August 21, 2019

server - Unable to install MariaDB on Ubuntu 16.04.2

When I attempt to install MariaDB Server on my Ubuntu Server 16.04.2 with apt install mariadb-server, I get the following response:



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-10.0 : Depends: libdbi-perl but it is not going to be installed
Depends: mariadb-client-10.0 (>= 10.0.29-0ubuntu0.16.04.1) but it is not going to be installed
Recommends: libhtml-template-perl but it is not going to be installed
E: Unable to correct problems, you have held broken packages.



I did try on another instance (virtual machine, same HW) of the same OS. Over there I have no issues and the MariaDB seems to be installing fine.



Can you please suggest how I can fix the issue and install MariaDB-server on my Ubuntu?



I tried already:



sudo apt-get autoclean
sudo apt-get autoremove
sudo apt update
sudo apt-get --fix-broken install

sudo apt upgrade
sudo dpkg --configure -a


Thank you.

No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...