Skip to content
This repository was archived by the owner on Aug 26, 2026. It is now read-only.

Fix MariaDB RPM 404 in bootstrap.sh: fetch from archive.mariadb.org (Fedora 38 dropped from mirror) - #457

Open
trozzelle wants to merge 1 commit into
aws:v2.10.3from
trozzelle:fix/mariadb-rpm-archive-url
Open

trozzelle wants to merge 1 commit into
aws:v2.10.3from
trozzelle:fix/mariadb-rpm-archive-url

Conversation

@trozzelle

Copy link
Copy Markdown

Summary

Repoints the MariaDB RPM downloads in docker/script/bootstrap.sh from the rolling mirror (mirror.mariadb.org) to MariaDB's permanent archive (archive.mariadb.org). This fixes the image build, which currently fails because the pinned Fedora 38 RPMs were removed from the rolling mirror.

Fixes #456.

Background

mirror.mariadb.org only retains currently-supported distros/releases. Fedora 38 is EOL, so its entire yum/11.4/fedora38-* tree was removed and the six hardcoded wget URLs (MariaDB-{common,shared,devel}-11.4.2-1.fc38) now return 404, aborting the RUN /bootstrap.sh layer.

Change

Host/path swap only — the exact 11.4.2-1.fc38 build is unchanged:

 if [[ $(uname -p) == "aarch64" ]]; then
-  wget https://mirror.mariadb.org/yum/11.4/fedora38-aarch64/rpms/MariaDB-common-11.4.2-1.fc38.$(uname -p).rpm -P /mariadb_rpm
-  wget https://mirror.mariadb.org/yum/11.4/fedora38-aarch64/rpms/MariaDB-shared-11.4.2-1.fc38.$(uname -p).rpm -P /mariadb_rpm
-  wget https://mirror.mariadb.org/yum/11.4/fedora38-aarch64/rpms/MariaDB-devel-11.4.2-1.fc38.$(uname -p).rpm -P /mariadb_rpm
+  wget https://archive.mariadb.org/mariadb-11.4.2/yum/fedora38-aarch64/rpms/MariaDB-common-11.4.2-1.fc38.$(uname -p).rpm -P /mariadb_rpm
+  wget https://archive.mariadb.org/mariadb-11.4.2/yum/fedora38-aarch64/rpms/MariaDB-shared-11.4.2-1.fc38.$(uname -p).rpm -P /mariadb_rpm
+  wget https://archive.mariadb.org/mariadb-11.4.2/yum/fedora38-aarch64/rpms/MariaDB-devel-11.4.2-1.fc38.$(uname -p).rpm -P /mariadb_rpm
 else
-  wget https://mirror.mariadb.org/yum/11.4/fedora38-amd64/rpms/MariaDB-common-11.4.2-1.fc38.$(uname -p).rpm -P /mariadb_rpm
-  wget https://mirror.mariadb.org/yum/11.4/fedora38-amd64/rpms/MariaDB-shared-11.4.2-1.fc38.$(uname -p).rpm -P /mariadb_rpm
-  wget https://mirror.mariadb.org/yum/11.4/fedora38-amd64/rpms/MariaDB-devel-11.4.2-1.fc38.$(uname -p).rpm -P /mariadb_rpm
+  wget https://archive.mariadb.org/mariadb-11.4.2/yum/fedora38-amd64/rpms/MariaDB-common-11.4.2-1.fc38.$(uname -p).rpm -P /mariadb_rpm
+  wget https://archive.mariadb.org/mariadb-11.4.2/yum/fedora38-amd64/rpms/MariaDB-shared-11.4.2-1.fc38.$(uname -p).rpm -P /mariadb_rpm
+  wget https://archive.mariadb.org/mariadb-11.4.2/yum/fedora38-amd64/rpms/MariaDB-devel-11.4.2-1.fc38.$(uname -p).rpm -P /mariadb_rpm
 fi

Notes

This is the minimal fix to restore builds, which is likely appropriate since this project has ceased being actively maintained. The more correct fix is likely switching to the el19 build of the same 11.4 LTSline.

…d from mirror)

The pinned MariaDB 11.4.2 fedora38 RPMs were removed from
mirror.mariadb.org. Fedora 38 is EOL and that mirror only retains
currently-supported releases/distros, so the whole yum/11.4/fedora38-*
path now returns 404. bootstrap.sh's wget then fails and the image
build breaks.

Repoint the six RPM URLs to MariaDB's permanent archive host,
archive.mariadb.org, keeping the exact 11.4.2-1.fc38 build so the
installed packages are byte-identical (verified HTTP 200 for common,
shared, and devel on both aarch64 and x86_64).
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bootstrap.sh build fails — MariaDB RPMs 404 on mirror.mariadb.org after Fedora 38 EOL

1 participant