[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bits from the FTPMaster meeting

On Tue, 2009-11-24 at 10:25:59 +0000, Neil Williams wrote:
> On Sat, 21 Nov 2009 03:01:06 +0100
> Guillem Jover <guillem@debian.org> wrote:
> > Well, IMO any program implementing .deb extraction w/o using something
> > like --fsys-tarfile, --extract or --control from dpkg-deb (until we
> > have the upcoming libdpkg...), should be prepared to handle the format
> > described in deb(5), and deserves a bug otherwise. The fact that the
> > Debian archive only accepts a subset of the valid .deb format, or that
> > we might not want to have bzip2 compressed packages in the base system
> > is a matter of policy in Debian, and does not mean others might want to
> > do otherwise.
> Fixed in multistrap 2.0.4, just arriving in sid.

Checking the svn repo I still see at least one problematic piece of
code. In “emrootfslib (unpack_debootstrap)” it's using ar + tar, and
using a temporary file when it could just use a pipe, but it could have
just used ‘dpkg-deb -X’ instead of ‘dpkg -x’ to get the list of files.
Then you get any format supported by dpkg-deb for free, in addition to
being a bit more optimal.

> I'll update deb-gview for its next release, although I'll need some
> real packages using data.tar.bz2 before I can test it.

You could repack an existing .deb using dpkg-deb and the -Z option.
But please, make sure to read deb(5) and support any valid deb package.


Reply to: