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

After updating mariadb server apt-configure fails

    XMLWordPrintable

    Details

    • Sprint:
      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

              People

              Assignee:
              nirbhay_c Nirbhay Choubey (Inactive)
              Reporter:
              jorfermo Jorge Ferrando
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: