This is a read-only copy of the MariaDB Knowledgebase generated on 2024-11-16. For the latest, interactive version please visit https://mariadb.com/kb/.

MariaDB 10.0 installation errors on Linux Mint 16

Trying to install as it is explained on https://downloads.mariadb.org/mariadb/repositories/#mirror=mephi&distro=Mint&distro_release=saucy&version=10.0 I get the following error messages:

dpkg: error processing mariadb-server-10.0 (--configure):

subprocess installed post-installation script returned error exit status 1

dpkg: dependency problems prevent configuration of mariadb-server:

mariadb-server depends on mariadb-server-10.0 (= 10.0.10+maria-1saucy); however:

Package mariadb-server-10.0 is not configured yet.

dpkg: error processing mariadb-server (--configure):

dependency problems - leaving unconfigured

Processing triggers for libc-bin ...

Processing triggers for menu ...

Errors were encountered while processing:

mariadb-server-10.0

mariadb-server

E: Sub-process /usr/bin/dpkg returned an error code (1)

Answer Answered by Elena Stepanova in this comment.

Hi,

There is not enough information to say what can be wrong on your system. I installed Saucy packages on Mint 15, which is closest to 16 that I have at hand, they got installed all right, so it's not the packages. Most likely you have some remains of previous installations on your machine. Also, it is unclear how exactly you are installing the packages -- are you running apt-get from the command line, or doing upgrade, or using some automatic installation tool, or ...?

Please first try to run apt-get install -f. However strange it sounds, try to run it two or three times, it is known to work on the 2nd attempt sometimes.

If it doesn't help, run dpkg -l | grep -i 'maria\|mysql' and see what packages you have there. Remove old installations of MariaDB or MySQL or Percona server, and, if the old data is of no essence, purge everything and then do clean install.

If it still does not help, check the syslog or, if it exists, the server error log in /var/lib/mysql, it is possible that your server does not start and that's what causes the problem.

Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.