[MDEV-5837] Installing MariaDB Galera Cluster 5.5.36 fails on Debian 6 Squeeze Created: 2014-03-12  Updated: 2014-03-24  Resolved: 2014-03-24

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: 5.5.36-galera
Fix Version/s: 5.5.37-galera

Type: Bug Priority: Major
Reporter: Daniel Bartholomew Assignee: Nirbhay Choubey (Inactive)
Resolution: Fixed Votes: 1
Labels: None


 Description   

Output from apt:

buildbot@debian:~$ sudo apt-get install mariadb-galera-server
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libisccfg60 libapt-pkg-perl make
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  galera libdbd-mysql-perl libdbi-perl libhtml-template-perl libmariadbclient18 libmysqlclient16 libmysqlclient18 libnet-daemon-perl libplrpc-perl mariadb-client-5.5
  mariadb-client-core-5.5 mariadb-common mariadb-galera-server-5.5 mariadb-server-core-5.5 mysql-common
Suggested packages:
  libipc-sharedcache-perl tinyca mariadb-test
The following NEW packages will be installed:
  galera libdbd-mysql-perl libdbi-perl libhtml-template-perl libmariadbclient18 libmysqlclient16 libmysqlclient18 libnet-daemon-perl libplrpc-perl mariadb-client-5.5
  mariadb-client-core-5.5 mariadb-common mariadb-galera-server mariadb-galera-server-5.5 mariadb-server-core-5.5 mysql-common
0 upgraded, 16 newly installed, 0 to remove and 69 not upgraded.
Need to get 41.6 MB of archives.
After this operation, 135 MB of additional disk space will be used.
Do you want to continue [Y/n]? 
Get:1 http://ftp.osuosl.org/pub/mariadb/repo/5.5/debian/ squeeze/main mysql-common all 5.5.36+maria-1~squeeze [8,812 B]
Get:2 http://ftp.osuosl.org/pub/mariadb/repo/5.5/debian/ squeeze/main mariadb-common all 5.5.36+maria-1~squeeze [3,274 B]
Get:3 http://ftp.osuosl.org/pub/mariadb/repo/5.5/debian/ squeeze/main libmysqlclient18 amd64 5.5.36+maria-1~squeeze [2,944 B]
Get:4 http://ftp.dk.debian.org/debian/ squeeze/main libnet-daemon-perl all 0.43-1 [46.6 kB]
Get:5 http://ftp.osuosl.org/pub/mariadb/repo/5.5/debian/ squeeze/main libmariadbclient18 amd64 5.5.36+maria-1~squeeze [825 kB]
Get:6 http://ftp.dk.debian.org/debian/ squeeze/main libplrpc-perl all 0.2020-2 [36.0 kB]
Get:7 http://ftp.dk.debian.org/debian/ squeeze/main libdbi-perl amd64 1.612-1 [883 kB]
Get:8 http://ftp.osuosl.org/pub/mariadb/repo/5.5/debian/ squeeze/main mariadb-client-core-5.5 amd64 5.5.36+maria-1~squeeze [1,806 kB]
Get:9 http://ftp.osuosl.org/pub/mariadb/repo/5.5/debian/ squeeze/main mariadb-client-5.5 amd64 5.5.36+maria-1~squeeze [5,080 kB]
Get:10 http://ftp.dk.debian.org/debian/ squeeze/main libmysqlclient16 amd64 5.1.73-1 [1,971 kB]
Get:11 http://ftp.osuosl.org/pub/mariadb/repo/5.5/debian/ squeeze/main mariadb-server-core-5.5 amd64 5.5.36+maria-1~squeeze [5,265 kB]
Get:12 http://ftp.dk.debian.org/debian/ squeeze/main libdbd-mysql-perl amd64 4.016-1 [140 kB]                                                                                   
Get:13 http://ftp.osuosl.org/pub/mariadb/repo/5.5/debian/ squeeze/main galera amd64 25.3.2-squeeze [1,559 kB]                                                                   
Get:14 http://ftp.dk.debian.org/debian/ squeeze/main libhtml-template-perl all 2.9-2 [65.9 kB]                                                                                  
Get:15 http://ftp.osuosl.org/pub/mariadb/repo/5.5/debian/ squeeze/main mariadb-galera-server-5.5 amd64 5.5.36+maria-1~squeeze [23.9 MB]                                         
Get:16 http://ftp.osuosl.org/pub/mariadb/repo/5.5/debian/ squeeze/main mariadb-galera-server all 5.5.36+maria-1~squeeze [3,006 B]                                               
Fetched 41.6 MB in 28s (1,469 kB/s)                                                                                                                                             
Preconfiguring packages ...
Selecting previously deselected package mysql-common.
(Reading database ... 26397 files and directories currently installed.)
Unpacking mysql-common (from .../mysql-common_5.5.36+maria-1~squeeze_all.deb) ...
Selecting previously deselected package mariadb-common.
Unpacking mariadb-common (from .../mariadb-common_5.5.36+maria-1~squeeze_all.deb) ...
Selecting previously deselected package libnet-daemon-perl.
Unpacking libnet-daemon-perl (from .../libnet-daemon-perl_0.43-1_all.deb) ...
Selecting previously deselected package libplrpc-perl.
Unpacking libplrpc-perl (from .../libplrpc-perl_0.2020-2_all.deb) ...
Selecting previously deselected package libdbi-perl.
Unpacking libdbi-perl (from .../libdbi-perl_1.612-1_amd64.deb) ...
Selecting previously deselected package libmysqlclient16.
Unpacking libmysqlclient16 (from .../libmysqlclient16_5.1.73-1_amd64.deb) ...
Selecting previously deselected package libdbd-mysql-perl.
Unpacking libdbd-mysql-perl (from .../libdbd-mysql-perl_4.016-1_amd64.deb) ...
Selecting previously deselected package libmysqlclient18.
Unpacking libmysqlclient18 (from .../libmysqlclient18_5.5.36+maria-1~squeeze_amd64.deb) ...
Selecting previously deselected package libmariadbclient18.
Unpacking libmariadbclient18 (from .../libmariadbclient18_5.5.36+maria-1~squeeze_amd64.deb) ...
Selecting previously deselected package mariadb-client-core-5.5.
Unpacking mariadb-client-core-5.5 (from .../mariadb-client-core-5.5_5.5.36+maria-1~squeeze_amd64.deb) ...
Selecting previously deselected package mariadb-client-5.5.
Unpacking mariadb-client-5.5 (from .../mariadb-client-5.5_5.5.36+maria-1~squeeze_amd64.deb) ...
Selecting previously deselected package mariadb-server-core-5.5.
Unpacking mariadb-server-core-5.5 (from .../mariadb-server-core-5.5_5.5.36+maria-1~squeeze_amd64.deb) ...
Selecting previously deselected package galera.
Unpacking galera (from .../galera_25.3.2-squeeze_amd64.deb) ...
Processing triggers for man-db ...
Setting up mysql-common (5.5.36+maria-1~squeeze) ...
Setting up mariadb-common (5.5.36+maria-1~squeeze) ...
Selecting previously deselected package mariadb-galera-server-5.5.
(Reading database ... 26789 files and directories currently installed.)
Unpacking mariadb-galera-server-5.5 (from .../mariadb-galera-server-5.5_5.5.36+maria-1~squeeze_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/mariadb-galera-server-5.5_5.5.36+maria-1~squeeze_amd64.deb (--unpack):
 trying to overwrite '/usr/share/mysql/dutch/errmsg.sys', which is also in package mariadb-server-core-5.5 5.5.36+maria-1~squeeze
configured to not write apport reports
                                      dpkg-deb: subprocess paste killed by signal (Broken pipe)
Selecting previously deselected package libhtml-template-perl.
Unpacking libhtml-template-perl (from .../libhtml-template-perl_2.9-2_all.deb) ...
Selecting previously deselected package mariadb-galera-server.
Unpacking mariadb-galera-server (from .../mariadb-galera-server_5.5.36+maria-1~squeeze_all.deb) ...
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/mariadb-galera-server-5.5_5.5.36+maria-1~squeeze_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

From the above the mariadb-galera-server-5.5 package conflicts with the mariadb-server-core-5.5 package, but both are trying to be installed. So either there's a dependency issue where a package is pulling in mariadb-server-core-5.5 when it doesn't need to or mariadb-galera-server-5.5 contains files that it shouldn't.



 Comments   
Comment by Daniel Bartholomew [ 2014-03-12 ]

I can also confirm that Debian Wheezy is affected by this.

I haven't tested Ubuntu versions, but my guess is they are affected as well.

Comment by Elena Stepanova [ 2014-03-12 ]

See also https://mariadb.atlassian.net/browse/MDEV-5832

Comment by Daniel Bartholomew [ 2014-03-12 ]

I've reverted the Debian and Ubuntu repos back to MariaDB 5.5.36 w/ MGC 5.5.35.

Comment by Philipp Kraut [ 2014-03-14 ]

I can confirm this on debian 7 (wheezy).

Comment by Nirbhay Choubey (Inactive) [ 2014-03-24 ]

Fix for this issue has been pushed to maria-5.5-galera.

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