[MDEV-5048] Debian-Wheezy packaging is still broken 5.5.33a on 21st Sept Created: 2013-09-21  Updated: 2013-10-01  Resolved: 2013-10-01

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: 5.5.33a
Fix Version/s: 5.5.33a-galera

Type: Bug Priority: Major
Reporter: Jeff Armstrong Assignee: Elena Stepanova
Resolution: Fixed Votes: 0
Labels: packaging
Environment:

Debian-wheezy



 Description   

Apt packaging is still broken as at 21 Sept:

> apt-get update

>apt-get install libmariadbclient18

libmariadbclient18 : Depends: libmysqlclient18 (= 5.5.33a+maria-1~wheezy) but 5.5.33-rel31.1-566.wheezy is to be installed

>apt-get install libmysqlclient18

The following packages will be REMOVED:
libmariadbclient18 mariadb-client-5.5 mariadb-client-core-5.5 mariadb-galera-server mariadb-galera-server-5.5 mysql-client



 Comments   
Comment by Elena Stepanova [ 2013-09-21 ]

Hi Jeff,

for the first conflict, it might be one of those introduced by a previous faulty upgrade. Could you please run
dpkg -l | grep -i maria
and
dpkg -l | grep -i mysql
and paste the output?

There are some steps to fix broken dependencies if you have them, depending on what you have, we'll see what needs to be done.

But even after that, you can't install the new libmariadbclient18 just yet, if you have mariadb-galera-server 5.5.32 (which you apparently do). Your system upgrade will work normally, but it will keep back libmariadbclient18 and libmysqlclient18 on the versions compatible with mariadb-galera-server until the new galera release is out.

Comment by Jeff Armstrong [ 2013-09-21 ]

Sure: (apologies - don't know the <pre> or <code>markup for this system)
ii libmariadbclient18 5.5.32+maria-1~wheezy amd64 MariaDB database client library
ii libmysqlclient18 5.5.32+maria-1~wheezy amd64 Virtual package to satisfy external depends
ii mariadb-client-5.5 5.5.32+maria-1~wheezy amd64 MariaDB database client binaries
ii mariadb-client-core-5.5 5.5.32+maria-1~wheezy amd64 MariaDB database core client binaries
ii mariadb-common 5.5.33a+maria-1~wheezy all MariaDB database common files (e.g. /etc/mysql/conf.d/mariadb.cnf)
ii mariadb-galera-server 5.5.32+maria-1~wheezy all MariaDB database server with Galera cluster
ii mariadb-galera-server-5.5 5.5.32+maria-1~wheezy amd64 MariaDB database server with Galera cluster binaries
ii mysql-common 5.5.33a+maria-1~wheezy all MariaDB database common files (e.g. /etc/mysql/my.cnf)
ii libmysqlclient18 5.5.32+maria-1~wheezy amd64 Virtual package to satisfy external depends
ii mariadb-common 5.5.33a+maria-1~wheezy all MariaDB database common files (e.g. /etc/mysql/conf.d/mariadb.cnf)
ii mysql-client 5.5.31+dfsg-0+wheezy1 all MySQL database client (metapackage depending on the latest version)
ii mysql-common 5.5.33a+maria-1~wheezy all MariaDB database common files (e.g. /etc/mysql/my.cnf)

Comment by Elena Stepanova [ 2013-09-21 ]

>> apologies - don't know the <pre> or <code>markup for this system
Not your fault... There is no markup in the comments here

So, from what I see, the packages that are expected to be upgraded got upgraded (mariadb-common and mysql-common). The rest is kept back due to the conflict between the client libraries and the current Galera server. It shouldn't anyhow affect your system. If it does, please let us know.

For the first conflict that you posted, my guess is that 5.5.33-rel31.1-566.wheezy comes from Percona repository – at least I can't figure what else it could be, Wheezy is still on MySQL 5.5.31 (and their packages are named X.Y.Z+dfsg etc.), and ours are named +maria. If you indeed have a Percona repo in your sources.list, you might have conflicts like that in the future. Probably you could use some tricks described in https://mariadb.com/kb/en/installing-mariadb-deb-files/#version-mismatch-between-mariadb-and-ubuntudebian-repositories – it was mainly created to deal with conflicts between MariaDB and MySQL, but it might apply to Percona as well.

But again, even if you resolve the conflict, currently an attempt to apt-get install the newest libmariadbclient18 will prompt for the Galera server removal: the packages can't be installed alongside, and since the user insists on installing the one, the system suggests to remove the other. When you just run apt-get upgrade, without specifying that you really want to install the library, the system skips upgrade of the library and all packages that depend on it, which is why your MariaDB client is still 5.5.32.

Hopefully, it won't be too long till the next version of MariaDB Galera server is out, then your packages will be up to date again.

Does it make sense? Please comment if it doesn't or if you have any further questions.

Comment by Jeff Armstrong [ 2013-09-21 ]

Fab - many thanks. We do indeed have a Percona repo in our sources. We will wait for the maria+galera build to upgrade the server as you suggest.

Comment by Elena Stepanova [ 2013-10-01 ]

Hi Jeff,

mariadb-galera 5.5.33a has been released, did it solve the problem you were observing?

Comment by Elena Stepanova [ 2013-10-01 ]

Closing as fixed since MariaDB-Galera 5.5.33a has been released, please comment if you still have issues installing it

Generated at Thu Feb 08 07:01:15 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.