Wouldn't it be possible to prompt the user from within the preinst
script for an action, i.e.:
1. Recheck the /var/lib/mailman/qfiles directory.
(In this case, the test would be repeated again; the idea being that while
waiting for this option, the user could unshunt the messages on another
terminal. If shunted messages still exist, return to the prompt. If not,
proceed.)
2. Delete shunted messages, then proceed.
(This would simply delete the files directly.)
3. Abort.
(The current behaviour, fails the upgrade.)
This way, the upgrade need not fail unless the user wants to take more
time to examine them (by choosing option #3). As the package hasn't yet
been installed when the preinst script is being run, it should still be
possible for the user to handle the problem using the old MailMan
version.
--
Upgrades fail with a message about "Old queue files present"
https://bugs.launchpad.net/bugs/20999
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs