Bug#229715: apt: Add a "postinst command spool"
Pierre THIERRY <pierre.thierry@moine-fou.org> writes:
> > > Apt should include a manner to add some commands in a spool, and
> > > those commands would be run only when all packages have been
> > > unpacked.
> > I know of no reason why such a scheme would require any specific
> > support from apt.
>
> The spool itself could be external to APT, but this spool has still to
> be called automatically when all packages have been installed. And they
> should be kept in an unconfigured state until the commands have been
> exectued, as if they were part of the success of postinst.
>
> To be very efficient, in fact, the spool should just provide a way to
> APT to link commands to packages, for APT to leave in an unconfigured
> state only the relevant packages, when some commands failed in the
> spool.
>
> Asynchronously,
> le Moine Fou
> --
> pierre.thierry@moine-fou.org
> OpenPGP 0xD9D50D8A
And if I install packages with dpkg?
How is the spool any different from an actual postinst file?
MfG
Goswin
Reply to: