Author Topic: Can not update MariaDB - Error downloading packages  (Read 3483 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Can not update MariaDB - Error downloading packages
« on: February 14, 2023, 02:30:46 PM »
Hello,

I am getting these errors when running yum update:

Code: [Select]
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

Offline
*
Re: Can not update MariaDB - Error downloading packages
« Reply #1 on: February 15, 2023, 04:47:31 AM »
Update your mariadb repo from the official MariaDB website. Then just run yum update.

Offline
*
Re: Can not update MariaDB - Error downloading packages
« Reply #2 on: February 16, 2023, 02:11:31 PM »
Update your mariadb repo from the official MariaDB website. Then just run yum update.

That sounds great, but how do I do that?

Offline
***
Re: Can not update MariaDB - Error downloading packages
« Reply #3 on: February 17, 2023, 08:03:08 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

Offline
*
Re: Can not update MariaDB - Error downloading packages
« Reply #4 on: February 18, 2023, 04:41:15 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


Code: [Select]
[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

Offline
****
Re: Can not update MariaDB - Error downloading packages
« Reply #5 on: February 18, 2023, 04:55:32 PM »
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.