From fd8cdf767e79a657a38dd597e4778ee0b9649849 Mon Sep 17 00:00:00 2001 From: joe Date: Wed, 13 Aug 2025 18:24:57 -0700 Subject: [PATCH] Fix APT repository configuration error - Remove problematic Docker repository line causing 403 errors - Fix malformed HTTPS/// URL syntax - Maintain apt-cacher-ng proxy functionality for Debian sources - All workflow files now have clean APT configuration --- .forgejo/workflows/build.yml | 1 - .forgejo/workflows/ci.yml | 1 - .forgejo/workflows/test.yml | 1 - .forgejo/workflows/update-readme.yml | 1 - 4 files changed, 4 deletions(-) diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml index d574b55f..75b4c66a 100644 --- a/.forgejo/workflows/build.yml +++ b/.forgejo/workflows/build.yml @@ -61,7 +61,6 @@ jobs: # Configure apt-cacher-ng proxy sources echo "deb http://192.168.1.101:3142/ftp.debian.org/debian stable main contrib non-free" > /etc/apt/sources.list.d/apt-cacher-ng.list echo "deb-src http://192.168.1.101:3142/ftp.debian.org/debian stable main contrib non-free" >> /etc/apt/sources.list.d/apt-cacher-ng.list - echo "deb http://192.168.1.101:3142/HTTPS///get.docker.com/ubuntu docker main" >> /etc/apt/sources.list.d/apt-cacher-ng.list # Update package lists with proxy sources apt update -y diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index 2fbb6cf6..73b02a72 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -38,7 +38,6 @@ jobs: echo "✅ apt-cacher-ng is available, configuring proxy sources..." echo "deb http://192.168.1.101:3142/ftp.debian.org/debian stable main contrib non-free" > /etc/apt/sources.list.d/apt-cacher-ng.list echo "deb-src http://192.168.1.101:3142/ftp.debian.org/debian stable main contrib non-free" >> /etc/apt/sources.list.d/apt-cacher-ng.list - echo "deb http://192.168.1.101:3142/HTTPS///get.docker.com/ubuntu docker main" >> /etc/apt/sources.list.d/apt-cacher-ng.list apt update -y else echo "⚠️ apt-cacher-ng not available, using standard Debian sources..." diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml index 76ed0e81..d9a5ad90 100644 --- a/.forgejo/workflows/test.yml +++ b/.forgejo/workflows/test.yml @@ -45,7 +45,6 @@ jobs: # Configure apt-cacher-ng proxy sources echo "deb http://192.168.1.101:3142/ftp.debian.org/debian stable main contrib non-free" > /etc/apt/sources.list.d/apt-cacher-ng.list echo "deb-src http://192.168.1.101:3142/ftp.debian.org/debian stable main contrib non-free" >> /etc/apt/sources.list.d/apt-cacher-ng.list - echo "deb http://192.168.1.101:3142/HTTPS///get.docker.com/ubuntu docker main" >> /etc/apt/sources.list.d/apt-cacher-ng.list # Update package lists with proxy sources apt update -y diff --git a/.forgejo/workflows/update-readme.yml b/.forgejo/workflows/update-readme.yml index 411463c6..06812c56 100644 --- a/.forgejo/workflows/update-readme.yml +++ b/.forgejo/workflows/update-readme.yml @@ -30,7 +30,6 @@ jobs: # Configure apt-cacher-ng proxy sources echo "deb http://192.168.1.101:3142/ftp.debian.org/debian stable main contrib non-free" > /etc/apt/sources.list.d/apt-cacher-ng.list echo "deb-src http://192.168.1.101:3142/ftp.debian.org/debian stable main contrib non-free" >> /etc/apt/sources.list.d/apt-cacher-ng.list - echo "deb http://192.168.1.101:3142/HTTPS///get.docker.com/ubuntu docker main" >> /etc/apt/sources.list.d/apt-cacher-ng.list # Update package lists with proxy sources apt update -y