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

Re: dpkg modification: non-interactivity



Previously Aaron Van Couwenberghe wrote:
> No, dpkg *needs* to make two passes. a noninteractive pass and a run of the
> interactive command queue.

Indeed.

> 	If the 'standards version' on a package is old (pre-non-interactive
> stage) the package's postinst should automatically be considered
> interactive; it will be configured after all the more recent ones. An old
> standards-version should be considered a grave bug after this change.

Packages have a version number, which is more usefull to check. Combine this
with a dpkg --assert-configtool in the prerm and you're fine.

> 	One of the other major strengths that this setup will offer is the
> ability to run simultaneous jobs. IE you can be running 3 postinst scripts
> at once, dramatically increasing speed.

I hadn't even thought of that possibility. You have to be very carefull to
group simultanious postinst/preinsts to make sure you don't mess up the
dependencies, but it is quite doable.

> Anyway, this looks really promising. All that is really needed IIRC is a few
> people to actually work on something like this. Personally a lot of my time
> is taken up hacking berlin....

Starting from Jan 14 (my last exam for a while) I'm going to work on it. I'll
start with the database bit I think.

> Nullum magnum ingenium sine mixtura dementiae fuit.
>         [There is no great genius without some touch of madness.]
>                 -- Seneca

I think the verb can use a better translation there.. 

Wichert.

-- 
==============================================================================
This combination of bytes forms a message written to you by Wichert Akkerman.
E-Mail: wakkerma@cs.leidenuniv.nl
WWW: http://www.wi.leidenuniv.nl/~wichert/

Attachment: pgpiDDzvIsdNV.pgp
Description: PGP signature


Reply to: