Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-34368

403 Forbidden when trying to install MariaDB Server on Debian Buster using mariadb_repo_setup

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • None
    • N/A
    • None
    • None

    Description

      curl -LsS https://r.mariadb.com/downloads/mariadb_repo_setup | bash
      apt update
      apt install mariadb-server
      

      ended up with

      Err:24 https://dlm.mariadb.com/repo/mariadb-server/10.6/repo/debian buster/main amd64 mysql-common all 1:10.6.18+maria~deb10
        403  Forbidden [IP: 216.58.209.187 443]
      ....
      

      The same steps ran successfully on Debian Bullseye and Bookworm. It just doesn't work with Debian Buster. I tried it on multiple servers running Debian Buster

      Attachments

        Issue Links

          Activity

            alice Alice Sherepa added a comment -

            I repeated in docker debian~buster, also got errors with the script. While instructions from https://mariadb.org/download/?t=repo-config&d=Debian+10+%22buster%22&v=10.6&r_m=hs-esslingen worked

            alice Alice Sherepa added a comment - I repeated in docker debian~buster, also got errors with the script. While instructions from https://mariadb.org/download/?t=repo-config&d=Debian+10+%22buster%22&v=10.6&r_m=hs-esslingen worked

            Can you let us know what IP this is from so we can trace the request in our logs?

            serg Sergei Golubchik added a comment - Can you let us know what IP this is from so we can trace the request in our logs?
            bryan Bryan Alsdorf added a comment -

            As Sergei requested, the IP will help us track it down. However, I think I know the root cause of this. We have seen other older debian based distros impacted.

            I deployed a quick fix for this so can you please try again?

            bryan Bryan Alsdorf added a comment - As Sergei requested, the IP will help us track it down. However, I think I know the root cause of this. We have seen other older debian based distros impacted. I deployed a quick fix for this so can you please try again?

            alice, given that you reproduced it before, can you check that it works after Bryan's fix?

            elenst Elena Stepanova added a comment - alice , given that you reproduced it before, can you check that it works after Bryan's fix?
            alice Alice Sherepa added a comment - - edited

            root@e9dc0daed0f6:/# curl -LsS https://r.mariadb.com/downloads/mariadb_repo_setup | bash
            # [info] Checking for script prerequisites.
            # [info] MariaDB Server version 11.rolling is valid
            # [info] Repository file successfully written to /etc/apt/sources.list.d/mariadb.list
            # [info] Adding trusted package signing keys...
            # [info] Running apt-get update...
            E: The repository 'https://dlm.mariadb.com/repo/maxscale/latest/apt buster Release' does not have a Release file.
            # [error] Failed to add trusted package signing keys
            root@e9dc0daed0f6:/# apt update
            Hit:1 http://deb.debian.org/debian buster InRelease                                                                                                      
            Hit:2 http://deb.debian.org/debian-security buster/updates InRelease                                                                                     
            Hit:3 http://deb.debian.org/debian buster-updates InRelease                                  
            Hit:5 https://dlm.mariadb.com/repo/mariadb-server/11.rolling/repo/debian buster InRelease    
            Ign:6 https://dlm.mariadb.com/repo/maxscale/latest/apt buster InRelease      
            Err:7 https://dlm.mariadb.com/repo/maxscale/latest/apt buster Release        
              404  Not Found [IP: 104.18.135.24 443]
            Hit:4 https://downloads.mariadb.com/Tools/debian buster InRelease
            Reading package lists... Done
            E: The repository 'https://dlm.mariadb.com/repo/maxscale/latest/apt buster Release' does not have a Release file.
            N: Updating from such a repository can't be done securely, and is therefore disabled by default.
            N: See apt-secure(8) manpage for repository creation and user configuration details.
            

            With --skip-maxscale :
            curl -LsS https://r.mariadb.com/downloads/mariadb_repo_setup | sudo bash -s – --skip-maxscale

            root@e9dc0daed0f6:/# curl -LsS https://r.mariadb.com/downloads/mariadb_repo_setup |  bash -s - --skip-maxscale
            # [info] Checking for script prerequisites.
            # [warning] Found existing file at /etc/apt/sources.list.d/mariadb.list. Moving to /etc/apt/sources.list.d/mariadb.list.old_1
            # [info] MariaDB Server version 11.rolling is valid
            # [info] Repository file successfully written to /etc/apt/sources.list.d/mariadb.list
            # [info] Adding trusted package signing keys...
            # [info] Running apt-get update...
            # [info] Done adding trusted package signing keys
            

            alice Alice Sherepa added a comment - - edited root@e9dc0daed0f6:/# curl -LsS https://r.mariadb.com/downloads/mariadb_repo_setup | bash # [info] Checking for script prerequisites. # [info] MariaDB Server version 11.rolling is valid # [info] Repository file successfully written to /etc/apt/sources.list.d/mariadb.list # [info] Adding trusted package signing keys... # [info] Running apt-get update... E: The repository 'https://dlm.mariadb.com/repo/maxscale/latest/apt buster Release' does not have a Release file. # [error] Failed to add trusted package signing keys root@e9dc0daed0f6:/# apt update Hit:1 http://deb.debian.org/debian buster InRelease Hit:2 http://deb.debian.org/debian-security buster/updates InRelease Hit:3 http://deb.debian.org/debian buster-updates InRelease Hit:5 https://dlm.mariadb.com/repo/mariadb-server/11.rolling/repo/debian buster InRelease Ign:6 https://dlm.mariadb.com/repo/maxscale/latest/apt buster InRelease Err:7 https://dlm.mariadb.com/repo/maxscale/latest/apt buster Release 404 Not Found [IP: 104.18.135.24 443] Hit:4 https://downloads.mariadb.com/Tools/debian buster InRelease Reading package lists... Done E: The repository 'https://dlm.mariadb.com/repo/maxscale/latest/apt buster Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. With --skip-maxscale : curl -LsS https://r.mariadb.com/downloads/mariadb_repo_setup | sudo bash -s – --skip-maxscale root@e9dc0daed0f6:/# curl -LsS https://r.mariadb.com/downloads/mariadb_repo_setup | bash -s - --skip-maxscale # [info] Checking for script prerequisites. # [warning] Found existing file at /etc/apt/sources.list.d/mariadb.list. Moving to /etc/apt/sources.list.d/mariadb.list.old_1 # [info] MariaDB Server version 11.rolling is valid # [info] Repository file successfully written to /etc/apt/sources.list.d/mariadb.list # [info] Adding trusted package signing keys... # [info] Running apt-get update... # [info] Done adding trusted package signing keys

            People

              bryan Bryan Alsdorf
              stevechu Steve Chu
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.