>>>>> On Wed, 26 Sep 2012, Michael Mol wrote: > A few months ago, I filed bug 423651 to ask that bzip2 on the > install media be replaced with pbzip2. It was closed a short while > later, telling me that it'd involve changing what's kept in @system, > and that had to be discussed here, rather than in a bug report.
We need to be careful when we replace such standard tools. Often the replacement isn't completely compatible. For example, pbzip2 suffers from the same bug as pigz [1] when it encounters a zero-padded tarball: $ echo foo | bzip2 | dd conv=sync 2>/dev/null | pbzip2 -d foo pbzip2: *ERROR during BZ2_bzDecompress - trailing garbage: ret=4; block=0; seq=0; isLastInSeq=1; avail_in=472 Terminator thread: premature exit requested - quitting... $ echo $? 1 The same command line as above but with bzip2 -d will return a good exit status. Ulrich [1] <https://bugs.gentoo.org/show_bug.cgi?id=417657#c17>
