[MDEV-16004] Problem with dependency on galera package on Fedora 27 using yum repo Created: 2018-04-24 Updated: 2018-05-18 Resolved: 2018-05-18 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Galera, Packaging |
| Affects Version/s: | 10.3.6 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Critical |
| Reporter: | Karl Levik | Assignee: | Daniel Bartholomew |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
I just upgraded from 10.2.14 to 10.3.6 and encountered the following problem: First I uninstalled the 10.2 packages. Then configured the repo under /etc/yu.repos.d/ and I attempted to install the equivalent 10.3 packages. However, somehow the galera package caused a problem:
This resulted in:
I worked around the issue by explicitly specifying the full correct name for the galera package (i.e. with only one '.fc27') :
I could then install the other packages without further problems. |
| Comments |
| Comment by Elena Stepanova [ 2018-04-24 ] | ||||
|
Fedora27 repo indeed has galera-25.3.23-1.fc27.fc27.x86_64.rpm – strange name, but it's unclear why it couldn't be found. | ||||
| Comment by Karl Levik [ 2018-04-25 ] | ||||
|
Some more info: Apparently, the galera package that I did manage to install came from my Fedora updates repo, not the mariadb repo:
| ||||
| Comment by Daniel Bartholomew [ 2018-05-16 ] | ||||
|
The issue here does appear to be because the galera package was missing from the fedora27 repository on yum.mariadb.org, but I've checked all three of the servers that host yum.mariadb.org and they all have the galera package. I'm not sure what went wrong on the day you were installing it. But with our repository enabled Fedora defaults to our galera package instead of the package in the Fedora repos, so if the package was missing then I think the error would be as described here. I say "think" because I've tested various installation and upgrade scenarios on both Fedora 27 and Fedora 26, and I have not been able to duplicate the error, either upgrading or installing MariaDB-server from scratch. So whatever the error was, it appears to be gone now. The only difference, as far as I know, between the galera package in the fedora27 repository and in our repository is the weirdness of the name. And that double-name thing, is there for all of our galera packages for CentOS and Fedora. It's probably something in the script we use to compile galera, but it was never something that caused problems and so hasn't been looked into. Thanks. | ||||
| Comment by Karl Levik [ 2018-05-18 ] | ||||
|
Yes, in the meantime my installed galera package has changed from '@updates' to the 'mariadb' repo, I think from just running 'dnf update', and I also just re-installed all the MariaDB server packages (including galera), and now it all works fine. So yes, perhaps the package was missing from the repo at the time. |