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

    Details

    • Type: Technical task
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.5.28a-galera
    • Component/s: None
    • Labels:
      None
    • Environment:
      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.

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            elenst Elena Stepanova added a comment -

            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>

            Show
            elenst Elena Stepanova added a comment - 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>

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 4 hours
                  1d 4h