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

Re: AutoRPM



First: You're very right that it should be possible to make the
installation non-interactive, or at least postpone interactiveness.

> I've tried to categorize what package post-install scripts do, I think
> it can be broken down into:
> 
>  1. Variable setting (boolean and string-valued settings)
>  2. Scripts that take the values and configure the package
>  3. Batch operations (glimpse/man indexing, menu creation)
>  4. Custom interactive programs. (X configuration, maybe MIME
> 	  configuration).

It's a bit different, but we shouldn't forget it: dpkg is interactive
itself when installing new versions of modified conffiles. It asks
whether to use your own version or the maintainer's. I've written for
myself a little script that tries to merge the changes from both
sides, which works for me so far, but isn't very elaborated yet. With
the script, I always say 'N' (use my own version) and merge later.
Maybe this scheme could be a basis for making dpkg non-interactive,
too.

> IMHO, we should address these by:
[...]

Sounds good so far.

Roman


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


Reply to: