logo       

Re: dpkg usage: invalid ar header: msg#00257

linux.busybox

Subject: Re: dpkg usage: invalid ar header

On Wed, 30 Jul 2003 03:59:20 -0700
Jared Rhine <jared@xxxxxxxxxxx> 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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise