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

Bug#100110: interactive postinst on gcc-3.0-base



Package: gcc-3.0-base
Version: 3.0-0pre010526

postinst does a 'read', which causes problems for the installer
when it feeds debootstrap stdin from /dev/null.  Fix is apparently
to not prompt if DEBIAN_FRONTEND=Noninteractive.

Richard


> On Tue, Jun 05, 2001 at 03:03:30PM +0100, Richard Hirst wrote:
> > I have a problem with this; my gcc-3.0-base.deb has a postinst
> > with a "read foo" in it, and a first line of "#!/bin/sh -e".
> > That -e causes the script to exit with code 1 when the read
> > fails (which it does, when directed from /dev/null).  That
> > causes the postinst to fail, and debootstrap never manages
> > to get all packages configured.
> 
> Check for DEBIAN_FRONTEND=Noninteractive, and don't prompt if it's set
> like that.
> 
> Cheers,
> aj



Reply to: