Debian Bug report logs - #813797
Please provide a stable link to the DVDImages

Package: cdimage.debian.org; Maintainer for cdimage.debian.org is Debian CD-ROM Team <debian-cd@lists.debian.org>;

Affects: osinfo-db

Reported by: Guido Günther <agx@sigxcpu.org>

Date: Fri, 5 Feb 2016 11:18:06 UTC

Severity: wishlist

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian CD-ROM Team <debian-cd@lists.debian.org>:
Bug#813797; Package cdimage.debian.org. (Fri, 05 Feb 2016 11:18:10 GMT) (full text, mbox, link).


Acknowledgement sent to Guido Günther <agx@sigxcpu.org>:
New Bug report received and forwarded. Copy sent to Debian CD-ROM Team <debian-cd@lists.debian.org>. (Fri, 05 Feb 2016 11:18:10 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Guido Günther <agx@sigxcpu.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Please provide a stable link to the DVDImages
Date: Fri, 5 Feb 2016 12:15:39 +0100
Package: cdimage.debian.org
Severity: wishlist

Hi,
tools like libosinfo keep a list of URLs to installation media. For
Debian the URL needs to be udated for every point release since there's
currently no stable URL. See e.g.:

    https://git.fedorahosted.org/cgit/libosinfo.git/commit/?id=202acfef63226f72dcca843307ca773f72a46f6a

and the images of old point releases are removed from the server. While
there is a current link for the folder there is none for the DVD image
atm:

    http://cdimage.debian.org/debian-cd/current/amd64/iso-dvd/debian-8.3.0-amd64-DVD-1.iso

Would it be possible to get a stable link for the DVD image as well
like:

    http://cdimage.debian.org/debian-cd/current/amd64/iso-dvd/debian-8-amd64-DVD-1.iso

which would then point to the latest point release?

Cheers,
 -- Guido

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable-updates'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.1.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)



Information forwarded to debian-bugs-dist@lists.debian.org, Debian CD-ROM Team <debian-cd@lists.debian.org>:
Bug#813797; Package cdimage.debian.org. (Thu, 16 Mar 2017 13:18:03 GMT) (full text, mbox, link).


Acknowledgement sent to Guido Günther <agx@sigxcpu.org>:
Extra info received and forwarded to list. Copy sent to Debian CD-ROM Team <debian-cd@lists.debian.org>. (Thu, 16 Mar 2017 13:18:03 GMT) (full text, mbox, link).


Message #10 received at 813797@bugs.debian.org (full text, mbox, reply):

From: Guido Günther <agx@sigxcpu.org>
To: Pino Toscano <ptoscano@redhat.com>
Cc: Fabiano Fidêncio <fabiano@fidencio.org>, libosinfo@redhat.com, 813797@bugs.debian.org
Subject: Re: [Libosinfo] [PATCH] debian: update URLs for Debian 8 ISOs
Date: Thu, 16 Mar 2017 14:14:45 +0100
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@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@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



Added indication that 813797 affects osinfo-db Request was from Guido Günther <agx@sigxcpu.org> to control@bugs.debian.org. (Sun, 07 Apr 2019 10:33:04 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Sep 1 10:24:40 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.