[MDEV-5031] unable to install libmariadbclient18 from official mariadb repo. Created: 2013-09-18  Updated: 2013-09-19  Resolved: 2013-09-19

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

Type: Bug Priority: Major
Reporter: Stefan Eriksson Assignee: Sergei Golubchik
Resolution: Fixed Votes: 2
Labels: packaging


 Description   

Hi just got notified by a new upgrade and when I updated got this:

trying to overwrite '/usr/lib/mysql/plugin/dialog.so', which is also in package mariadb-galera-server-5.5 5.5.32+maria-1~wheezy

so now I have:

You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 libmariadbclient18 : Depends: libmysqlclient18 (= 5.5.32+maria-1~wheezy) but 5.5.33+maria-1~wheezy is installed
 libmysqlclient18 : Depends: libmariadbclient18 (= 5.5.33+maria-1~wheezy) but 5.5.32+maria-1~wheezy is installed
 mariadb-client-5.5 : Depends: libmariadbclient18 (>= 5.5.33+maria-1~wheezy) but 5.5.32+maria-1~wheezy is installed
 mariadb-client-core-5.5 : Depends: libmariadbclient18 (>= 5.5.33+maria-1~wheezy) but 5.5.32+maria-1~wheezy is installed
E: Unmet dependencies. Try using -f.

When I try to correct the issue I get:

The following extra packages will be installed:
  libmariadbclient18
The following packages will be upgraded:
  libmariadbclient18
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
5 not fully installed or removed.
Need to get 0 B/845 kB of archives.
After this operation, 24.6 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 29113 files and directories currently installed.)
Preparing to replace libmariadbclient18 5.5.32+maria-1~wheezy (using .../libmariadbclient18_5.5.33+maria-1~wheezy_amd64.deb) ...
Unpacking replacement libmariadbclient18 ...
dpkg: error processing /var/cache/apt/archives/libmariadbclient18_5.5.33+maria-1~wheezy_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/mysql/plugin/dialog.so', which is also in package mariadb-galera-server-5.5 5.5.32+maria-1~wheezy
Errors were encountered while processing:
 /var/cache/apt/archives/libmariadbclient18_5.5.33+maria-1~wheezy_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Pretty big bug as something that should always work and never worry an admin that the actual upgrade could be a possible risk.

Command I ran:

Start-Date: 2013-09-18  09:09:10
Commandline: apt-get --assume-yes dist-upgrade
Upgrade: mariadb-client-5.5:amd64 (5.5.32+maria-1~wheezy, 5.5.33+maria-1~wheezy), libmariadbclient18:amd64 (5.5.32+maria-1~wheezy, 5.5.33+maria-1~wheezy), mariadb-common:amd64 (5.5.32+maria-1~wheezy, 5.5.33+maria-1~wheezy), libmysqlclient18:amd64 (5.5.32+maria-1~wheezy, 5.5.33+maria-1~wheezy), mariadb-client-core-5.5:amd64 (5.5.32+maria-1~wheezy, 5.5.33+maria-1~wheezy), mysql-common:amd64 (5.5.32+maria-1~wheezy, 5.5.33+maria-1~wheezy)
Error: Sub-process /usr/bin/dpkg returned an error code (1)
End-Date: 2013-09-18  09:09:11

Thanks



 Comments   
Comment by Sergei Golubchik [ 2013-09-19 ]

pushed in 5.5 and 5.5-galera trees

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