Control Web Panel

WebPanel => MySQL => Topic started by: sitesme on February 14, 2023, 02:30:46 PM

Title: Can not update MariaDB - Error downloading packages
Post by: sitesme 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
Title: Re: Can not update MariaDB - Error downloading packages
Post by: ekgrad on February 15, 2023, 04:47:31 AM
Update your mariadb repo from the official MariaDB website. Then just run yum update.
Title: Re: Can not update MariaDB - Error downloading packages
Post by: sitesme 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?
Title: Re: Can not update MariaDB - Error downloading packages
Post by: Netino 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 (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
Title: Re: Can not update MariaDB - Error downloading packages
Post by: maxwellins 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 (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
Title: Re: Can not update MariaDB - Error downloading packages
Post by: Starburst 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.