mirror of
				https://github.com/bashclub/zamba-lxc-toolbox.git
				synced 2025-11-04 08:02:28 +01:00 
			
		
		
		
	Change debian repos to deb.debian.org
This commit is contained in:
		@@ -27,9 +27,9 @@ locale-gen $LXC_LOCALE
 | 
				
			|||||||
if [ "$LXC_TEMPLATE_VERSION" == "debian-10-standard" ] ; then
 | 
					if [ "$LXC_TEMPLATE_VERSION" == "debian-10-standard" ] ; then
 | 
				
			||||||
 | 
					
 | 
				
			||||||
cat << EOF > /etc/apt/sources.list
 | 
					cat << EOF > /etc/apt/sources.list
 | 
				
			||||||
deb http://ftp.halifax.rwth-aachen.de/debian/ buster main contrib
 | 
					deb http://deb.debian.org/debian/ buster main contrib
 | 
				
			||||||
 | 
					
 | 
				
			||||||
deb http://ftp.halifax.rwth-aachen.de/debian/ buster-updates main contrib
 | 
					deb http://deb.debian.org/debian/ buster-updates main contrib
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# security updates
 | 
					# security updates
 | 
				
			||||||
deb http://security.debian.org/debian-security buster/updates main contrib
 | 
					deb http://security.debian.org/debian-security buster/updates main contrib
 | 
				
			||||||
@@ -38,9 +38,9 @@ EOF
 | 
				
			|||||||
elif [ "$LXC_TEMPLATE_VERSION" == "debian-11-standard" ] ; then
 | 
					elif [ "$LXC_TEMPLATE_VERSION" == "debian-11-standard" ] ; then
 | 
				
			||||||
 | 
					
 | 
				
			||||||
cat << EOF > /etc/apt/sources.list
 | 
					cat << EOF > /etc/apt/sources.list
 | 
				
			||||||
deb http://ftp.halifax.rwth-aachen.de/debian/ bullseye main contrib
 | 
					deb http://deb.debian.org/debian/ bullseye main contrib
 | 
				
			||||||
 | 
					
 | 
				
			||||||
deb http://ftp.halifax.rwth-aachen.de/debian/ bullseye-updates main contrib
 | 
					deb http://deb.debian.org/debian/ bullseye-updates main contrib
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# security updates
 | 
					# security updates
 | 
				
			||||||
deb http://security.debian.org/debian-security bullseye-security main contrib
 | 
					deb http://security.debian.org/debian-security bullseye-security main contrib
 | 
				
			||||||
@@ -49,9 +49,9 @@ EOF
 | 
				
			|||||||
elif [ "$LXC_TEMPLATE_VERSION" == "debian-12-standard" ] ; then
 | 
					elif [ "$LXC_TEMPLATE_VERSION" == "debian-12-standard" ] ; then
 | 
				
			||||||
 | 
					
 | 
				
			||||||
cat << EOF > /etc/apt/sources.list
 | 
					cat << EOF > /etc/apt/sources.list
 | 
				
			||||||
deb http://ftp.halifax.rwth-aachen.de/debian/ bookworm main contrib
 | 
					deb http://deb.debian.org/debian/ bookworm main contrib
 | 
				
			||||||
 | 
					
 | 
				
			||||||
deb http://ftp.halifax.rwth-aachen.de/debian/ bookworm-updates main contrib
 | 
					deb http://deb.debian.org/debian/ bookworm-updates main contrib
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# security updates
 | 
					# security updates
 | 
				
			||||||
deb http://security.debian.org/debian-security bookworm-security main contrib
 | 
					deb http://security.debian.org/debian-security bookworm-security main contrib
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -27,7 +27,7 @@ for f in ${OPTIONAL_FEATURES[@]}; do
 | 
				
			|||||||
  fi
 | 
					  fi
 | 
				
			||||||
done
 | 
					done
 | 
				
			||||||
 | 
					
 | 
				
			||||||
echo "deb http://ftp.halifax.rwth-aachen.de/debian/ bookworm-backports main contrib" >> /etc/apt/sources.list
 | 
					echo "deb http://deb.debian.org/debian/ bookworm-backports main contrib" >> /etc/apt/sources.list
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# update packages
 | 
					# update packages
 | 
				
			||||||
apt update
 | 
					apt update
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -27,7 +27,7 @@ for f in ${OPTIONAL_FEATURES[@]}; do
 | 
				
			|||||||
  fi
 | 
					  fi
 | 
				
			||||||
done
 | 
					done
 | 
				
			||||||
 | 
					
 | 
				
			||||||
echo "deb http://ftp.halifax.rwth-aachen.de/debian/ bookworm-backports main contrib" >> /etc/apt/sources.list
 | 
					echo "deb http://deb.debian.org/debian/ bookworm-backports main contrib" >> /etc/apt/sources.list
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# update packages
 | 
					# update packages
 | 
				
			||||||
apt update
 | 
					apt update
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -9,7 +9,7 @@ source /root/functions.sh
 | 
				
			|||||||
source /root/zamba.conf
 | 
					source /root/zamba.conf
 | 
				
			||||||
source /root/constants-service.conf
 | 
					source /root/constants-service.conf
 | 
				
			||||||
 | 
					
 | 
				
			||||||
echo "deb http://ftp.halifax.rwth-aachen.de/debian/ bookworm-backports main contrib" >> /etc/apt/sources.list
 | 
					echo "deb http://deb.debian.org/debian/ bookworm-backports main contrib" >> /etc/apt/sources.list
 | 
				
			||||||
 | 
					
 | 
				
			||||||
apt update
 | 
					apt update
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -12,7 +12,7 @@ source /root/constants-service.conf
 | 
				
			|||||||
apt-key adv --fetch-keys https://repo.45drives.com/key/gpg.asc
 | 
					apt-key adv --fetch-keys https://repo.45drives.com/key/gpg.asc
 | 
				
			||||||
echo "deb https://repo.45drives.com/debian focal main" > /etc/apt/sources.list.d/45drives.list
 | 
					echo "deb https://repo.45drives.com/debian focal main" > /etc/apt/sources.list.d/45drives.list
 | 
				
			||||||
 | 
					
 | 
				
			||||||
echo "deb http://ftp.halifax.rwth-aachen.de/debian/ bookworm-backports main contrib" >> /etc/apt/sources.list
 | 
					echo "deb http://deb.debian.org/debian/ bookworm-backports main contrib" >> /etc/apt/sources.list
 | 
				
			||||||
 | 
					
 | 
				
			||||||
apt update
 | 
					apt update
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user