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

Re: Bits from the FTPMaster meeting


On Sun, 2009-11-15 at 22:22:52 +0000, Neil Williams wrote:
> On Sun, 15, Nov, 2009 at 02:37:56PM -0500, Joey Hess spoke thus..
> > Note that debootstrap does not support data.tar.bz2.
> debootstrap-1.0.20/functions: extract
> 		progress "$p" "$#" EXTRACTPKGS "Extracting packages"
> 		packagename="$(echo "$pkg" | sed 's,^.*/,,;s,_.*$,,')"
> 		info EXTRACTING "Extracting %s..." "$packagename"
> 		ar -p "./$pkg" data.tar.gz | zcat | tar -xf -

This has been fixed now in debootstrap's svn. I've also sent now a set
of patches to use dpkg-deb instead of ar when available.

> deb-gview is also affected by this but I haven't had any bug reports.
> Fairly easy to fix that in deb-gview though due to the use of
> libarchive.
> multistrap will also be affected.

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.


Reply to: