tar: short read problem in release 1.10.2

E Robertson e.robertson.svg at gmail.com
Thu Jun 5 08:08:34 PDT 2008


Hi All,
I did a search on the "tar: short read" error and notice it was
reported several times and fixed but it looks like it's broken again.
I have a U-boot binary image in an archive file and tried to extract
it using the following command:

#tar -xz -C /tmp -f /tmp/usbstick/IMG_ARCHIVE.gz ./upgrade/uboot.img
tar: short read
# echo $?
1

However, the uboot.img has not been extracted. I repeated this several
times with the same result.
I did the same thing on my kernel image and although this was
extracted, the size of the extracted image is less than half the
original size.

Is this a bug? If not, Is their a solution for this?

Thanks.


More information about the busybox mailing list