• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue PUM error with Galera package

Alireza Famili

Basic Pleskian
Hi

I can not update package galera 25.3.20-1.rhel7.el7.centos (mariadb):

Update failed.
  • 2018-01-14 12:12:05 INFO: pum is called with arguments: ['--update', '--json', '--unsafe', '--', 'galera']
  • 2018-01-14 12:12:07 INFO: updating packages: galera
  • 2018-01-14 12:17:30 ERROR: [u'Errors were encountered while downloading packages.', u'galera-25.3.22-1.rhel7.el7.centos.x86_64: [Errno 256] No more mirrors to try.']
  • 2018-01-14 12:17:30 ERROR: Exited with returncode 1.

yum update via ssh outputs:
galera-25.3.22-1.rhel7.el7.cen FAILED
http://yum.mariadb.org/10.1/centos7-amd64/rpms/galera-25.3.22-1.rhel7.el7.centos.x86_64.rpm: [Errno 12] Timeout on http://yum.mariadb.org/10.1/centos7-amd64/rpms/galera-25.3.22-1.rhel7.el7.centos.x86_64.rpm: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
Trying other mirror.
(1/2): kernel-3.10.0-693.11.6.el7.x86_64.rpm | 43 MB 15:52


Error downloading packages:
galera-25.3.22-1.rhel7.el7.centos.x86_64: [Errno 256] No more mirrors to try.

Server is able to update all other packages successfully. Please note that Mariadb is updated to 10.1 in this server and in /etc/yum.repos.d/MariaDB10.1.repo path I have the following and replication is enabled for the server

Code:
[mariadb]
    name = MariaDB
    baseurl = http://yum.mariadb.org/10.1/centos7-amd64
    gpgkey = https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
    gpgcheck = 1
 
Last edited:
Hello,

you can try to run the command :
Code:
yum clean all
and the to try again to update MariaDB but the galera package is included in MariaDB-server package since the release 10.1, so you may have to remove galera package with the command :
Code:
yum remove MariaDB-Galera-server
You can find more informations in the MariaDB Knowledgebase :
Installing MariaDB with yum
 
Hi Virtubox,

I have tried yum clean all and no luck. Are you sure galera is included? Is it safe to remove? My version is following:
Server version: 10.1.30-MariaDB MariaDB Server
 
Here what the MariaDB Knowledgebase said :

If you don't have the MariaDB GPG Signing key installed, YUM will prompt you to install it after downloading the packages (but before installing them).

If the server already has the MariaDB-Galera-server package installed, you might need to remove it prior to installing MariaDB-server (with 'sudo yum remove MariaDB-Galera-server'). No databases are removed when the MariaDB-Galera-server rpm package is removed, but as with any upgrade, it is best to have backups.
 
When I try to run
Code:
yum remove MariaDB-Galera-server
It says no package installed. However rpm -qa outputs :
galera.x86_64 25.3.20-1.rhel7.el7.centos @mariadb
Which I believe it's the package installed by mariadb itself. I don't recall having galera installed before mariadb and plesk was installed on raw centos
 
Non of them works. I only did not add mirrors said in the comments above since this is a production server. Maybe a routing issue from canada to middle east?
 
Back
Top