[BusyBox] dpkg usage: invalid ar header
Glenn McGrath
bug1 at optushome.com.au
Thu Jul 31 01:25:48 UTC 2003
On Wed, 30 Jul 2003 03:59:20 -0700
Jared Rhine <jared at wordzoo.com> wrote:
> I don't seem to be able to use dpkg. Are there issues I should know
> about? I'm probably misusing the feature, but not sure what I'm doing
> wrong.
Its a bug, its also trigered by dpkg-deb -f hello_2.1.1-1_i386.deb
It looks like a bug that i introduced when i added buffered reading for
gunzip, gunzip has read the deb into its buffer, but the buffer isnt fed
back to ar, so when its starts reading the next ar header it reads it
from the wrong place.
I will change dpkg and dpkg-deb so that they close the file and reopen
it after extracting the internal *.tar.[gz|bz2]
Thanks for reporting it, i havent tested dpkg for a while, and it looks
like the bug has been in there for quite some time.
Ill try and fix it tommorow.
Glenn
More information about the busybox
mailing list