On Wed, Sep 28, 2005 at 12:48:13AM -0500, Manoj Srivastava wrote:
>         Sounds to me that the package in question is getting ahead of
>  policy and deciding that the debconf transition is over.  Well, is it
>  just powerpc debian installer that build depends on kernel-images?
>  Why? I am not sure that merely making this go over to debconf is
>  going to change the behaviour -- if a human does not answer some
>  install time questions, kernel-images may not install anyway.

They'll _install_ (as far as dpkg is concerned) fine.  They may not be
in a state to be booted, but you can access all of the modules and
binaries, which I think is what the d-i package is trying to do.  And
this particular use case is during a build in a chroot, where you'll
never want to boot the image anyhow.

You don't need to switch to debconf to fix this -- you just need to check
whether or not you have a tty to actually ask the question on, and default
to the answer that allows the package to install, tho it may not be bootable.
You can still output warning messages to that effect.  If it's any easier, you
can also check if DEBIAN_FRONTEND='noninteractive'.  Debconf will set this
when questions are not to be asked, and the buildd sets it as well, so debconf
using packages use their defaults.

As for the details of why d-i needs to do this, and whether or not it will do
so on other archs in the future, you'll have to ask the d-i team, as I don't
know.

Attachment: signature.asc
Description: Digital signature

Reply via email to