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
This commit is contained in:
parent
434ccc1261
commit
fd8cdf767e
4 changed files with 0 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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..."
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue