In fact, dpkg should operate more event driven in general. Example: for upgrading from jaunty to karmic, I needed to download around 2GB of files, with like 500MB additional space required after installation, with around 2GB free. That would be a solvable problem per se, but dpkg first downloads almost more files it can actually store (maybe it should at least limit it to half the available space or some such). Downloading takes hours. Only after everything is downloaded, it actually starts installing, every once in a while waiting for user input. Instead, it should order the packages (per server) according to dependancies and start installing once it has downloaded a non-trivial cluster of packages that can be installed together without breaking dependancies. That it doesn't need (further) user input for. Yes, that would be quite a non-trivial change...
In fact, dpkg should operate more event driven in general. Example: for upgrading from jaunty to karmic, I needed to download around 2GB of files, with like 500MB additional space required after installation, with around 2GB free. That would be a solvable problem per se, but dpkg first downloads almost more files it can actually store (maybe it should at least limit it to half the available space or some such). Downloading takes hours. Only after everything is downloaded, it actually starts installing, every once in a while waiting for user input. Instead, it should order the packages (per server) according to dependancies and start installing once it has downloaded a non-trivial cluster of packages that can be installed together without breaking dependancies. That it doesn't need (further) user input for. Yes, that would be quite a non-trivial change...