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

After updating mariadb server apt-configure fails

Details

    • 10.1.13

    Description

      After apt-upgrade mariadb, apt shows a fail trying to start but in fact the database is up and running and that provokes apt to remain in a non finished state.

      Every time I do apt-upgrade it tries to stop and start the database with the same result

      # apt-get upgrade
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      Calculating upgrade... Done
      0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
      2 not fully installed or removed.
      After this operation, 0 B of additional disk space will be used.
      Do you want to continue? [Y/n]
      Setting up mariadb-server-10.1 (10.1.10+maria-1~trusty) ...
       * Stopping MariaDB database server mysqld
         ...done.
       * Starting MariaDB database server mysqld
         ...fail!
      invoke-rc.d: initscript mysql, action "start" failed.
      dpkg: error processing package mariadb-server-10.1 (--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.1 (= 10.1.10+maria-1~trusty); however:
        Package mariadb-server-10.1 is not configured yet.
       
      dpkg: error processing package mariadb-server (--configure):
       dependency problems - leaving unconfigured
      No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                                Errors were encountered while processing:
       mariadb-server-10.1
       mariadb-server
      E: Sub-process /usr/bin/dpkg returned an error code (1)

      Attachments

        1. cluster.cnf
          0.7 kB
        2. my.cnf
          4 kB
        3. syslog.log
          26 kB

        Issue Links

          Activity

            nirbhay_c Nirbhay Choubey (Inactive) added a comment - http://lists.askmonty.org/pipermail/commits/2016-March/009068.html
            nirbhay_c Nirbhay Choubey (Inactive) added a comment - http://lists.askmonty.org/pipermail/commits/2016-March/009117.html

            greenman Could you please suggest me a KB page to document this change?

            nirbhay_c Nirbhay Choubey (Inactive) added a comment - greenman Could you please suggest me a KB page to document this change?
            greenman Ian Gilfillan added a comment -

            nirbhay_c I have created an article under Debian/Ubuntu installation issues at https://mariadb.com/kb/en/mariadb/apt-upgrade-fails-but-the-database-is-running/ based on this report. Feel free to enhance if needs be.

            greenman Ian Gilfillan added a comment - nirbhay_c I have created an article under Debian/Ubuntu installation issues at https://mariadb.com/kb/en/mariadb/apt-upgrade-fails-but-the-database-is-running/ based on this report. Feel free to enhance if needs be.

            greenman I have updated it a bit. Thank you.

            nirbhay_c Nirbhay Choubey (Inactive) added a comment - greenman I have updated it a bit. Thank you.

            People

              nirbhay_c Nirbhay Choubey (Inactive)
              jorfermo Jorge Ferrando
              Votes:
              0 Vote for this issue
              Watchers:
              5 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.