MariaDB 10.3 Packages

Yoshua

Verified User
Joined
Apr 9, 2007
Messages
127
Location
Spain
The official MariaDB RPM repository (https://mirror.mariadb.org/yum/), from which CustomBuild downloads, has already removed version 10.3, therefore if this version of MariaDB is selected from Custombuild, when we do the build you show the corresponding errors:

Code:
Updating MariaDB
download_with_cache: downloading 'https://mirror.mariadb.org/yum/10.3/centos/8/x86_64/rpms/MariaDB-client-10.3.39-1.el8.x86_64.rpm' to '/usr/local/directadmin/custombuild/cache/MariaDB-client-10.3.39-1.el8.x86_64.rpm'
#=#=#
curl: (22) The requested URL returned error: 404 Not Found
safe_download: downloading 'https://mirror.mariadb.org/yum/10.3/centos/8/x86_64/rpms/MariaDB-client-10.3.39-1.el8.x86_64.rpm' to '/usr/local/directadmin/custombuild/tmp/tmp.FNxXNLDmiB.safe_download' failed (1/3)
#=#=#
curl: (22) The requested URL returned error: 404 Not Found
safe_download: downloading 'https://mirror.mariadb.org/yum/10.3/centos/8/x86_64/rpms/MariaDB-client-10.3.39-1.el8.x86_64.rpm' to '/usr/local/directadmin/custombuild/tmp/tmp.FNxXNLDmiB.safe_download' failed (2/3)
#=#=#
curl: (22) The requested URL returned error: 404 Not Found
safe_download: downloading 'https://mirror.mariadb.org/yum/10.3/centos/8/x86_64/rpms/MariaDB-client-10.3.39-1.el8.x86_64.rpm' to '/usr/local/directadmin/custombuild/tmp/tmp.FNxXNLDmiB.safe_download' failed (3/3)

This version will have to be removed from Custombuild or modified so that the RPM packages for 10.3 are downloaded from another repository.
 
Thanks for reporting, a simple workaround would be to download the files manually (from our files server) and place them in CB cache directory:

Code:
curl -o /usr/local/directadmin/custombuild/cache/MariaDB-client-10.3.39-1.el8.x86_64.rpm https://files.directadmin.com/services/custombuild/mariadb/10.3/10.3.39/MariaDB-client-10.3.39-1.el8.x86_64.rpm
curl -o /usr/local/directadmin/custombuild/cache/MariaDB-devel-10.3.39-1.el8.x86_64.rpm  https://files.directadmin.com/services/custombuild/mariadb/10.3/10.3.39/MariaDB-devel-10.3.39-1.el8.x86_64.rpm
curl -o /usr/local/directadmin/custombuild/cache/MariaDB-server-10.3.39-1.el8.x86_64.rpm https://files.directadmin.com/services/custombuild/mariadb/10.3/10.3.39/MariaDB-server-10.3.39-1.el8.x86_64.rpm
curl -o /usr/local/directadmin/custombuild/cache/MariaDB-shared-10.3.39-1.el8.x86_64.rpm https://files.directadmin.com/services/custombuild/mariadb/10.3/10.3.39/MariaDB-shared-10.3.39-1.el8.x86_64.rpm
curl -o /usr/local/directadmin/custombuild/cache/MariaDB-common-10.3.39-1.el8.x86_64.rpm https://files.directadmin.com/services/custombuild/mariadb/10.3/10.3.39/MariaDB-common-10.3.39-1.el8.x86_64.rpm
curl -o /usr/local/directadmin/custombuild/cache/MariaDB-backup-10.3.39-1.el8.x86_64.rpm https://files.directadmin.com/services/custombuild/mariadb/10.3/10.3.39/MariaDB-backup-10.3.39-1.el8.x86_64.rpm

Then run CustomBuild command again and it will be happy using locally cached RPMs.

In the mean time we will see how to extend CB to fallback to our mirrors :).
 
Last edited:
Back
Top