Bug#839073: Change archive.ubuntu.com to old-releases.ubuntu.com

2018-02-25 Thread Hideki Yamane
control: tags -1 +patch

On Wed, 28 Sep 2016 08:40:46 -0600 Jeremy Hasty  
wrote:
> The scripts to bootstrap older versions of Ubuntu refer to
> archive.ubuntu.com which is no longer available:

 Here's a patch for it.


-- 
Regards,

 Hideki Yamane henrich @ debian.org/iijmio-mail.jp
>From 61de93a2d541382c5654aa485642e885bd0ae5ee Mon Sep 17 00:00:00 2001
From: Hideki Yamane 
Date: Sun, 25 Feb 2018 18:53:52 +0900
Subject: [PATCH] change repository for old Ubuntu release

Old releases are archived to old-releases.ubuntu.com
---
 scripts/edgy   | 2 +-
 scripts/feisty | 2 +-
 scripts/gutsy  | 7 ++-
 3 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/scripts/edgy b/scripts/edgy
index 01d6568..6f12308 100644
--- a/scripts/edgy
+++ b/scripts/edgy
@@ -1,6 +1,6 @@
 case $ARCH in
   amd64|i386|powerpc|sparc)
-default_mirror http://archive.ubuntu.com/ubuntu
+default_mirror http://old-releases.ubuntu.com/ubuntu
 ;;
   *)
 default_mirror http://ports.ubuntu.com/ubuntu-ports
diff --git a/scripts/feisty b/scripts/feisty
index b0a4631..e38f799 100644
--- a/scripts/feisty
+++ b/scripts/feisty
@@ -1,6 +1,6 @@
 case $ARCH in
   amd64|i386|powerpc|sparc)
-default_mirror http://archive.ubuntu.com/ubuntu
+default_mirror http://old-releases.ubuntu.com/ubuntu
 ;;
   *)
 default_mirror http://ports.ubuntu.com/ubuntu-ports
diff --git a/scripts/gutsy b/scripts/gutsy
index 3e53e13..1846df2 100644
--- a/scripts/gutsy
+++ b/scripts/gutsy
@@ -1,11 +1,16 @@
 case $ARCH in
   amd64|i386)
+	case $SUITE in
+	  gutsy|hardy|intrepid|jaunty|karmic|lucid|maverick|natty|oneiric|precise|quantal|raring|saucy|utopic|vivid|wily|yakkety|zesty)
+	default_mirror http://old-releases.ubuntu.com/ubuntu
+	  ;;
+	  *)
 	default_mirror http://archive.ubuntu.com/ubuntu
 	;;
   sparc)
 	case $SUITE in
 	  gutsy)
-	default_mirror http://archive.ubuntu.com/ubuntu
+	default_mirror http://old-releases.ubuntu.com/ubuntu
 	;;
 	  *)
 	default_mirror http://ports.ubuntu.com/ubuntu-ports
-- 
2.16.2



Bug#839073: Change archive.ubuntu.com to old-releases.ubuntu.com

2016-10-01 Thread Adrian Bunk
On Wed, Sep 28, 2016 at 08:40:46AM -0600, Jeremy Hasty wrote:
> Package: debootstrap
> Version: 1.0.78
> 
> The scripts to bootstrap older versions of Ubuntu refer to
> archive.ubuntu.com which is no longer available:
>...

The same bug is present with old Debian releases:

nonworking:
debootstrap squeeze squeeze

working:
debootstrap squeeze squeeze http://archive.debian.org/debian/

cu
Adrian

-- 

   "Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
   "Only a promise," Lao Er said.
   Pearl S. Buck - Dragon Seed



Bug#839073: Change archive.ubuntu.com to old-releases.ubuntu.com

2016-09-28 Thread Jeremy Hasty
Package: debootstrap
Version: 1.0.78

The scripts to bootstrap older versions of Ubuntu refer to
archive.ubuntu.com which is no longer available:

default_mirror http://archive.ubuntu.com/

W: Cannot check Release signature; keyring file not available
/usr/share/keyrings/ubuntu-archive-keyring.gpg
I: Retrieving Release
W: Retrying failed download of
http://archive.ubuntu.com/ubuntu/dists/lucid/Release
I: Retrieving Release
W: Retrying failed download of
http://archive.ubuntu.com/ubuntu/dists/lucid/Release
I: Retrieving Release
W: Retrying failed download of
http://archive.ubuntu.com/ubuntu/dists/lucid/Release
I: Retrieving Release
W: Retrying failed download of
http://archive.ubuntu.com/ubuntu/dists/lucid/Release
I: Retrieving Release
W: Retrying failed download of
http://archive.ubuntu.com/ubuntu/dists/lucid/Release
I: Retrieving Release
W: Retrying failed download of
http://archive.ubuntu.com/ubuntu/dists/lucid/Release
I: Retrieving Release
W: Retrying failed download of
http://archive.ubuntu.com/ubuntu/dists/lucid/Release
I: Retrieving Release
W: Retrying failed download of
http://archive.ubuntu.com/ubuntu/dists/lucid/Release
I: Retrieving Release
W: Retrying failed download of
http://archive.ubuntu.com/ubuntu/dists/lucid/Release
I: Retrieving Release
W: Retrying failed download of
http://archive.ubuntu.com/ubuntu/dists/lucid/Release
W: http://archive.ubuntu.com/ubuntu/dists/lucid/Release was corrupt
E: Failed getting release file
http://archive.ubuntu.com/ubuntu/dists/lucid/Release

The new URL is old-releases.ubuntu.com.  May I please request the
scripts be updated?

Thank you for your help and attention to this matter.

Respectfully,

--
Jeremy Hasty