[Linux-disciples] Debian upgrade order
Stephen R Laniel
steve at laniels.org
Mon May 30 13:32:25 EDT 2005
I just did a big Ubuntu apt-get upgrade, which is
obviously identical to the Debian apt-get upgrade, and I
noticed that the order seems to be
foreach(@packages) {
pre-install script;
}
foreach(@packages) {
unpack;
}
foreach(@packages) {
install script;
}
I would have thought that the order would be more like
foreach(@packages) {
pre-install script;
unpack;
install script;
}
As it is, doing all the pre-install scripts first leads to
situations where a daemon, say, gets turned off early on,
then a whole bunch of other packages get processed, then the
daemon gets turned back on. If all the actions for a given
package were done together, the impact on a production
system could be minimized.
Any idea why Debian orders the process the way it does?
--
Stephen R. Laniel
steve at laniels.org
+(617) 308-5571
http://laniels.org/
PGP key: http://laniels.org/slaniel.key
More information about the Linux-disciples
mailing list