deb/rpm packages for galera builds (MDEV-507)

[MDEV-3893] mariadb-galera-server deb package cannot be installed on a mysql-free machine Created: 2012-11-29  Updated: 2012-11-30  Resolved: 2012-11-30

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

Type: Technical task Priority: Critical
Reporter: Elena Stepanova Assignee: Alexey Botchkov
Resolution: Fixed Votes: 0
Labels: None
Environment:

Debian Squeeze 64-bit clean VM


Issue Links:
Relates

 Description   

I am trying to install packages from http://hasky.askmonty.org/archive/pack/5.5-hf/build-2791/kvm-deb-debian6-amd64/debs/binary/ on a fresh VM with Debian Squeeze and am getting the following error:

Unpacking mariadb-galera-server-5.5 (from .../mariadb-galera-server-5.5_5.5.28-mariadb1~squeeze_amd64.deb) ...
dpkg: error processing Downloads/repo-galera/binary/mariadb-galera-server-5.5_5.5.28-mariadb1~squeeze_amd64.deb (--unpack):
 subprocess new pre-installation script returned error exit status 10
configured to not write apport reports
                                      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.28-mariadb1~squeeze_all.deb) ...
Processing triggers for man-db ...
Errors were encountered while processing:
 Downloads/repo-galera/binary/mariadb-galera-server-5.5_5.5.28-mariadb1~squeeze_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

On the same machine, the standard mariadb-server installs normally. After mariadb-server was installed, installation of mariadb-galera-server also works.

As Kristian found out, it is somehow related to requesting a root password for the newly installed server, and buildbot does not show the problem because it uses a trick for unattended installation, see https://kb.askmonty.org/en/buildbot-setup-for-virtual-machines-general-principles/#myseed .

To reproduce,

  • create a new VM machine, do not install mysql or mariadb or special buildbot tools;
  • try to install mariadb-galera-server from a local repository.


 Comments   
Comment by Elena Stepanova [ 2012-11-29 ]

On behalf of Kristian:

<quote>

As far as I could determine, the problem is that this script:

debian/mariadb-galera-server-5.5.config

fails during --unpack with exit code 10.

Maybe there is some pre-depends: dependency missing, but it's just a guess, I suspect the whole set of dependencies need to be looked through properly.

</quote>

Generated at Thu Feb 08 06:52:05 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.