[MDEV-11979] Upgrade from Debian's to MariaDB's 10.1 packages fails Created: 2017-02-02 Updated: 2020-04-23 Resolved: 2020-04-23 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Packaging, Platform Debian |
| Affects Version/s: | 10.1 |
| Fix Version/s: | 10.5.3 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Elena Stepanova | Assignee: | Otto Kekäläinen |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Debian testing (stretch) x86_64 |
||
| Attachments: |
|
||||||||||||||||||||
| Issue Links: |
|
||||||||||||||||||||
| Sub-Tasks: |
|
||||||||||||||||||||
| Description |
The attempt fails with the error:
|
| Comments |
| Comment by Otto Kekäläinen [ 2017-02-02 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
There is no sensible fix for this.You cannot mix two different repos that provide the same package. If you want to run MariaDB 10.1 in Debian 9, you can use the ones from the Debian's own repo. There is no need to use 10.1 from the MariaDB.org repos. If you for some reason really want to do so, then use apt pinning to make sure that all of your MariaDB packages are installed from MariaDB.org. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2017-02-02 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
otto, It's the scenario that you requested in your matrix stretch / test_4: MariaDB 10.1** → 10.1. We already discussed this failure earlier. I guess you didn't recognize it because in the example both versions just happen to be the same 10.1.21 (because Debian and MariaDB repos at the moment contain the same version, and I wanted to avoid dealing with local packages just for the sake of filing the report, as it's rather time-consuming). But here is the exact replica of the scenario that we discussed – upgrade/dist-upgrade from Debian's MariaDB 10.1.21 to MariaDB's MariaDB 10.1.22:
You looked into it and said that it's a packaging problem:
Do you want to remove 10.1=>10.1 scenario from the matrix? | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Otto Kekäläinen [ 2017-02-03 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
We can have this in the testing matrix and it is fixable, but I'd advice actual users out there not to attempt it, as it makes little sense to have a mariadb.org repo with 10.1 available in parallel to 10.1 from Debian/Ubuntu as the packages might mix and misbehave. Upgrade to 10.2 is the actual use case that is relevant. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2017-02-07 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
In this case, I'm leaving it open for informational purposes, but lowering the priority and switching off the test in buildbot for now. We can re-enable it later if we decide it makes sense. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Otto Kekäläinen [ 2020-04-14 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
We have now extended testing for these types of scenarios when https://github.com/MariaDB/server/pull/1498 is merged. ..and it eventually comes almost fully green when the all currently open PR's agains 10.5 are merged: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Otto Kekäläinen [ 2020-04-23 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
I don't plan to do any changes to the 10.1 packaging, but in general the upgrade path from Debian.org MariaDB to MariaDB.org MariaDB is now being tested at least occasionally thanks to |