From 1fcd407ef06d457126c089c53b40a0af4a0acf2b Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Mon, 23 Jul 2018 09:07:30 +0200 Subject: [PATCH] Switch default mirror from httpredir.debian.org to deb.debian.org httpredir.debian.org forwards to deb.debian.org nowadays, provided by Fastly and Amazon CloudFront. --- config | 2 +- grml-debootstrap | 4 ++-- grml-debootstrap.8.txt | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/config b/config index b86b997..c4d3b8e 100644 --- a/config +++ b/config @@ -37,7 +37,7 @@ # Set mirror where packages will be downloaded from. # Default: use /etc/debootstrap/etc/apt/sources.list if it exists, else -# 'http://httpredir.debian.org/debian' +# 'http://deb.debian.org/debian' # Usage example: # MIRROR='ftp://ftp.de.debian.org/debian' diff --git a/grml-debootstrap b/grml-debootstrap index 916ee74..1c5d8b7 100755 --- a/grml-debootstrap +++ b/grml-debootstrap @@ -58,7 +58,7 @@ MNTPOINT="/mnt/debootstrap.$$" [ -n "$DEFAULT_LOCALES" ] || DEFAULT_LOCALES='en_US.UTF-8' [ -n "$DISK_IDENTIFIER" ] || DISK_IDENTIFIER='26ada0c0-1165-4098-884d-aafd2220c2c6' [ -n "$EXTRAPACKAGES" ] || EXTRAPACKAGES='yes' -[ -n "$FALLBACK_MIRROR" ] || FALLBACK_MIRROR='http://httpredir.debian.org/debian' +[ -n "$FALLBACK_MIRROR" ] || FALLBACK_MIRROR='http://deb.debian.org/debian' [ -n "$FIXED_DISK_IDENTIFIERS" ] || FIXED_DISK_IDENTIFIERS="no" [ -n "$FORCE" ] || FORCE='' [ -n "$HOSTNAME" ] || HOSTNAME='grml' @@ -818,7 +818,7 @@ prompt_for_mirror() [ $? -eq 0 ] || bailout if [ "$CHOOSE_MIRROR" = 'net' ] ; then - [ -n "$MIRROR" ] || MIRROR='http://httpredir.debian.org/debian' + [ -n "$MIRROR" ] || MIRROR='http://deb.debian.org/debian' MIRROR="$(dialog --stdout --title "${PN}" --inputbox \ "Please enter Debian mirror you would like to use for installing packages." \ 0 0 $MIRROR)" diff --git a/grml-debootstrap.8.txt b/grml-debootstrap.8.txt index 46af45e..7fe365c 100644 --- a/grml-debootstrap.8.txt +++ b/grml-debootstrap.8.txt @@ -287,7 +287,7 @@ any bootloader). Install default Debian release (stretch) on /dev/sda3 and install bootmanager Grub in MBR (master boot record) of /dev/sda and use /dev/sda3 as system partition. -Use specified mirror instead of the default (http://httpredir.debian.org/debian) one. +Use specified mirror instead of the default (http://deb.debian.org/debian) one. mount /dev/sda1 /mnt/sda1 grml-debootstrap --vmfile --vmsize 3G --target /mnt/sda1/qemu.img @@ -374,7 +374,7 @@ releases: lenny, squeeze, wheezy, jessie, stretch and sid. Usage example: releas mirror=... Specify mirror which should be used for apt-get/aptitude instead -of the default one (http://httpredir.debian.org/debian). +of the default one (http://deb.debian.org/debian). Usage example: mirror=ftp://ftp.tugraz.at/mirror/debian password=... @@ -411,7 +411,7 @@ anymore unless you really know what you are doing. Choose the current Debian stable version instead. Notice that you need to specify a mirror providing the lenny/squeeze releases, the -default (http://httpredir.debian.org/debian) doesn't provide it any longer nowadays. +default (http://deb.debian.org/debian) doesn't provide it any longer nowadays. Set the mirror to e.g. http://archive.debian.org/debian/ if you don't have your own lenny/squeeze mirror. -- 2.1.4