Can not update MariaDB - Error downloading packages

Started by sitesme, February 14, 2023, 02:30:46 PM

Previous topic - Next topic

sitesme

Hello,

I am getting these errors when running yum update:

No Presto metadata available for mariadb
http://yum.mariadb.org/10.2/centos7-amd64/rpms/MariaDB-client-10.2.44-1.el7.centos.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://yum.mariadb.org/10.2/centos7-amd64/rpms/MariaDB-compat-10.2.44-1.el7.centos.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://yum.mariadb.org/10.2/centos7-amd64/rpms/MariaDB-common-10.2.44-1.el7.centos.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://yum.mariadb.org/10.2/centos7-amd64/rpms/MariaDB-devel-10.2.44-1.el7.centos.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://yum.mariadb.org/10.2/centos7-amd64/rpms/MariaDB-server-10.2.44-1.el7.centos.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://yum.mariadb.org/10.2/centos7-amd64/rpms/MariaDB-shared-10.2.44-1.el7.centos.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://yum.mariadb.org/10.2/centos7-amd64/rpms/galera-25.3.35-1.el7.centos.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
Error downloading packages:
  MariaDB-devel-10.2.44-1.el7.centos.x86_64: [Errno 256] No more mirrors to try.
  MariaDB-shared-10.2.44-1.el7.centos.x86_64: [Errno 256] No more mirrors to try.
  MariaDB-client-10.2.44-1.el7.centos.x86_64: [Errno 256] No more mirrors to try.
  galera-25.3.35-1.el7.centos.x86_64: [Errno 256] No more mirrors to try.
  MariaDB-compat-10.2.44-1.el7.centos.x86_64: [Errno 256] No more mirrors to try.
  MariaDB-common-10.2.44-1.el7.centos.x86_64: [Errno 256] No more mirrors to try.
  MariaDB-server-10.2.44-1.el7.centos.x86_64: [Errno 256] No more mirrors to try.


Any idea on how to fix this?

Thank you

ekgrad

Update your mariadb repo from the official MariaDB website. Then just run yum update.

sitesme

Quote from: ekgrad on February 15, 2023, 04:47:31 AM
Update your mariadb repo from the official MariaDB website. Then just run yum update.

That sounds great, but how do I do that?

Netino

Quote from: sitesme on February 16, 2023, 02:11:31 PM
That sounds great, but how do I do that?

You can try this:
https://wiki.centos-webpanel.com/mariadb-upgrade-to-new-version

But it's for 10.5 version. Instead, I would try to change to version 10.6, because it's a LTV - Long Term Version.

Regards,
Netino

maxwellins

Quote from: Netino on February 17, 2023, 08:03:08 PM
Quote from: sitesme on February 16, 2023, 02:11:31 PM
That sounds great, but how do I do that?

You can try this:
https://wiki.centos-webpanel.com/mariadb-upgrade-to-new-version

But it's for 10.5 version. Instead, I would try to change to version 10.6, because it's a LTV - Long Term Version.

Regards,
Netino


[mariadb]
name = MariaDB
baseurl = http://mirror.mariadb.org/yum/10.6/centos7-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1


try this

Starburst

Agreed, 10.2 has reached EOL.

Your best option is to goto the Maria Repo config at: https://mariadb.org/download/?t=repo-config

That way it will create a .repo file for you, including the country you are in and version you want to run.