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

Re: dpkg modification: non-interactivity



On Mon, Jan 04, 1999 at 10:56:41PM +0100, Wichert Akkerman wrote:
 
> The {pre,post}{inst,rm} should definitely be non-interactive. 

I don't think so. They should not directly query the user but instead use a
layer in between.

> > This also won't address dpkg asking if it may overwrite a conffile.
> 
> Interesting point. The problem here is that you can't really set this
> centrally for a cluster since each machine that uses the central
> configuration might have different config-files. I'm not sure what to do
> about that..

Just install the new file either as <name>.dpkg-new or alternatively reserve a
directory /var/lib/config for new config files and register them in a simple
database. 

This does not take care of incompatible config-files. We need an extension of
the control file to take care of this.

> > This requires a "master" workstation to do a sample install, so that a 
> > proper expect script can be generated.
> 
> I don't see that, we have dependencies to prevent that.

I don't see the point at all :)

cu
    Torsten

Attachment: pgpLIbyjhn6f2.pgp
Description: PGP signature


Reply to: