[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#789247: di-netboot-assistant: broken deb.d.o urls



Hi,

On Fri, Mar 09, 2018 at 01:20:14PM -0800, Matt Taggart wrote:
> It looks like the deb.debian.org URLs in di-sources.list need to be updated
>
> E: Can't download 'stretch' for 'amd64' (http://deb.debian.org/dists/stretch/main/installer-amd64/current/images/MD5SUMS).
>
> The URL should have a leading 'debian/' in the path, ie
>
> http://deb.debian.org/dists/stretch/main/installer...
>
> I don't know if this is just some mirrors or everywhere, but not having it
> resulted in an error for me (it resolved to cdn-aws.deb.debian.org)


Hm, the /debian/ should be inserted by the following in
'/etc/di-netboot-assistant/di-netboot-assistant.conf' [1]:

   #Download Mirror
   # The variable MIRROR_REGEXPS contain a list of space separated sed
   # regular expression, to rewrite di-sources.list URLs, to match your
   # prefered mirror.  For example:
   MIRROR_REGEXPS="s=://deb.debian.org/=://deb.debian.org/debian/="

I was already wondering why not to use the correct URL in
'di-sources.list', but kept that as it works fine for me.  Can you
check if you have the line in 'di-netboot-assistant.conf'?  Perhaps
it's there for historical reasons and we can/should remove it.

Best regards,

  Andi


[1] https://anonscm.debian.org/cgit/d-i/netboot-assistant.git/tree/config/di-netboot-assistant.conf


Reply to: