[Debconf-devel] Bug#985572: debconf: please test for the usability of the debconf frontends
Aurelien Jarno
aurelien at aurel32.net
Sat Mar 20 18:27:44 GMT 2021
On 2021-03-20 12:48, Colin Watson wrote:
> On Sat, Mar 20, 2021 at 12:26:05PM +0100, Aurelien Jarno wrote:
> > On 2021-03-20 10:25, Aurelien Jarno wrote:
> > > By the way, I have noticed that their is support for the Xdialog
> > > frontend, but it seems that in practice no package is providing this
> > > binary.
> >
> > Please note that this is already implemented in cdebconf. If whiptail
> > installed but not usable, it fallbacks to readline.
>
> I rather doubt that, since cdebconf doesn't use whiptail - it has its
> own in-process newt frontend.
Yep, you are correct. What I wanted to say is that if the cdebconf
frontend can't be executed, for example due to a symbol missing in
libslang2, cdebconf is able to fallback to the readline frontend instead
of exiting with an error.
> The suggestion to test with --version seems reasonable, though. I'll
> look into that.
Thanks.
Aurelien
--
Aurelien Jarno GPG: 4096R/1DDD8C9B
aurelien at aurel32.net http://www.aurel32.net
More information about the Debconf-devel
mailing list