Uploaded image for project: 'MariaDB ColumnStore'
  1. MariaDB ColumnStore
  2. MCOL-4616

Uninstall may fail if MariaDB is uninstalled first

    XMLWordPrintable

Details

    • Task
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 6.1.1
    • Icebox
    • installation
    • None
    • Ubuntu, Debian

    Description

      apt remove <columnstore pkg> will fail if MariaDB is already removed
      In mariadb-plugin-columnstore.postrm, we find

      # Automatically restart MariaDB after ColumnStore plugin has been removed
      case "$1" in
        purge|remove|disappear)
          if [ -d /run/systemd/system ]; then
            # If systemd
            deb-systemd-invoke restart mariadb.service >/dev/null
          elif [ -x "/etc/init.d/mariadb" ]; then
            # Fall-back to SysV init
            invoke-rc.d mariadb restart || exit $?
          fi
        ;;
      esac
      

      If MariaDB is not functional, this fails and apt remove is aborted, making it impossible to remove the package

      Attachments

        Activity

          People

            Unassigned Unassigned
            David.Hall David Hall (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.