• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved MariaDB 10.1

NotSoSuper

New Pleskian
Hello, I am trying to install MariaDB 10.1 using Plesk's Instructions and MariaDB repos however it just keeps failing for me,

Install logs:
Code:
root@host:~# env DEBIAN_FRONTEND=noninteractive apt-get -o OrderList::Score::Immediate=1000 install mariadb-server mysql-common libmariadbclient18
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  libjemalloc1 libmysqlclient18 libreadline5 mariadb-client-10.1
  mariadb-client-core-10.1 mariadb-server-10.1 mariadb-server-core-10.1 socat
Suggested packages:
  mariadb-test tinyca
The following packages will be REMOVED:
  mysql-client-5.5 mysql-client-core-5.5 mysql-server mysql-server-5.5
  mysql-server-core-5.5
The following NEW packages will be installed:
  libjemalloc1 libmariadbclient18 libreadline5 mariadb-client-10.1
  mariadb-client-core-10.1 mariadb-server mariadb-server-10.1
  mariadb-server-core-10.1 socat
The following packages will be upgraded:
  libmysqlclient18 mysql-common
2 upgraded, 9 newly installed, 5 to remove and 15 not upgraded.
Need to get 0 B/13.4 MB of archives.
After this operation, 42.5 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Preconfiguring packages ...
(Reading database ... 226060 files and directories currently installed.)
Removing mysql-server (5.5.49-0ubuntu0.14.04.1) ...
dpkg: mysql-server-5.5: dependency problems, but removing anyway as you requested:
plesk-mysql-server depends on mysql-server | virtual-mysql-server; however:
  Package mysql-server is not installed.
  Package virtual-mysql-server is not installed.
  Package mysql-server-5.5 which provides virtual-mysql-server is to be removed.

Removing mysql-server-5.5 (5.5.49-0ubuntu0.14.04.1) ...
mysql stop/waiting
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
(Reading database ... 225983 files and directories currently installed.)
Preparing to unpack .../mariadb-server-10.1_10.1.14+maria-1~trusty_amd64.deb ...
Unpacking mariadb-server-10.1 (10.1.14+maria-1~trusty) ...
dpkg: error processing archive /var/cache/apt/archives/mariadb-server-10.1_10.1.14+maria-1~trusty_amd64.deb (--unpack):
trying to overwrite '/usr/share/mysql/mysql_system_tables.sql', which is also in package mysql-server-core-5.5 5.5.49-0ubuntu0.14.04.1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/mariadb-server-10.1_10.1.14+maria-1~trusty_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@host:~#

Any help wuld be great, thanks!
 
Hi,
please have a look at this post...

Plesk 12 with Mariadb on Ubuntu 14.04

Where you are you need to delete the file...
# dpkg -i --force-overwrite /var/cache/apt/archives/mariadb-server-10.1_10.1.14+maria-1~trusty_amd64.deb

After that...
# dpkg --configure -a

And finally...
# apt-get install -f

Then you should be fine.
Kind regards

Lloyd

EDIT: A couple of posts down you can see an install log too.
 
Back
Top