Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-8457

preset root password with debconf maybe fails in some situations

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Not a Bug
    • 10.0.16, 10.0.20, 10.1(EOL)
    • N/A
    • Packaging, Platform Debian
    • None
    • Vagrant - "clean" Debian Jessie - Install from Debian repo or from MariaDB repo

    Description

      Hi MariaDB team,

      I have some problems to install MariaDB 10.0 on Debian Jessie. Silent install fails (with preset root password with debconf). I have the same bug from Debian repo (10.0.16) and from MariaDB repo (10.0.20).

      I have no problem with MariaDB 10.0.20 on Debian Wheezy.

      root@jessie-amd64:/home/vagrant# dpkg -l | egrep '(mysql|mariadb)' | wc -l
      0
      root@jessie-amd64:/home/vagrant# echo 'mariadb-server-10.0 mysql-server/root_password password azerty123' | debconf-set-selections
      root@jessie-amd64:/home/vagrant# echo 'mariadb-server-10.0 mysql-server/root_password_again password azerty123' | debconf-set-selections
      root@jessie-amd64:/home/vagrant# apt-get install mariadb-server
      Reading package lists... Done
      Building dependency tree       
      Reading state information... Done
      The following extra packages will be installed:
        libdbd-mysql-perl libmariadbclient18 libmysqlclient18 mariadb-client-10.0 mariadb-client-core-10.0 mariadb-common mariadb-server-10.0 mariadb-server-core-10.0 mysql-common
      Suggested packages:
        libterm-readkey-perl tinyca mariadb-test
      The following NEW packages will be installed:
        libdbd-mysql-perl libmariadbclient18 libmysqlclient18 mariadb-client-10.0 mariadb-client-core-10.0 mariadb-common mariadb-server mariadb-server-10.0 mariadb-server-core-10.0 mysql-common
      0 upgraded, 10 newly installed, 0 to remove and 48 not upgraded.
      Need to get 0 B/12.7 MB of archives.
      After this operation, 133 MB of additional disk space will be used.
      Do you want to continue? [Y/n] y
      Preconfiguring packages ...
      Selecting previously unselected package mysql-common.
      (Reading database ... 37199 files and directories currently installed.)
      Preparing to unpack .../mysql-common_10.0.20+maria-1~jessie_all.deb ...
      Unpacking mysql-common (10.0.20+maria-1~jessie) ...
      Selecting previously unselected package mariadb-common.
      Preparing to unpack .../mariadb-common_10.0.20+maria-1~jessie_all.deb ...
      Unpacking mariadb-common (10.0.20+maria-1~jessie) ...
      Selecting previously unselected package libmariadbclient18.
      Preparing to unpack .../libmariadbclient18_10.0.20+maria-1~jessie_amd64.deb ...
      Unpacking libmariadbclient18 (10.0.20+maria-1~jessie) ...
      Selecting previously unselected package libmysqlclient18.
      Preparing to unpack .../libmysqlclient18_10.0.20+maria-1~jessie_amd64.deb ...
      Unpacking libmysqlclient18 (10.0.20+maria-1~jessie) ...
      Selecting previously unselected package libdbd-mysql-perl.
      Preparing to unpack .../libdbd-mysql-perl_4.028-2+b1_amd64.deb ...
      Unpacking libdbd-mysql-perl (4.028-2+b1) ...
      Selecting previously unselected package mariadb-client-core-10.0.
      Preparing to unpack .../mariadb-client-core-10.0_10.0.20+maria-1~jessie_amd64.deb ...
      Unpacking mariadb-client-core-10.0 (10.0.20+maria-1~jessie) ...
      Selecting previously unselected package mariadb-client-10.0.
      Preparing to unpack .../mariadb-client-10.0_10.0.20+maria-1~jessie_amd64.deb ...
      Unpacking mariadb-client-10.0 (10.0.20+maria-1~jessie) ...
      Selecting previously unselected package mariadb-server-core-10.0.
      Preparing to unpack .../mariadb-server-core-10.0_10.0.20+maria-1~jessie_amd64.deb ...
      Unpacking mariadb-server-core-10.0 (10.0.20+maria-1~jessie) ...
      Processing triggers for man-db (2.7.0.2-5) ...
      Setting up mysql-common (10.0.20+maria-1~jessie) ...
      Setting up mariadb-common (10.0.20+maria-1~jessie) ...
      Selecting previously unselected package mariadb-server-10.0.
      (Reading database ... 37386 files and directories currently installed.)
      Preparing to unpack .../mariadb-server-10.0_10.0.20+maria-1~jessie_amd64.deb ...
      Unpacking mariadb-server-10.0 (10.0.20+maria-1~jessie) ...
      Selecting previously unselected package mariadb-server.
      Preparing to unpack .../mariadb-server_10.0.20+maria-1~jessie_all.deb ...
      Unpacking mariadb-server (10.0.20+maria-1~jessie) ...
      Processing triggers for systemd (215-17) ...
      Processing triggers for man-db (2.7.0.2-5) ...
      Setting up libmysqlclient18 (10.0.20+maria-1~jessie) ...
      Setting up libdbd-mysql-perl (4.028-2+b1) ...
      Setting up libmariadbclient18 (10.0.20+maria-1~jessie) ...
      Setting up mariadb-client-core-10.0 (10.0.20+maria-1~jessie) ...
      Setting up mariadb-client-10.0 (10.0.20+maria-1~jessie) ...
      Setting up mariadb-server-core-10.0 (10.0.20+maria-1~jessie) ...
      Setting up mariadb-server-10.0 (10.0.20+maria-1~jessie) ...
      dpkg: error processing package mariadb-server-10.0 (--configure):
       subprocess installed post-installation script returned error exit status 1
      dpkg: dependency problems prevent configuration of mariadb-server:
       mariadb-server depends on mariadb-server-10.0 (= 10.0.20+maria-1~jessie); however:
        Package mariadb-server-10.0 is not configured yet.
       
      dpkg: error processing package mariadb-server (--configure):
       dependency problems - leaving unconfigured
      Processing triggers for libc-bin (2.19-18) ...
      Processing triggers for systemd (215-17) ...
      Errors were encountered while processing:
       mariadb-server-10.0
       mariadb-server
      E: Sub-process /usr/bin/dpkg returned an error code (1)

      Cheers,

      hanx

      Attachments

        Issue Links

          Activity

            People

              otto Otto Kekäläinen
              hanx Emilien Mantel
              Votes:
              0 Vote for this issue
              Watchers:
              7 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.