Bug#213165: cdebconf-udeb: Give no warning if templates are missing
Package: cdebconf-udeb
Version: 0.44
Severity: minor
This problem was discovered during the d-i debcamp, when trying to get
d-i booting on mips (SGI Indy).
When starting cdebconf/main-menu in a freshly created debian-installer
environment, the screen went blank and then user was sent back to the
prompt without any explanation. Main-menu was started like this in a
chroot:
TERM=vt102 DEBCONF_DEBUG=5 /usr/share/debconf/frontend /usr/bin/main-menu
The problem was later found to be lack of templates, and the solution
was to load them using this command:
/usr/bin/debconf-loadtemplate debian /var/lib/dpkg/info/*.templates
I believe there should be some error message when this situation
arises, to assist future porters avoid the problem in the future. I'm
not sure how the situation should be detected, but I belive that in
this case there was no templates available. That might be a situation
to report to the caller, instead of just clearing the screen and exit.
Reply to: