[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:

# dnf install MariaDB-server
Failed to synchronize cache for repo 'docker-main', disabling.
Failed to synchronize cache for repo 'percona-release-x86_64', disabling.
Failed to synchronize cache for repo 'percona-release-noarch', disabling.
Last metadata expiration check: 0:01:16 ago on Tue 24 Apr 2018 12:01:00 BST.
Dependencies resolved.
===================================================================================================================================================================================================================
 Package                                                   Arch                                       Version                                                    Repository                                   Size
===================================================================================================================================================================================================================
Installing:
 MariaDB-server                                            x86_64                                     10.3.6-1.fc27                                              mariadb                                      24 M
Installing dependencies:
 boost-program-options                                     x86_64                                     1.64.0-5.fc27                                              updates                                     172 k
 galera                                                    x86_64                                     25.3.23-1.fc27.fc27                                        mariadb                                     8.9 M
 perl-DBI                                                  x86_64                                     1.637-1.fc27                                               fedora                                      734 k
 
Transaction Summary
===================================================================================================================================================================================================================
Install  4 Packages

This resulted in:

[FAILED] galera-25.3.23-1.fc27.fc27.x86_64.rpm: No more mirrors to try - All mirrors were already tried without success

I worked around the issue by explicitly specifying the full correct name for the galera package (i.e. with only one '.fc27') :

# dnf install galera-25.3.23-1.fc27.x86_64

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:

Installed Packages
galera.x86_64                   25.3.23-1.fc27                         @updates
Available Packages
galera.x86_64                   25.3.23-1.fc27.fc27                    mariadb 

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.

Generated at Thu Feb 08 08:25:38 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.