Welcome to Centmin Mod Community
Become a Member

Beta Branch fix dead NUS Singapore MariaDB yum mirror breaking yum/dnf in 140.00b…

Discussion in 'Centmin Mod Github Commits' started by eva2000, Nov 16, 2026 at 6:44 AM.

  1. eva2000

    eva2000 Administrator Staff Member

    60,407
    12,614
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,273
    Local Time:
    11:51 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    fix dead NUS Singapore MariaDB yum mirror breaking yum/dnf in 140.00beta01

    The NUS Singapore MariaDB mirror (download.nus.edu.sg) no longer resolves,
    so on SG/Asia servers whose /etc/yum.repos.d/mariadb.repo was written with
    it, every yum/dnf command fails with "Failed to download metadata for repo
    'mariadb'". Switch to mirror.djvg.sg, the Singapore mirror currently listed
    by the MariaDB Foundation, which serves the same yum paths and GPG key.

    Changes:
    - inc/cpcheck.inc: add switch_mariadb_repo_nus_mirror(), called early in
    cpcheck() before service_wrapper_install, to rewrite existing NUS
    baseurl/gpgkey entries in mariadb.repo (backup saved as
    mariadb.repo.bak-nus-<timestamp>)
    - inc/mariadb_install*.inc, inc/mariadb_upgrade*.inc: use mirror.djvg.sg
    as the SG/Asia MDB_MIRROR_BASEURL for installs and upgrades
    - tools/checkdomains.sh: check mirror.djvg.sg instead of download.nus.edu.sg

    Continue reading...


    140.00beta01 branch