Comments - Installing MariaDB .deb Files

10 years, 4 months ago Holger K

@rulatir and @m1d1: On 64-bit Ubuntu 13.10 Saucy, when upgrading from MySQL 5.5.34 to MariaDB 5.5.34 using the standard GUI Ubuntu Software Updater on a desktop machine, I also encountered "libmysqlclient18:amd64 5.5.34+maria-1~saucy (Multi-Arch: no) is not co-installable with libmysqlclient18 which has multiple installed instances ".

The automated install left me with this and refused to complete:

$ dpkg -l libmaria* libmysqlclient*

Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-==================================-======================-======================-=============================== iU libmariadbclient18 5.5.34+maria-1saucy amd64 MariaDB database client library ii libmysqlclient18:amd64 5.5.34-0ubuntu0.13.10. amd64 MySQL database client library rc libmysqlclient18:i386 5.5.34-0ubuntu0.13.10. i386 MySQL database client library

The problem is that libmysqlclient18:i386 was not fully removed by the automated install. Rather than "messing" with /var/lib/dpkg/status, my solution was:

  • fully remove libmariadbclient18 (because it depends on libmysqlclient18), i.e. apt-get --purge remove libmariadbclient18
  • fully remove libmysqlclient18:i386, i.e. apt-get --purge remove libmysqlclient18:i386
  • proceed with the automated Software Update installation (or install libmariadbclient18 and libmysqlclient18 5.5.34+maria-1saucy from the terminal)

You should now see that the install has completed, like this:

$ dpkg -l libmaria* libmysqlclient*

Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-==================================-======================-======================-=========================================== ii libmariadbclient18 5.5.34+maria-1saucy amd64 MariaDB database client library ii libmysqlclient18 5.5.34+maria-1saucy amd64 Virtual package to satisfy external depends

Neither "Holding Packages" nor "Pinning MariaDB" was required. (I hope this saves someone a few hours debugging this issue.)

 
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.