tar: write: Broken pi

Jens Rosenboom j.rosenboom at x-ion.de
Tue Dec 22 14:59:08 UTC 2015


2015-12-21 23:11 GMT+01:00 Heinrich Schuchardt <xypron.glpk at gmx.de>:
> OpenWRT ChaosCalmer uses busybox 1.23.2.
>
> For many tar.gz files I receive errors like:
>
> user at MR3020:~/src$ wget http://tukaani.org/xz/xz-5.2.2.tar.gz
> user at MR3020:~/src$ tar -xzf xz-5.2.2.tar.gz
> tar: invalid tar magic
> user at MR3020:~/src$ tar: write: Broken pipe
>
> GNU tar on Debian Jessie amd64 has no problem with the same file.

This file seems to be created with an old version of tar, setting
CONFIG_FEATURE_TAR_OLDGNU_COMPATIBILITY makes it work for me just
fine, though.

N.B.: This is unrelated to the gzip around the tar archive, the
behaviour is the same if I gunzip the file before handing it to tar.


More information about the busybox mailing list