Bug#266647: choose-mirror: doesn't seem possible to pre-seed debconf answers
Package: choose-mirror
Severity: normal
It doesn't seem to be possible to pre-seed the debconf answers used by
choose-mirror such that the questions can be answered in an automatic
way. Here is what I am doing:
db_set mirror/country "enter information manually" || true
db_set mirror/http/countries "enter information manually" || true
db_set mirror/http/directory "/LinuxCOE/Debian" || true
db_set mirror/http/hostname "linuxcoe.rose.hp.com" || true
db_set mirror/http/proxy "" || true
db_set mirror/suite "testing" || true
db_subst mirror/protocol protocols "http" || true
db_fset mirror/http/countries seen true || true
db_fset mirror/country seen true || true
db_fset mirror/http/directory seen true || true
db_fset mirror/http/hostname seen true || true
db_fset mirror/http/proxy seen true || true
db_fset mirror/suite seen true || true
db_fset mirror/protocol seen true || true
I do not want to use ftp as an installation source. With the above
settings I get a "Segmentation fault" message on d-i's virtual console
#4. If I comment out the last db_fset statement then choose-mirror
stops and prompts me to choose an ftp mirror. So, is it possible to
pre-answer the necessary questions, and if so, how? I've looked at
choose-mirror.c and can't see where my problem might be.
(If this is documented somewhere please point me to it, I couldn't find
anything.)
Thanks,
Paul.
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.6
Locale: LANG=en_US, LC_CTYPE=en_US
Reply to: