tar: short read problem in release 1.10.2

Denys Vlasenko vda.linux at googlemail.com
Thu Jun 5 08:56:13 PDT 2008


On Thursday 05 June 2008 17:08, E Robertson wrote:
> 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

From the name of it it doesn't seem to be a tar file at all.
Can you show "gunzip <IMG_ARCHIVE.gz | hexdump -Cv | head -200"?

> # 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?

So far there is insufficient data to know what is it.
--
vda


More information about the busybox mailing list