[Maria-discuss] Trouble installing MariaDB 5.5 on Ubuntu 12.04 (& 12.10)
Gang, I've installed MariaDB on several Debian/Ubuntu systems in the past few months, without any issues. ~2 days ago on an Unbuntu 12.10 system did an apt-get update/upgrade/dist-upgrade. I believe that MariaDB was updated in that process. After the updates, mysql was "gone" My apps couldn't find it, it wasn't running, etc. I was in a hurry so I had to fall back to the standard mysql package so not a lot of into there. I built a new Ubuntu 12.04 LTS server, added the Maria repo, did an apt-get update/ugprade/dist-upgrade. Rebooted. Here's some output... I'm stuck in this loop. root@nn01:~# apt-get 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-5.5 but it is not going to be installed E: Unable to correct problems, you have held broken packages. root@nn01:~# apt-get install mariadb-server-5.5 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-5.5 : Depends: mariadb-client-5.5 (>= 5.5.28-mariadb-a1~precise) but it is not going to be installed Depends: mariadb-server-core-5.5 (>= 5.5.28-mariadb-a1~precise) but it is not going to be installed E: Unable to correct problems, you have held broken packages. root@nn01:~# apt-get install mariadb-client-5.5 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-client-5.5 : Depends: libdbd-mysql-perl (>= 1.2202) but it is not going to be installed Depends: mariadb-common but it is not going to be installed Depends: libmariadbclient18 (>= 5.5.28-mariadb-a1~precise) but it is not going to be installed Depends: mariadb-client-core-5.5 (>= 5.5.28-mariadb-a1~precise) but it is not going to be installed E: Unable to correct problems, you have held broken packages. root@nn01:~#
On Wed, 23 Jan 2013 12:05:22 -0500 Aaron Anderson <anderson.aaron@gmail.com> wrote: Aaron> Gang, Aaron> Aaron> I've installed MariaDB on several Debian/Ubuntu systems in the Aaron> past few months, without any issues. Aaron> Aaron> ~2 days ago on an Unbuntu 12.10 system did an apt-get Aaron> update/upgrade/dist-upgrade. I believe that MariaDB was updated Aaron> in that process. After the updates, mysql was "gone" My apps Aaron> couldn't find it, it wasn't running, etc. I was in a hurry so I Aaron> had to fall back to the standard mysql package so not a lot of Aaron> into there. Aaron> Aaron> I built a new Ubuntu 12.04 LTS server, added the Maria repo, did Aaron> an apt-get update/ugprade/dist-upgrade. Rebooted. Aaron> Aaron> Aaron> Here's some output... I'm stuck in this loop. <snip> The issue is that Ubuntu recently updated its MySQL packages to 5.5.29. This is messing up dependency resolution and apt-get is giving up. Here's an apt-get line that should allow you to install MariaDB (split into multiple lines for the email): apt-get install mariadb-server-5.5 mariadb-client-5.5 \ mariadb-server-core-5.5 mariadb-common mariadb-server \ libmariadbclient18 libdbd-mysql-perl mariadb-client-core-5.5 \ libmysqlclient18=5.5.28-mariadb-a1~precise \ mysql-common=5.5.28-mariadb-a1~precise For the last two packages I'm just specifying the MariaDB version of the two packages that are causing the installation problems. You might not need to specify all of the packages I specify above, but it was easier to do so than to guess at which specific packages to list. An "apt-get dist-upgrade" will cause problems with the above (it'll try to upgrade libmysqlclient18 and mysql-common) but this will let you get up and running until MariaDB 5.5.29 is released. Thanks. -- Daniel Bartholomew Google+ - http://gplus.to/dbart Twitter - http://twitter.com/daniel_bart MariaDB: An Enhanced Drop-in Replacement for MySQL Website - http://mariadb.org Twitter - http://twitter.com/mariadb Google+ - http://google.com/+mariadb Facebook - http://fb.com/MariaDB.dbms Knowledgebase - http://kb.askmonty.org Monty Program - http://montyprogram.com
Forgot to mention: A bug report related to this issue is here: https://mariadb.atlassian.net/browse/MDEV-3882 On Wed, 23 Jan 2013 13:03:35 -0500 Daniel Bartholomew <dbart@mariadb.org> wrote: On Wed, 23 Jan 2013 12:05:22 -0500 Aaron Anderson <anderson.aaron@gmail.com> wrote: Aaron> Gang, Aaron> Aaron> I've installed MariaDB on several Debian/Ubuntu systems Aaron> in the past few months, without any issues. Aaron> Aaron> ~2 days ago on an Unbuntu 12.10 system did an apt-get Aaron> update/upgrade/dist-upgrade. I believe that MariaDB was Aaron> updated in that process. After the updates, mysql was Aaron> "gone" My apps couldn't find it, it wasn't running, etc. Aaron> I was in a hurry so I had to fall back to the standard Aaron> mysql package so not a lot of into there. Aaron> Aaron> I built a new Ubuntu 12.04 LTS server, added the Maria Aaron> repo, did an apt-get update/ugprade/dist-upgrade. Aaron> Rebooted. Aaron> Aaron> Aaron> Here's some output... I'm stuck in this loop. Daniel> <snip> Daniel> Daniel> The issue is that Ubuntu recently updated its MySQL packages to Daniel> 5.5.29. This is messing up dependency resolution and apt-get is Daniel> giving up. Daniel> Daniel> Here's an apt-get line that should allow you to install MariaDB Daniel> (split into multiple lines for the email): Daniel> Daniel> apt-get install mariadb-server-5.5 mariadb-client-5.5 \ Daniel> mariadb-server-core-5.5 mariadb-common mariadb-server \ Daniel> libmariadbclient18 libdbd-mysql-perl mariadb-client-core-5.5 \ Daniel> libmysqlclient18=5.5.28-mariadb-a1~precise \ Daniel> mysql-common=5.5.28-mariadb-a1~precise Daniel> Daniel> For the last two packages I'm just specifying the MariaDB Daniel> version of the two packages that are causing the installation Daniel> problems. You might not need to specify all of the packages I Daniel> specify above, but it was easier to do so than to guess at Daniel> which specific packages to list. Daniel> Daniel> An "apt-get dist-upgrade" will cause problems with the above Daniel> (it'll try to upgrade libmysqlclient18 and mysql-common) but Daniel> this will let you get up and running until MariaDB 5.5.29 is Daniel> released. Daniel> Daniel> Thanks. Daniel> -- Daniel Bartholomew Google+ - http://gplus.to/dbart Twitter - http://twitter.com/daniel_bart MariaDB: An Enhanced Drop-in Replacement for MySQL Website - http://mariadb.org Twitter - http://twitter.com/mariadb Google+ - http://google.com/+mariadb Facebook - http://fb.com/MariaDB.dbms Knowledgebase - http://kb.askmonty.org Monty Program - http://montyprogram.com
participants (2)
-
Aaron Anderson
-
Daniel Bartholomew