It still isn't working. I now get an immediate bad mirror. db_get on
mirror/http/mirror is empty, so mirror_root is still null.
Below a debconf trace with the new code (no default) and two debug log
statements added by me. Boot in auto mode.
It clearly shows mirror/http/mirror getting its
Frans Pop wrote:
Guess this makes the earlier cloned bug to debconf more severe.
Properly fixing it is going to be tricky. Debconf does it by
having a whole class of noninteractive question elements, that are
always created for questions that are not displayed. So it's a simple
matter of having
Attached patch seems to work (mirror works in auto mode), and the small
test suite I added shows it does the right thing in all 4 cases.
Could use some more testing, and my caveats about this being a hacky and
suboptimal approach still apply.
--
see shy jo
From
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
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
On Wednesday 18 June 2008, Frans Pop wrote:
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,
(Maybe I should wait a bit before sending...)
On Wednesday 18 June 2008, Frans Pop wrote:
I suspect that in other cases where we use choices generated at runtime
we either (1) don't have a default value in the template or (2) do set
a valid default from the generated choices before db_input.
Frans Pop wrote:
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
On Wednesday 18 June 2008, Joey Hess wrote:
So I'm very much leaning toward dropping the default, and letting
Agreed.
cdebconf default to the first mirror in the select list. And possibly
improving the sorting of the select list if necessary.
I've never really looked at sort order. I know
Package: installation-reports
Boot method: Netinstall CD (ISO)
Image version:
http://cdimage.debian.org/cdimage/lenny_di_beta2/i386/iso-cd/debian-LennyBeta2-i386-netinst.iso
Date: 2008-06-16
Machine: VirtualBox 1.6.2
Processor: Intel Core2 Quad Q9300 @ 2.5 GHz
Memory: 256MB
Partitions: root on
reassign 486558 choose-mirror 2.24
severity 486558 important
tags 486558 confirmed
thanks
Thanks for the report.
On Monday 16 June 2008, Anders Andersson wrote:
Comments/Problems:
I tried the automatic install, and everything was fine until I got the
following error: Bad archive mirror.
Processing commands for [EMAIL PROTECTED]:
reassign 486558 choose-mirror 2.24
Bug#486558: installation-reports: strange (null) in URL for tasksel for
automatic install
Bug reassigned from package `installation-reports' to `choose-mirror'.
severity 486558 important
Bug#486558:
12 matches
Mail list logo