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

Server upgrade via apt-get install does not work



    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 5.5.30
    • 5.5.31
    • None
    • deb-based


      If server of a version X (e.g. 5.5.29) is already installed, an attempt to install server version X+1 (5.5.30 in this case) does not fail, but does not work either:

      $ sudo apt-get install mariadb-server mariadb-client
      Reading package lists... Done
      Building dependency tree       
      Reading state information... Done
      The following packages will be upgraded:
        mariadb-client mariadb-server
      2 upgraded, 0 newly installed, 0 to remove and 62 not upgraded.
      Need to get 5,810 B of archives.
      After this operation, 0 B of additional disk space will be used.
      Get:1 http://ftp.osuosl.org/pub/mariadb/repo/5.5.30/debian/ squeeze/main mariadb-client all 5.5.30-mariadb1~squeeze [2,840 B]
      Get:2 http://ftp.osuosl.org/pub/mariadb/repo/5.5.30/debian/ squeeze/main mariadb-server all 5.5.30-mariadb1~squeeze [2,970 B]
      Fetched 5,810 B in 1s (5,604 B/s)    
      Reading changelogs... Done
      (Reading database ... 133621 files and directories currently installed.)
      Preparing to replace mariadb-client 5.5.29-mariadb1~squeeze (using .../mariadb-client_5.5.30-mariadb1~squeeze_all.deb) ...
      Unpacking replacement mariadb-client ...
      Preparing to replace mariadb-server 5.5.29-mariadb1~squeeze (using .../mariadb-server_5.5.30-mariadb1~squeeze_all.deb) ...
      Unpacking replacement mariadb-server ...
      Setting up mariadb-client (5.5.30-mariadb1~squeeze) ...
      Setting up mariadb-server (5.5.30-mariadb1~squeeze) ...
      $ /usr/sbin/mysqld --version
      /usr/sbin/mysqld  Ver 5.5.29-MariaDB-mariadb1~squeeze-log for debian-linux-gnu on x86_64 (mariadb.org binary distribution)

      A workaround is to run apt-get install mariadb-server-5.5

      As Daniel found out, the issue is with the mariadb-server deb package, it has "Depends: mariadb-server-5.5" but there's no version, so any version of the mariadb-server-5.5 package is satisfying the dependency (in our case, version 5.5.29).




            holyfoot Alexey Botchkov
            elenst Elena Stepanova
            0 Vote for this issue
            4 Start watching this issue



              Git Integration

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