[MDEV-20298] libdbd-mariadb-perl is not installed upon installation of mariadb-server 10.5 on old Ubuntu/Debian distros that don't have it Created: 2019-08-08 Updated: 2020-04-05 Resolved: 2020-04-05 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Packaging, Platform Debian |
| Affects Version/s: | 10.5 |
| Fix Version/s: | 10.5.3 |
| Type: | Bug | Priority: | Major |
| Reporter: | Elena Stepanova | Assignee: | Otto Kekäläinen |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Xenial and more |
||
| Description |
|
Up to and including 10.4, MariaDB installation on deb systems goes like this:
On 10.5, for example on Xenial, it goes like this:
libdbd-mysql-perl is not installed as a dependency, while libdbd-mariadb-perl is only available on some systems, not all that MariaDB currently supports. The change libdbd-mysql-perl => libdbd-mariadb-perl was intentional, but there should be a fallback in case the latter is not available. |
| Comments |
| Comment by Sergei Golubchik [ 2019-08-08 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
I think the Recommended line shoud be libdbd-mariadb-perl | libdbd-mysql-perl (>= 1.2202) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Robert Bindar [ 2019-08-16 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hi elenst, is this currently fixed? I recall I saw briefly a push of yours some days ago about this bug. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2019-08-16 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
My change was to work around the problem in buildbot. I didn't do anything for actual bug fixing. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Robert Bindar [ 2019-08-16 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Got it, many thanks! | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Sergei Golubchik [ 2019-08-21 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
1. I presume you've tested it manually on xenial | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Otto Kekäläinen [ 2020-03-16 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Status for mariadb-client-10.5 as of today:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Otto Kekäläinen [ 2020-03-16 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Depending on the apt settings, the "Recommends" fields is sometimes installed, and sometimes not. On most systems all "Recommends" are usually installed by default. It is not a strict dependency however. It is unclear what to problem is here. To me it looks like everything is behaving as it should. Note that on Ubuntu Focal:
While on Debian Sid (as of today):
So when reporting and defining what the bug/problem is, please be specific on both what the Debian/Ubuntu version is and what MariaDB version is concerned, and what was the concrete result that was unwanted so that the exact same situation can be re-produced and addressed. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2020-03-16 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
otto, I think I was as specific as it gets. Both the description and the environment field mention at least one specific version of Ubuntu, Xenial. I cannot afford checking the whole universe of Debians and especially Ubuntus, I'm not testing them; and even less can I predict what would happen on Ubuntu Focal which wasn't even released by the time the report was filed, or what would happen 7 months in future on Debian Sid which is unstable by nature. For the (un)wanted result, again I don't believe I was in any way unclear. The description says "libdbd-mysql-perl or libdbd-mariadb-perl is not installed upon installation of mariadb-server", this is the unwanted result. The description goes further and demonstrates how it can happen, as well as specifies what the expected behavior would be ("there should be a fallback in case the latter is not available"). Now, I'm not claiming that it still doesn't work – if a bug report stays unattended for over half a year, some information in it is bound to get outdated. The developer's choice is either to handle the reports in due time, or deal with possible discrepancies. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Otto Kekäläinen [ 2020-03-16 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Trying to verify, using always Xenial as environment:
Ok, so the problem here is that libdbd-mariadb-perl is not installed upon installation of mariadb-server 10.5 on old Ubuntu/Debian distros that don't have it. I updated the bug title to reflect this. This is due to debian/control file change in: https://github.com/MariaDB/server/commit/5cc2096f93b7f130b36f8bc0fc43440db9a848e4 Naturally libdbd-mariadb-perl can't install on old distro versions released in 2016, since it didn't exist back then. The change 5cc2096f93b7f130b36f8bc0fc43440db9a848e4 is OK 10.5 and new distro releases, but for backwards compatibility the old value should be kept as an alternative. Solution is to set `Recommends: libdbd-mariadb-perl | libdbd-mysql-perl` for mariadb-client-10.5. This is done in https://github.com/MariaDB/server/pull/1377 (with an added requirement 1.2202 without any explanation why) but with poor documentation. With the new summary line of this bug report the issue is now clear. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Otto Kekäläinen [ 2020-04-05 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Closed via https://github.com/MariaDB/server/pull/1468/commits/6959c0922a6d62e469947eb3e0fec582e754f648 |