Learn about Centmin Mod LEMP Stack today
Register Now

Upgrade http://yum.mariadb.org/10.1/centos7-amd64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found

Discussion in 'Install & Upgrades or Pre-Install Questions' started by Markku, Jul 30, 2022.

  1. Markku

    Markku New Member

    11
    2
    3
    Jun 1, 2014
    Ratings:
    +5
    Local Time:
    1:37 PM
    Please fill in any relevant information that applies to you:
    • CentOS Version: CentOS 7 64bit
    • Centmin Mod Version Installed: 123.09beta01
    I'm getting the following error when exiting centmin and it looks for updates (I haven't run the yum update for other stuff yet because of this error, I want to fix this first...)

    any ideas how to fix?

    -------------------------------------------------------------
    Following Updates are available:
    -------------------------------------------------------------
    http://yum.mariadb.org/10.1/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


     
  2. buik

    buik “The best traveler is one without a camera.”

    1,684
    461
    83
    Apr 29, 2016
    Flanders
    Ratings:
    +1,450
    Local Time:
    12:37 PM
    MariaDB 10.1 is out of support since 17 Oct 2020.
    Run cmupdate first and update to a MariaDB via centmin with support afterwards.
    More info @ https://endoflife.date/mariadb
     
  3. Markku

    Markku New Member

    11
    2
    3
    Jun 1, 2014
    Ratings:
    +5
    Local Time:
    1:37 PM
    So I can update with centmin option 11 to MariaDb 10.6 for example, and it will work and then make yum update work again, even though the yum gave the beforementioned error for 10.1?

    If it's that simple, great, thanks
     
  4. eva2000

    eva2000 Administrator Staff Member

    48,986
    11,227
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,477
    Local Time:
    8:37 PM
    Nginx 1.21.x
    MariaDB 10.x
    You should really update your Centmin Mod 123.09beta01 to latest at least which has fix via cmupdate command https://community.centminmod.com/threads/downgrading-mariadb.22134/#post-92640 or better get update to 124.00stable at least https://community.centminmod.com/threads/centmin-mod-124-00stable-130-00beta01-releases.22673/

    Right now highest you can go via centmin.sh menu option 11 is MariaDB 10.4 with 10.5 and 10.6 planned later on. Read https://community.centminmod.com/threads/mariadb-10-1-upgrades-to-mariadb-10-2-10-3-and-10-4.17793/
     
  5. eva2000

    eva2000 Administrator Staff Member

    48,986
    11,227
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,477
    Local Time:
    8:37 PM
    Nginx 1.21.x
    MariaDB 10.x
    in addition to that for existing installs need to manually do change at https://community.centminmod.com/threads/downgrading-mariadb.22134/#post-92639
     
  6. Markku

    Markku New Member

    11
    2
    3
    Jun 1, 2014
    Ratings:
    +5
    Local Time:
    1:37 PM
    I did the cmupdate command, and it's now the latest 123.09beta01 (says no updates available at this time).

    Yet the mariadb problem continues, and /etc/yum.repos.d/mariadb.repo says:
    Code:
    [mariadb]
    name = MariaDB
    baseurl = http://yum.mariadb.org/10.1/centos7-amd64
    gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
    gpgcheck=1
    exclude=MariaDB-Galera-server
    
    so as far as I understand, for me, the cmupdate didn't update the mariadb repo to use the archive version that was mentioned in your post here: https://community.centminmod.com/threads/downgrading-mariadb.22134/#post-92639

    I just want to make sure I'm not breaking things, so is this what I should be doing:

    1) manually replace /etc/yum.repos.d/mariadb.repo to:
    Code:
    [mariadb]
    name = MariaDB
    baseurl = https://archive.mariadb.org/mariadb-10.1.48/yum/centos7-amd64/
    gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
    gpgcheck=1
    
    2) update to 124.00stable
    3) update mariadb via centmin option 11 to 10.3 (I think I'm going to go with 10.3 for drop-in compatibility)
    4) profit?

    Or do I need to do any yum updates before 2) or 3)?

    Thanks for all the great work, you've helped loads of peeps over the years!
     
  7. eva2000

    eva2000 Administrator Staff Member

    48,986
    11,227
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,477
    Local Time:
    8:37 PM
    Nginx 1.21.x
    MariaDB 10.x
    1, 2, 3 sums it up pretty much