From 41b7a1491f783af69ec993b5256c2f56b09d33f9 Mon Sep 17 00:00:00 2001 From: Bastien Traverse Date: Sat, 25 Apr 2026 12:40:06 +0200 Subject: [PATCH] install: Use RHEL repo for Rocky Linux 86f94af03 added Rocky Linux as a recognized distro and thus the script sets up the repo[0]. However the repo doesn't currently contain the required packages, and thus the installation fails. Rocky being fully compatible with RHEL, using its repo leads to a working installation. This aligns with the current advice from Rocky's own docs[1]. Fixes #264 #373 #468 #469 [0]: https://download.docker.com/linux/rocky/ [1]: https://docs.rockylinux.org/10/gemstones/containers/docker/ Signed-off-by: Bastien Traverse --- install.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index bc39a9ae..d419ddc1 100755 --- a/install.sh +++ b/install.sh @@ -631,7 +631,11 @@ do_install() { echo "Effective v27.5, please consult RHEL distro statement for s390x support." exit 1 fi - repo_file_url="$DOWNLOAD_URL/linux/$lsb_dist/$REPO_FILE" + if [ "$lsb_dist" = rocky ]; then + repo_file_url="$DOWNLOAD_URL/linux/rhel/$REPO_FILE" + else + repo_file_url="$DOWNLOAD_URL/linux/$lsb_dist/$REPO_FILE" + fi ( if ! is_dry_run; then set -x