I maintain a pacman repository and I frequently end up with broken packages because of this error. I'm surprised this doesn't come up on Arch Linux's production repositories.
I add the package to the repository with a script that rsyncs up the tarball and does this:
repo-add -n -R \ $repo_path/sr.ht.db.tar.gz \ $repo_path/python-srht-$pkgver-$pkgrel-any.pkg.tar.xz
This error happens maybe 1 in 10 times. Thoughts?
-- Drew DeVault