Details
Description
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).
Gliffy Diagrams
Attachments
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions
There is a whole section about this bug on the KB at the "Installing MariaDB .deb Files" page : https://mariadb.com/kb/en/mariadb/documentation/getting-started/binary-packages/installing-mariadb-deb-files/#upgrading-mariadb-server-and-mariadb-client-packages
Just to be 100% sure, is it ok to remove the section of the doc as the bug is closed and it shouldnt happen anymore?