[Libosinfo] [PATCH] debian: update URLs for Debian 8 ISOs

Guido Günther agx at sigxcpu.org
Thu Mar 16 13:14:45 UTC 2017


On Thu, Mar 16, 2017 at 09:52:25AM +0100, Pino Toscano wrote:
> On Wednesday, 15 March 2017 20:35:03 CET Fabiano Fidêncio wrote:
> > On Wed, Mar 15, 2017 at 6:28 PM, Pino Toscano <ptoscano at redhat.com> wrote:
> > > Switch to URLs to the archive part of cdimage, so they will not become
> > > invalid as soon as a new release is available.
> > >
> > > There is also a switch to version 8.6.0 -- the last Debian version at
> > > this time is 8.7.1, which is just 8.7.0 but with fixed Volume IDs for
> > > medias.  Unfortunately, 8.7.1 is not available in the archive, yet.
> > > ---
> > >  data/os/debian.org/debian-8.xml.in | 4 ++--
> > >  1 file changed, 2 insertions(+), 2 deletions(-)
> > >
> > > diff --git a/data/os/debian.org/debian-8.xml.in b/data/os/debian.org/debian-8.xml.in
> > > index 19bb8a5..e2e131f 100644
> > > --- a/data/os/debian.org/debian-8.xml.in
> > > +++ b/data/os/debian.org/debian-8.xml.in
> > > @@ -33,7 +33,7 @@
> > >      </resources>
> > >
> > >      <media arch="i686">
> > > -      <url>http://cdimage.debian.org/debian-cd/8.4.0/i386/iso-dvd/debian-8.4.0-i386-DVD-1.iso</url>
> > > +      <url>http://cdimage.debian.org/mirror/cdimage/archive/8.6.0/i386/iso-dvd/debian-8.6.0-i386-DVD-1.iso</url>
> > >        <iso>
> > >          <volume-id>Debian 8.\d.\d i386 1</volume-id>
> > >        </iso>
> > > @@ -41,7 +41,7 @@
> > >        <initrd>install.386/initrd.gz</initrd>
> > >      </media>
> > >      <media arch="x86_64">
> > > -      <url>http://cdimage.debian.org/debian-cd/8.4.0/amd64/iso-dvd/debian-8.4.0-amd64-DVD-1.iso</url>
> > > +      <url>http://cdimage.debian.org/mirror/cdimage/archive/8.6.0/amd64/iso-dvd/debian-8.6.0-amd64-DVD-1.iso</url>
> > >        <iso>
> > >          <volume-id>Debian 8.\d.\d amd64 1</volume-id>
> > >        </iso>
> > > --
> > > 2.9.3
> > >
> > > _______________________________________________
> > > Libosinfo mailing list
> > > Libosinfo at redhat.com
> > > https://www.redhat.com/mailman/listinfo/libosinfo
> > 
> > Pino,
> > 
> > I've just reviewed Guido's patch.
> > I know your approach and patch are different from his, but I'll go
> > with his patch for now.
> 
> Heya,
> 
> that is fine -- though the problem still stands: the current paths
> in debian-8.xml point to the non-archive part of cdimage, and there
> only the latest version is kept. The consequence is that even the new
> updated path (with 8.7.1) will become broken once 8.8 is released in
> few months.  OTOH, switching to archive means the URL is still working,
> although of course may point to the non-latest version of Debian 8.
> Still, IMHO it would be better to still be able to install an older
> version (which you can easily dist-upgrade later), than nothing at all.
> 
> I'm CCing Guido to get his opinion.

(I'm cc'ing the relevant Debian bug report.)

While using the archived versions is great for older releases I guess we
should stick to the current URL.

Another alternative would be a reflection service. I've set up

    http://cdr.debian.net/debian-cd/8/amd64/iso-dvd

that would redirect to the current stable URLs. That would put the load
of switching URLs on my end alone but having a non-official URLs in
osinfo-db looks bad but it does allow for stable links to the current RC
candidates that won't change on release:

    http://cdr.debian.net/debian-cd/9/i386/iso-dvd

so we could add Debian stretch just now.
Cheers,
 -- Guido




More information about the Libosinfo mailing list