Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-507 deb/rpm packages for galera builds
  3. MDEV-3893

mariadb-galera-server deb package cannot be installed on a mysql-free machine

    XMLWordPrintable

Details

    • Technical task
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Fixed
    • None
    • 5.5.28a-galera
    • 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.

      Attachments

        Activity

          People

            holyfoot Alexey Botchkov
            elenst Elena Stepanova
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.