[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#624122: Hash Sum mismatch



On Fri, Mar 21, 2014 at 08:53:23PM +0100, Johannes Stezenbach wrote:
> I'm also seeing the Hash Sum mismatch often since about a week ago,
> maybe since "[UPGRADE] apt:amd64 0.9.16 -> 0.9.16.1" (sid) but I did not
> downgrade to confirm.  However, it seems the issue is caused
> by xz decompressor truncating the files.  For example:

I botched liblzma support in 0.9.16, which has a bug (already fixed in
git) truncating xz compressed files¹, which will let you end up with this
error message as well, as an uncomplete file is obviously not matching
the expected hashsum – so also not related to the issue initially
discribed, just another way of seeing the same error message.

¹ only certain files – aka those containing 4096 bytes of lzma/xz
content which produce no output by themselves and need at least another
round of 4096 input bytes…


Of course non of our testcases triggered this, many xz in the archive
are fine as well and pdiffs usually take care of hidding all instances
which would trigger it… I love these kind of bugs… sorry about that.


Best regards

David Kalnischkies

Attachment: signature.asc
Description: Digital signature


Reply to: