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

Malformed package in Ubuntu 22 Repository Fails to Install

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Cannot Reproduce
    • 10.6
    • N/A
    • Packaging
    • None
    • Ubuntu 22.04.3 LTS

    Description

      The mariadb-server package currently at the Ubuntu 22 repository is malformed such that installation immediately fails with the following error message:

      root@[hostname]:/# apt install mariadb-server
      Reading package lists... Done
      Building dependency tree... Done
      Reading state information... Done
      The following additional packages will be installed:
        mariadb-server-10.6
      Suggested packages:
        mailx mariadb-test
      The following NEW packages will be installed:
        mariadb-server mariadb-server-10.6
      0 upgraded, 2 newly installed, 0 to remove and 2 not upgraded.
      5 not fully installed or removed.
      Need to get 0 B/4,093 kB of archives.
      After this operation, 67.5 MB of additional disk space will be used.
      Do you want to continue? [Y/n] y
      Preconfiguring packages ...
      Setting up mariadb-common (1:10.6.12-0ubuntu0.22.04.1) ...
      update-alternatives: error: alternative path /etc/mysql/mariadb.cnf doesn't exist
      dpkg: error processing package mariadb-common (--configure):
       installed mariadb-common package post-installation script subprocess returned error exit status 2
      Errors were encountered while processing:
       mariadb-common
      E: Sub-process /usr/bin/dpkg returned an error code (1)
      

      This is a clean system, with no mariadb or mysql packages installed.

      root@[hostname]:/# apt list --installed | grep mysql
      WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
      root@[hostname]:/# apt list --installed | grep maria
      WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
      

      Expected behavior:
      Package should install.

      Attachments

        Activity

          People

            faust Faustin Lammler
            DavidHillman David Hillman
            Votes:
            0 Vote for this issue
            Watchers:
            4 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.