The guide at Plesk’s DevBlog results in dependency issues on Ubuntu 14.
Here’s what the command should be when migrating to MariaDB on Ubuntu 14.04.2 LTS with Plesk 12.0.18.
1. Log in as root and run…
1 |
apt-get update |
2. And run the following updated command…
1 2 |
env DEBIAN_FRONTEND=noninteractive apt-get -o OrderList::Score::Immediate=1000 \ install libmariadbclient18 mariadb-client-5.5 mariadb-client-core-5.5 mariadb-common mariadb-server mariadb-server-5.5 mariadb-server-core-5.5 |
3. Check you have MariaDB installed with
1 2 |
mysql -V mysql Ver 15.1 Distrib 5.5.41-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2 |
I hope that helps someone else.
Notes
Some problems you may encounter, these are in the order you may receive them…
1 2 3 4 |
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) Errors were encountered while processing: /var/cache/apt/archives/mariadb-server-5.5_5.5.41-1ubuntu0.14.04.1_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) |
Fix:
1 |
# dpkg -i --force-overwrite /var/cache/apt/archives/mariadb-server-5.5_5.5.41-1ubuntu0.14.04.1_amd64.deb |
Following the above error you will get this…
1 2 |
Errors were encountered while processing: mariadb-server-5.5 |
Fix:
1 |
# dpkg --configure -a |
And finally…
1 2 3 4 |
Error: dpkg: error processing package mariadb-server-5.5 (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: mariadb-server-5.5 |
Fix:
1 |
# apt-get install -f |