The problem is that curent pbzip2 definition of "ignorable trailing garbage" is a bit different than the one used in bzip2.
* What bzip2 seems to be doing - it's looking at garbage and if it seems to look like a beginning of a bzip2 stream: it's considered a dangerous scenario and whole operation fails with error.
* pbzip2 is currently not doing that: any garbage is ignored when --ignore-trailing-garbage=1. And what has been decompressed up to that moment is considered OK.
The problem is that curent pbzip2 definition of "ignorable trailing garbage" is a bit different than the one used in bzip2.
* What bzip2 seems to be doing - it's looking at garbage and if it seems to look like a beginning of a bzip2 stream: it's considered a dangerous scenario and whole operation fails with error. trailing- garbage= 1. And what has been decompressed up to that moment is considered OK.
* pbzip2 is currently not doing that: any garbage is ignored when --ignore-