Skip to content

Instantly share code, notes, and snippets.

@skihero
Created February 27, 2013 10:09
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save skihero/5046841 to your computer and use it in GitHub Desktop.
Save skihero/5046841 to your computer and use it in GitHub Desktop.
error: unpacking of archive failed on file /usr/sbin/haproxy;512ddaaa: cpio: Digest mismatch
Was trying to create an rpm from the installed haproxy binaries.
Ran into this problem.
Turns out we need to do a prelink -u haproxy on the binary that we're packaging.
The binary had come from a different machine than the place where we're building it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment