setup.sh: remove stale Docker Inc repo before apt-get update to fix failure on Debian

This commit is contained in:
Ada
2026-04-06 10:34:15 -04:00
parent 80752ae502
commit 821a990a50

View File

@@ -100,7 +100,8 @@ echo ""
# Update system # Update system
echo "[1/4] Updating system packages..." echo "[1/4] Updating system packages..."
apt-get update -qq rm -f /etc/apt/sources.list.d/docker.list 2>/dev/null || true
apt-get update -qq 2>/dev/null || apt-get update
apt-get install -y -qq curl git ca-certificates gnupg > /dev/null 2>&1 apt-get install -y -qq curl git ca-certificates gnupg > /dev/null 2>&1
# Install Docker # Install Docker