Bug#549333: libapt's AR File parsing gets confused by filenames terminated with "/"
On Mon, Oct 05, 2009 at 11:26:35AM +0200, Goswin von Brederlow wrote:
> Alex Bennee <firstname.lastname@example.org> writes:
> > Package: apt
> > Version: 0.7.20.2+lenny1
> > Severity: normal
> > libapt's AR File implementation gets confused by file names which are
> > terminated with "/" (which is sysv feature allowing spaces in file
> > names). The result is hand rolling a .deb file with "ar" generates
> > packages which are installable with dpkg but not GDebi (as it uses
> > libapt).
> FYI: You are using the wrong ar. :) The one in debian is not
> compatible with the deb format. It used to be that dpkg would not
> accept such debs either.
It's probably not helped by our build machine being an ancient Red Hat
7.3. I've been struggling to find if there is a "bsdar" packaged for it
(or a way of convincing GNU ar to output BSD style ar files).
However if dpkg is happy to install such hand-built archives libapt
should probably be a little more forgiving of such terminators?
Alex, homepage: http://www.bennee.com/~alex/
When a man says it's a silly, childish game, it's probably
something his wife can beat him at.