[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#224509: Don't require a TTY during maintainer script execution



On Sat, 2009-08-08 at 12:51:33 -0700, Russ Allbery wrote:
> Julien Cristau <jcristau@debian.org> writes:
> > what does this change mean for essential packages that want to prompt
> > the user when debconf isn't available?  E.g. libc6.postinst tries to use
> > debconf, and if that's not available and $DEBIAN_FRONTEND !=
> > noninteractive it prompts the user and reads stdin.  I guess it's
> > reasonable to expect dpkg frontends that don't provide a tty to set
> > DEBIAN_FRONTEND, but maybe that should be spelled out?
> 
> It should be if that's something that packages can rely on.  Does dpkg
> always set that if the session is not interactive?

dpkg never sets that variable.

regards,
guillem



Reply to: