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

Re: Dpkg prompting - partitioning the problem



John Lines <john@paladin.demon.co.uk> wrote:
> One thing which has not been mentioned in all this is that the great majority
> of packages do not require any prompting.

This, of course, is quite true.

> I propose that we could start to tackle the problem with a new package
> maintainer script called, say 'getinfo'
>
> The getinfo script for each package would be called before its preinst
> and will just return true if it has got all the information it needs.

A simpler mechanism would simply run dpkg (or at least the
package-specific scripts) with something like /dev/null for stdin.
Packages which needed input would remain unconfigured (or are buggy),
packages which depend on them would remain unconfigured.  Everything
else would install.  Obviously, this also deals with the case where
some canned input is available for a package specific script, but
the script needs a bit more than what's available.

-- 
Raul


--  
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: