Learn about Centmin Mod LEMP Stack today
Become a Member

Beta Branch fix MariaDB 10.3 deprecated mirror update mariadb.repo in 130.00beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Nov 25, 2023.

  1. eva2000

    eva2000 Administrator Staff Member

    59,298
    12,510
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,143
    Local Time:
    5:53 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    fix MariaDB 10.3 deprecated mirror update mariadb.repo in 130.00beta01

    - for existing users to apply this update fix, run cmupdate and then run centmin.sh menu once to apply fix and then exit menu
    - as MariaDB 10.3 has deprecated public mirrors, need to switch to archives version inside mariadb.repo itself

    otherwise get errors below when doing yum update

    http://yum.mariadb.org/10.3/centos7-amd64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
    Trying other mirror.
    To address this issue please refer to the below wiki article

    https://wiki.centos.org/yum-errors

    If above article doesn't help to resolve this issue please use https://bugs.centos.org/.

    One of the configured repositories failed (MariaDB),
    and yum doesn't have enough cached data to continue. At this point the only
    safe thing yum can do is fail. There are a few ways to work "fix" this:

    1. Contact the upstream for the repository and get them to fix the problem.

    2. Reconfigure the baseurl/etc. for the repository, to point to a working
    upstream. This is most often useful if you are using a newer
    distribution release than is supported by the repository (and the
    packages for the previous distribution release still work).

    3. Run the command with the repository temporarily disabled
    yum --disablerepo=mariadb ...

    4. Disable the repository permanently, so yum won't use it by default. Yum
    will then just ignore the repository until you permanently enable it
    again or use --enablerepo for temporary usage:

    yum-config-manager --disable mariadb
    or
    subscription-manager repos --disable=mariadb


    5. Configure the failing repository to be skipped, if it is unavailable.
    Note that yum will try to contact the repo. when it runs most commands,
    so will have to try and fail each time (and thus. yum will be be much
    slower). If it is a very temporary problem though, this is often a nice
    compromise:

    yum-config-manager --save --setopt=mariadb.skip_if_unavailable=true

    failure: repodata/repomd.xml from mariadb: [Errno 256] No more mirrors to try.

    Continue reading...

    130.00beta01 branch

    Support Centmin Mod


    If you find Centmin Mod useful, please help support Centmin Mod