MariaDB 5.5 - Centos 7 - last version not available
I'm using MariaDB 5.5 on Centos 7.
Yum is configured to use
CentOS-Base.repo but only 5.5.60 is available.
# yum list --showduplicates mariadb-server Available Packages mariadb-server.x86_64 1:5.5.60-1.el7_5 base
I don't understand why 5.5.62 is not available on the repo. Do you know the reason ?
Moreover, I tried the configuration given by https://downloads.mariadb.org/mariadb/repositories/#mirror=icm&distro=CentOS&distro_release=centos7-amd64--centos7&version=5.5
creating the file
# MariaDB 5.5 CentOS repository list - created 2019-01-09 13:20 UTC # http://downloads.mariadb.org/mariadb/repositories/ [mariadb] name = MariaDB baseurl = http://yum.mariadb.org/5.5/centos7-amd64 gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB gpgcheck=1
when I installed MariaDB via
yum, installation of 5.5.62 is written as completed.
However, there is no
mariadb.service file under
/etc/systemd/system (and subdirectories) or
I downloaded the rpm file given by the
CentOS-Base.repo and checked the content. The file
mariadb.service is present.
# rpm -qlp mariadb-server-5.5.60-1.el7_5.x86_64.rpm | grep service /usr/lib/systemd/system/mariadb.service
I download the rpm file given by the
mariadb.repo. There is no
# rpm -qlp MariaDB-5.5.62-centos73-x86_64-server.rpm | grep service
mariadb.service is not present in the rpm of 5.5.60 from
# rpm -qlp MariaDB-5.5.60-centos73-x86_64-server.rpm | grep service
Can you explain why
mariadb.service is included in the rpm from
but not from
mariadb.repo dedicated to Centos 7 ?
Answer Answered by Daniel Bartholomew in this comment.
The MariaDB yum repositories are updated every time a release is made and we generally keep the most recent three versions of a given MariaDB branch in our repositories.
CentOS, and by extension RedHat, update MariaDB in their repositories according to their own schedule, which we have no control over. Because of this, the version of MariaDB 5.5 in the CentOS/RHEL
base repository may be a few versions out of date compared to what you will find in the MariaDB repositories.
[buildbot@centos74-amd64 ~]$ sudo yum list --showduplicates mariadb-server Available Packages MariaDB-server.x86_64 5.5.60-1.el7.centos mariadb MariaDB-server.x86_64 5.5.61-1.el7.centos mariadb MariaDB-server.x86_64 5.5.62-1.el7.centos mariadb mariadb-server.x86_64 1:5.5.60-1.el7_5 base
As to why there is no
mariadb.service file, that is because that is something CentOS/RedHat add to their mariadb-server 5.5.x packages. We only include a mariadb.service systemd file for CentOS 7 (located at
/usr/lib/systemd/system/mariadb.service) for our MariaDB 10.1 and higher packages.