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

Re: debootstrap and interactive postinst scripts

On Wed, Jun 06, 2001 at 12:49:08AM +1000, Anthony Towns wrote:
> 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.

That'll be a bug against gcc-3.0 then.  I'll file once I can
get to bugs.d.o to check is hasn't already been filed.


Reply to: