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

Installation issue: There is a MySQL server running, but we failed in our attempts to stop it.

    XMLWordPrintable

Details

    Description

      There is a nasty bug when upgrading to the latest MariaDB 10.1.13 server or reinstalling it on Ubuntu 15.10 X64. I think it's an issue with the installation script.

      The error is:

      Uitpakken van .../mariadb-server-10.1_10.1.13+maria-1~wily_amd64.deb wordt voorbereid...
      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: fout bij verwerken van archief /var/cache/apt/archives/mariadb-server-10.1_10.1.13+maria-1~wily_amd64.deb (--unpack):
       subproces nieuw pre-installation script gaf een foutwaarde 1 terug
      Fouten gevonden tijdens verwerken van:
       /var/cache/apt/archives/mariadb-server-10.1_10.1.13+maria-1~wily_amd64.deb
      E: Sub-process /usr/bin/dpkg returned an error code (1)
      

      Obviously the script thinks mysqld is running, but this is not the case since I even completely removed it after running into this error.
      I've ran killall mysqld as root, which reports the process can't be found.

      Attachments

        Activity

          People

            Unassigned Unassigned
            gijs007 Gijs van der Velden
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.