Comment 5 for bug 438870

Shane, I've assigned this to me only so I can add it to the specification, so feel free to implement it! I just need to know a couple of things:

1. Can the installation script for package A make package B uninstallable in a way that dpkg would normally know before downloading package B? Or is that something that only ever happens because of dependencies that can be calculated even before downloading?

2. What should happen if package B depends on A, and you request to install A then separately request to install B, and while B is downloading, the installation of A fails? Should B stop downloading immediately? Or should it complete downloading just in case you fix A later?