On 03/10/2018 04:22 AM, Andreas B. Mundt wrote:

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:

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.

I had just grabbed the latest di-sources.list to use on an older version of the package, I didn't know about that regexp thing in the config file...

It's sort of a nice feature, it makes using a local mirror/proxy easier (assuming you know you can use that). But I suspect most mirrors would have a debian/ dir and if a user had one that _didn't_ then the regexp could be setup the other way to strip it out.

So my vote would be fix the URLs in di-sources.list, comment out MIRROR_REGEXP in the conf, change it's regexps to provide an example of how it could be used.

I guess the only concern is the existing conffiles that are out there and if that would break existing installs. If you changed both sources and conf at the same time, hopefully it would be clear. I guess if you go that route, wait until one of them needs another change anyway?

Matt Taggart

Reply via email to