https://bugs.launchpad.net/ubuntu/+source/mini-dinstall/+bug/307494
Results in symptoms like:
Failed to fetch file:/var/cache/archive/unstable/<package>.deb Hash Sum mismatch
Failed to fetch file:/var/cache/archive/unstable/<package>.deb Size mismatch
The instructions from the wiki have you create a dput configuration like so:
https://wiki.ubuntu.com/PbuilderHowto
Edit the [local] stanza under ~/.dput.cf (/etc/dput.cf is an alternative) to look like: [local] method = local incoming = /var/cache/archive/mini-dinstall/incoming allow_non-us_software = 1 run_dinstall = 0 post_upload_command = mini-dinstall --batch
The current work around for this is to remove the database files before running mini-dinstall:
post_upload_command = rm /var/cache/archive/*.db && mini-dinstall --batch
The current modus operandus of policies as distributed by distros lumps all the policy into one big package. This results in any local policy modifications being wiped away whenever the distro pushes an update to policy. A more ideal situation is to have per module policy packages and a local policy config that allow for per module updates and local policy overrides. Read More