From 55a1d1a8b42a9aefa7a8335b17629e784ee079a7 Mon Sep 17 00:00:00 2001 From: Nanook Date: Sun, 14 Jun 2026 22:12:07 +0000 Subject: [PATCH 1/2] fix: use Debian repo for Raspbian Trixie Signed-off-by: Nanook --- install.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 04185598..61474ed9 100755 --- a/install.sh +++ b/install.sh @@ -557,7 +557,12 @@ do_install() { case "$lsb_dist" in ubuntu|debian|raspbian) pre_reqs="ca-certificates curl" - apt_repo="deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] $DOWNLOAD_URL/linux/$lsb_dist $dist_version $CHANNEL" + apt_repo_lsb_dist="$lsb_dist" + # Docker does not publish a Raspbian Trixie repo; use Debian Trixie instead. + if [ "$lsb_dist" = "raspbian" ] && [ "$dist_version" = "trixie" ]; then + apt_repo_lsb_dist="debian" + fi + apt_repo="deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] $DOWNLOAD_URL/linux/$apt_repo_lsb_dist $dist_version $CHANNEL" ( if ! is_dry_run; then set -x @@ -565,7 +570,7 @@ do_install() { $sh_c 'apt-get -qq update >/dev/null' $sh_c "DEBIAN_FRONTEND=noninteractive apt-get -y -qq install $pre_reqs >/dev/null" $sh_c 'install -m 0755 -d /etc/apt/keyrings' - $sh_c "curl -fsSL \"$DOWNLOAD_URL/linux/$lsb_dist/gpg\" -o /etc/apt/keyrings/docker.asc" + $sh_c "curl -fsSL \"$DOWNLOAD_URL/linux/$apt_repo_lsb_dist/gpg\" -o /etc/apt/keyrings/docker.asc" $sh_c "chmod a+r /etc/apt/keyrings/docker.asc" $sh_c "echo \"$apt_repo\" > /etc/apt/sources.list.d/docker.list" $sh_c 'apt-get -qq update >/dev/null' From b1691976bd3149fc2974d3ed3ba40011173fa17e Mon Sep 17 00:00:00 2001 From: Eric Curtin Date: Tue, 30 Jun 2026 14:44:21 +0100 Subject: [PATCH 2/2] Normalize Fedora Asahi Remix to Fedora So installs work on Fedora Asahi Remix Signed-off-by: Eric Curtin --- install.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/install.sh b/install.sh index 04185598..fe18a462 100755 --- a/install.sh +++ b/install.sh @@ -290,6 +290,12 @@ get_distribution() { if [ -r /etc/os-release ]; then lsb_dist="$(. /etc/os-release && echo "$ID")" fi + + # Normalize Fedora Asahi Remix to fedora + if [ "$lsb_dist" = "fedora-asahi-remix" ]; then + lsb_dist="fedora" + fi + # Returning an empty string here should be alright since the # case statements don't act unless you provide an actual value echo "$lsb_dist"