Comments - Installing MariaDB .deb Files

10 years, 10 months ago Szczepan Hołyszewski

In Kubuntu raring (sorry, I couldn't figure out how to post preformatted text, so every line of the output is in separate paragraph):

----------------------------------

$ LANG=C sudo apt-get install mariadb-server-5.5 mariadb-client-5.5 libmysqlclient18=5.5.31+maria-1raring mysql-common=5.5.31+maria-1raring

Reading package lists... Done

Building dependency tree

Reading state information... Done

mariadb-client-5.5 is already the newest version.

mysql-common is already the newest version.

Suggested packages:

tinyca mailx mariadb-test

Recommended packages:

libhtml-template-perl

The following NEW packages will be installed:

mariadb-server-5.5

The following packages will be upgraded:

libmysqlclient18

1 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.

10 not fully installed or removed.

Need to get 0 B/17.9 MB of archives.

After this operation, 59.4 MB of additional disk space will be used.

Do you want to continue [Y/n]?

Preconfiguring packages ...

dpkg: error processing /var/cache/apt/archives/libmysqlclient18_5.5.31+maria-1raring_amd64.deb (--unpack):

libmysqlclient18:amd64 5.5.31+maria-1raring (Multi-Arch: no) is not co-installable with libmysqlclient18 which has multiple installed instances

Errors were encountered while processing:

/var/cache/apt/archives/libmysqlclient18_5.5.31+maria-1raring_amd64.deb

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

---------------------------------------------

What should I try next?

 
10 years, 9 months ago Michael Dinkelaker

@rulatir:

Kubuntu solution edit: /var/lib/dpkg/status (make backup copy from status file first!) search and delete "Package: libmysqlclient18" block until including "Original-Maintainer: ..."

you might find this package entry block twice, remove 'em both.

install deb package without problems now sudo dpkg -i libmariadbclient18_?.?.?+maria-1raring_amd64.deb

 
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.