mini-dinstall bork'd

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

  1. Edit the [local] stanza under ~/.dput.cf (/etc/dput.cf is an alternative) to look like:
  2.  
  3. [local]
  4. method = local
  5. incoming = /var/cache/archive/mini-dinstall/incoming
  6. allow_non-us_software = 1
  7. run_dinstall = 0
  8. post_upload_command = mini-dinstall --batch

The current work around for this is to remove the database files before running mini-dinstall:

  1. post_upload_command = rm /var/cache/archive/*.db && mini-dinstall --batch

Handling of SELinux in Distros Allowing for Controlled Updates and Local Policies

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

Syndicate content