Here is the 'crude *forced* style' I
worked with to MariaDB back to life - after the Ubuntu
*forced*
update and
dependency killed the database [MariaDB]:
server:~/aegir-boa-installer# aptitude install
mariadb-server-5.5 mariadb-common
The following NEW packages will be
installed:
libdbd-mysql-perl{a} libmariadbclient18{ab}
libmysqlclient18{a} mariadb-client-5.5{a} mariadb-client-core-5.5{a}
mariadb-server-5.5 mariadb-server-core-5.5{a}
0 packages upgraded, 7 newly
installed, 0 to remove and 0 not upgraded.
Need to get 31.8 MB of archives.
After unpacking 107 MB will be used.
The following packages have unmet
dependencies:
mysql-common : Breaks: mysql-client-5.1 which is a
virtual
package.
Breaks: mysql-client-core-5.1 which is a virtual
package.
Breaks: mysql-server-core-5.1 which is a virtual
package.
libmariadbclient18 : Depends: libmysqlclient18 (=
5.5.28-mariadb-a1~precise) but 5.5.29-0ubuntu0.12.04.1 is to be
installed.
The following actions will resolve these
dependencies:
Keep the
following packages at their current version:
1)
libmariadbclient18 [Not Installed]
2)
mariadb-client-5.5 [Not Installed]
3)
mariadb-client-core-5.5 [Not Installed]
4)
mariadb-server-5.5 [Not Installed]
5)
mariadb-server-core-5.5 [Not Installed]
Accept this solution? [Y/n/q/?]
n
The following actions will resolve these dependencies:
Install
the following packages:
1) libmysqlclient18
[5.5.28-mariadb-a1~precise (<NULL>)]
Downgrade
the following packages:
2) mysql-common
[5.5.29-0ubuntu0.12.04.1 (now, precise-security, precise-updates) ->
5.5.28-mariadb-a1~precise (<NULL>)]
Accept this solution?
[Y/n/q/?]
The following packages will be
DOWNGRADED:
mysql-common
The following NEW packages will be
installed:
libdbd-mysql-perl{a} libmariadbclient18{a}
libmysqlclient18{a} mariadb-client-5.5{a} mariadb-client-core-5.5{a}
mariadb-server-5.5 mariadb-server-core-5.5{a}
0 packages upgraded, 7 newly
installed, 1 downgraded, 0 to remove and 0 not upgraded.
Need to get 30.9 MB
of archives. After unpacking 104 MB will be used.
Do you want to continue?
[Y/n/?] y
Get: 1 http://archive.ubuntu.com/ubuntu/ precise/main libdbd-mysql-perl i386 4.020-1build2 [104
kB]
Get: 2 http://ftp.osuosl.org/pub/mariadb/repo/5.5/ubuntu/ precise/main mysql-common all
5.5.28-mariadb-a1~precise [8,780 B]
Get: 3 http://ftp.osuosl.org/pub/mariadb/repo/5.5/ubuntu/ precise/main libmariadbclient18 i386
5.5.28-mariadb-a1~precise [817 kB]
Get: 4 http://ftp.osuosl.org/pub/mariadb/repo/5.5/ubuntu/ precise/main libmysqlclient18 i386
5.5.28-mariadb-a1~precise [2,920 B]
Get: 5 http://ftp.osuosl.org/pub/mariadb/repo/5.5/ubuntu/ precise/main mariadb-client-core-55 i386
5.5.28-mariadb-a1~precise [1,797 kB]
Get: 6 http://ftp.osuosl.org/pub/mariadb/repo/5.5/ubuntu/ precise/main mariadb-client-5.5 i386
5.5.28-mariadb-a1~precise [5,097 kB]
Get: 7 http://ftp.osuosl.org/pub/mariadb/repo/5.5/ubuntu/ precise/main mariadb-server-core-55 i386
5.5.28-mariadb-a1~precise [5,113 kB]
Get: 8 http://ftp.osuosl.org/pub/mariadb/repo/5.5/ubuntu/ precise/main mariadb-server-5.5 i386
5.5.28-mariadb-a1~precise [18.0 MB]
Fetched 30.9 MB in 30s (1,020
kB/s)
Preconfiguring packages ...
dpkg: warning: downgrading mysql-common
from 5.5.29-0ubuntu0.12.04.1 to 5.5.28-mariadb-a1~precise.
(Reading database
... 61332 files and directories currently installed.)
Preparing to replace
mysql-common 5.5.29-0ubuntu0.12.04.1 (using
.../mysql-common_5.5.28-mariadb-a1~precise_all.deb) ...
Unpacking replacement
mysql-common ...
Selecting previously unselected package
libmariadbclient18.
Unpacking libmariadbclient18 (from
.../libmariadbclient18_5.5.28-mariadb-a1~precise_i386.deb) ....
Selecting
previously unselected package libmysqlclient18.
Unpacking libmysqlclient18
(from .../libmysqlclient18_5.5.28-mariadb-a1~precise_i386.deb) ....
Selecting
previously unselected package libdbd-mysql-perl.
Unpacking libdbd-mysql-perl
(from .../libdbd-mysql-perl_4.020-1build2_i386.deb) ...
Selecting previously
unselected package mariadb-client-core-5.5.
Unpacking mariadb-client-core-5.5
(from .../mariadb-client-core-5.5_5.5.28-mariadb-a1~precise_i386.deb)
...
Selecting previously unselected package mariadb-client-5.5.
Unpacking
mariadb-client-5.5 (from
.../mariadb-client-5.5_5.5.28-mariadb-a1~precise_i386.deb) ....
Selecting
previously unselected package mariadb-server-core-5.5.
Unpacking
mariadb-server-core-5.5 (from
.../mariadb-server-core-5.5_5.5.28-mariadb-a1~precise_i386.deb) ....
Selecting
previously unselected package mariadb-server-5.5.
Unpacking
mariadb-server-5.5 (from
.../mariadb-server-5.5_5.5.28-mariadb-a1~precise_i386.deb) ....
*
Stopping MariaDB database server
mysqld
[ OK ]
Processing triggers for man-db ...
Processing triggers for
ureadahead ...
Setting up mysql-common (5.5.28-mariadb-a1~precise)
...
Configuration file
`/etc/mysql/my.cnf'
==> Modified (by you or by a script) since
installation.
==> Package distributor has shipped an updated
version.
What would you like to do about it ? Your options
are:
Y or I : install the package maintainer's
version
N or O : keep your currently-installed
version
D : show the
differences between the versions
Z : start a shell to examine the situation
The
default action is to keep your current version.
*** my.cnf (Y/I/N/O/D/Z)
[default=N] ? N
Setting up libmysqlclient18 (5.5.28-mariadb-a1~precise)
...
Setting up libdbd-mysql-perl (4.020-1build2) ...
Setting up
libmariadbclient18 (5.5.28-mariadb-a1~precise) ...
Setting up
mariadb-client-core-5.5 (5.5.28-mariadb-a1~precise) ...
Setting up
mariadb-client-5.5 (5.5.28-mariadb-a1~precise) ...
Setting up
mariadb-server-core-5.5 (5.5.28-mariadb-a1~precise) ...
Setting up
mariadb-server-5.5 (5.5.28-mariadb-a1~precise) ...
* Stopping MariaDB
database server
mysqld
[ OK ]
* Starting MariaDB database server
mysqld
[ OK ]
* Checking for corrupt, not cleanly closed and upgrade needing
tables.
Processing triggers for libc-bin ...
ldconfig deferred processing
now taking place
Ubuntu will drag in the new update
dependants
- > mysql-common
[5.5.29-0ubuntu0.12.04.1
(now, precise-security,
precise-updates)
instead of
5.5.28-mariadb-a1~precise (<NULL>)]