From 4a9077a0866a639999f625a8030402bba2c5deef Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Wed, 17 Jun 2015 20:16:30 +0200 Subject: [PATCH] Use official redirector address httpredir.debian.org [1] The address `http.debian.net` is officially replaced by `httpredir.debian.org`. Use the following command to update all places. git grep -l 'http.debian.net/debian' | xargs sed -i 's,http.debian.net/debian,httpredir.debian.org/debian,g' [1] http://httpredir.debian.org --- config | 2 +- grml-debootstrap | 4 ++-- grml-debootstrap.8.txt | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/config b/config index 427e561..a9fb880 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://http.debian.net/debian' +# 'http://httpredir.debian.org/debian' # Usage example: # MIRROR='ftp://ftp.de.debian.org/debian' diff --git a/grml-debootstrap b/grml-debootstrap index 107a186..be7bf63 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://http.debian.net/debian' +[ -n "$FALLBACK_MIRROR" ] || FALLBACK_MIRROR='http://httpredir.debian.org/debian' [ -n "$FIXED_DISK_IDENTIFIERS" ] || FIXED_DISK_IDENTIFIERS="no" [ -n "$FORCE" ] || FORCE='' [ -n "$HOSTNAME" ] || HOSTNAME='grml' @@ -652,7 +652,7 @@ prompt_for_mirror() [ $? -eq 0 ] || bailout if [ "$CHOOSE_MIRROR" = 'net' ] ; then - [ -n "$MIRROR" ] || MIRROR='http://http.debian.net/debian' + [ -n "$MIRROR" ] || MIRROR='http://httpredir.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 4b68abd..8b78669 100644 --- a/grml-debootstrap.8.txt +++ b/grml-debootstrap.8.txt @@ -272,7 +272,7 @@ any bootloader). Install default Debian release (jessie) 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://http.debian.net/debian) one. +Use specified mirror instead of the default (http://httpredir.debian.org/debian) one. mount /dev/sda1 /mnt/sda1 grml-debootstrap --vmfile --vmsize 3G --target /mnt/sda1/qemu.img @@ -359,7 +359,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://http.debian.net/debian). +of the default one (http://httpredir.debian.org/debian). Usage example: mirror=ftp://ftp.tugraz.at/mirror/debian password=... @@ -396,7 +396,7 @@ anymore unless you really know what you are doing. Choose Debian 8.0 (jessie) or something newer instead. Notice that you need to specify a mirror providing the lenny release, the -default (http://http.debian.net/debian) doesn't provide it any longer nowadays. +default (http://httpredir.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 mirror. -- 2.1.4