Details
-
Technical task
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
None
-
None
-
None
-
Debian Squeeze 64-bit clean VM
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.