Purge of End of Life versions from Mirrors

OSU Open Source Labs have supported MariaDB for many years in hosting the mirror from which we distribute our releases for which we are most grateful. We were asked if we could reduce the size as our mirror usage had grown to 1TB, rather high compared to other projects.

To accommodate this request we removed all of the end of life releases, 5.5, 10.0 and 10.1 from the mirrors halving the used space.

MariaDB space usage on OSU Open Source Lab mirror

It turns out there were some continuous integration systems still using these repositories. Please accept our apologies for not telling you in advance.

Making it good again

We’ve re-added the very last versions of 5.5, 10.0 and 10.1 back onto the mirrors. This will enable our community to continue to support our end of life releases.

To use this last release, a repository configuration in /etc/apt/sources.list.d/mariadb.list is as follows:

deb https://ftp.osuosl.org/pub/mariadb/repo/$MARIADB_MAJOR_VERSION/$DISTRO $DISTRO_VERSION main
  • MARIADB_MAJOR_VERSION is “5.5”, “10.0” or “10.1”;
  • DISTRO is the apt distribution being “ubuntu” or “debian”; and
  • DISTRO_VERSION is a version of the distribution like “xenial” or “stretch”.
  • The URL can be any mirror that was previously used, not just ftp.osuosl.org.

This will enable you to access these last versions of end of life releases. This particularly affects those using an end of life container base image like docker.io/library/mariadb:10.0 as a base image and then doing an apt-get update -y.

Older versions are still available on https://archive.mariadb.org and can be configured as an APT repository following our Knowledge Base article.

Container workarounds for old releases

For those using building containers based on old MariaDB versions that are no-longer on the OSU Open Source Labs mirror can prevent apt-get update -y failures by either removing the sources file:

FROM docker.io/library/mariadb:5.5.40
RUN rm /etc/apt/sources.list.d/mariadb.list

or if you require something from the mirror:

FROM docker.io/library/mariadb:5.5.60
RUN echo "deb https://archive.mariadb.org/mariadb-${MARIADB_VERSION%+*}/repo/ubuntu/ ${MARIADB_VERSION#*~} main" > /etc/apt/sources.list.d/mariadb.list

For older versions before 5.5.60, 10.1.34, 10.2.16, and 10.3.8, when the base was Debian, change ubuntu to debian in the above URL.

We have changed the Docker Library MariaDB image for current and future releases to include this stable archive URL.

Apologies again for anyone effected and if we can improve our releases, or the Docker Library offering, please contact us, or write a bug report/feature request.