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

dist-upgrade from 10.1 to 10.2 fails

    XMLWordPrintable

Details

    • 10.2.2-2, 10.2.4-1

    Description

      Preparing to unpack .../mariadb-server-10.2_10.2.1+maria-1~jessie_amd64.deb ...
      Failed to stop mysql.service: Unit mysql.service not loaded.                                                                                                          
      invoke-rc.d: initscript mysql, action "stop" failed.
      invoke-rc.d returned 5
      There is a MySQL server running, but we failed in our attempts to stop it.
      Stop it yourself and try again!
      dpkg: error processing archive /var/cache/apt/archives/mariadb-server-10.2_10.2.1+maria-1~jessie_amd64.deb (--unpack):
       subprocess new pre-installation script returned error exit status 1
      Errors were encountered while processing:
       /var/cache/apt/archives/mariadb-server-10.2_10.2.1+maria-1~jessie_amd64.deb
      E: Sub-process /usr/bin/dpkg returned an error code (1)
      

      I'm not even sure that major upgrade (10.0=>10.1, 10.1=>10.2 and such) is supposed to happen upon dist-upgrade, I would prefer it not to, but it does now.
      It works for 10.0=>10.1, at least on Jessie, but fails for 10.1=>10.2, I guess it has something to do with systemd.

      Attachments

        Activity

          People

            otto Otto Kekäläinen
            elenst Elena Stepanova
            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.