packages.gitlab.com returns 404 for Amazon Linux 2023 (amzn/2023) repository config
Summary
The repository config URL for Amazon Linux 2023 returns 404, making it impossible
to install gitlab-runner using the official script.rpm.sh on Amazon Linux 2023.
Environment
- OS: Amazon Linux 2023 (
Amazon Linux 2023.10.20260120) -
/etc/os-release:ID=amzn,VERSION_ID=2023 - gitlab-runner version intended: 18.1.3
Steps to reproduce
curl -L "https://packages.gitlab.com/install/repositories/runner/gitlab-runner/script.rpm.sh" | sudo bash
Error
curl: (22) The requested URL returned error: 404
Repository config not available: https://packages.gitlab.com/install/repositories/runner/gitlab-runner/amzn/2023/config_file.repo
OS/distribution may not be supported or detection failed.
Root cause
The script.rpm.sh correctly detects os=amzn dist=2023 from /etc/os-release
and builds the URL:
https://packages.gitlab.com/install/repositories/runner/gitlab-runner/amzn/2023/config_file.repo
This URL returns 404. The same happens for amzn/2 as well.
Workaround
Forcing el/8 detection works:
curl -L "https://packages.gitlab.com/install/repositories/runner/gitlab-runner/script.rpm.sh" | sudo os=el dist=8 bash
sudo dnf install gitlab-runner-18.1.3 -y
Request
Please restore the amzn/2023 repository config or officially document that
Amazon Linux 2023 is no longer supported and recommend the el/8 workaround.