[MDBF-277] Repository installation fails with HTTPS error 404 Created: 2021-10-21  Updated: 2022-02-09  Resolved: 2022-02-09

Status: Closed
Project: MariaDB Foundation Development
Component/s: None
Affects Version/s: None
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: David Gomillion Assignee: Andreia Hendea
Resolution: Fixed Votes: 0
Labels: download
Remaining Estimate: 0d
Time Spent: 0.5d
Original Estimate: Not Specified
Environment:

Amazon Linux 2, using CentOS 7 x86_64 repository



 Description   

When trying to use yum to install MariaDB, installation fails with the following error:

[root@ip-172-31-81-24 yum.repos.d]# yum clean all
Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
Cleaning repos: amzn2-core amzn2extra-docker mariadb
Cleaning up everything
Maybe you want: rm -rf /var/cache/yum, to also free up space taken by orphaned data from disabled or removed repos
[root@ip-172-31-81-24 yum.repos.d]# yum install MariaDB-server MariaDB-client galera-4
Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
amzn2-core                                                                                                                              | 3.7 kB  00:00:00     
amzn2extra-docker                                                                                                                       | 3.0 kB  00:00:00     
https://mirror.rackspace.com/mariadb/yum/10.6/centos7%28x86_64%29/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found

Trying other mirror.

I have tried several repositories and several versions, and they have all failed.



 Comments   
Comment by Daniel Black [ 2021-10-22 ]

So sorry. Is appears our Repo URL generation is faulty.

Replace the baseurl in your repo file with:

baseurl = https://mirror.realcompute.io/mariadb/yum/10.6/centos7-amd64

And it will work.

Comment by Daniel Black [ 2021-10-22 ]

andreia.hendea the wrong URL is generated on https://mariadb.org/download/?tab=repo-config&distro=CentOS+7+%28x86_64%29&ver=10.6&r_mirror=realworldgroup

Comment by Andreia Hendea [ 2021-10-25 ]

Hi, thank you for reporting this bug.
Usually mirrors follow a certain URL structure, but this one doesn't. There's also something weird about it, for example this folder https://mirror.realcompute.io/mariadb/ redirects to mariadb.org/download. I will talk to Ian about this, maybe we can contact them to rearrange their folder structure.

Comment by Daniel Black [ 2021-10-27 ]

dgomillion, thanks for the bug report. We believe this is now fixed. Apologizes for the inconvenience.

Generated at Thu Feb 08 03:36:43 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.