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

Bug#486558: installation-reports: strange (null) in URL for tasksel for automatic install



Hi Joey,

I was hoping you'd take a look at this. Thanks!

On Wednesday 18 June 2008, Joey Hess wrote:
> Frans Pop wrote:
> > Because we're running at critical priority, the country mirror list
> > is never actually displayed and thus mirror/http/mirror never gets a
> > value; it does have a default value: ftp.debian.org
>
> Does the code not still ask the question despite it not being
> displayed? Running at critical priority should be identical to running
> at low priority and taking the default for everything.

Well, what I see in questions.dat is that no value is assigned when 
running at critical prio.

I guess that "using the default" (which it in fact does) is not the same 
as "using the first value that is highlighted in the list if the default 
is not included in the list".
When the question is shown the user explicitly selects the non-default 
value, but at critical prio that never happens.

That could be solved by
- do a get for current default
- do a metaget for the list
- if not default in list, set first value from list as default
but I really wanted to get other people's opinion on that before even 
maybe trying to implement it myself.

Possibly it is something that really should be solved at debconf level 
instead.

Cheers,
FJP

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: