Debian Bug report logs - #634248
debootstrap: Add support for XZ compressed binary packages

version graph

Package: debootstrap; Maintainer for debootstrap is Debian Install System Team <debian-boot@lists.debian.org>; Source for debootstrap is src:debootstrap.

Reported by: Raphaël Hertzog <hertzog@debian.org>

Date: Mon, 18 Jul 2011 06:45:02 UTC

Severity: wishlist

Found in version debootstrap/1.0.32

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Install System Team <debian-boot@lists.debian.org>:
Bug#634248; Package debootstrap. (Mon, 18 Jul 2011 06:45:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Raphaël Hertzog <hertzog@debian.org>:
New Bug report received and forwarded. Copy sent to Debian Install System Team <debian-boot@lists.debian.org>. (Mon, 18 Jul 2011 06:45:05 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Raphaël Hertzog <hertzog@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: debootstrap: Add support for XZ compressed binary packages
Date: Mon, 18 Jul 2011 08:43:02 +0200
Package: debootstrap
Version: 1.0.32
Severity: wishlist
User: debian-dpkg@lists.debian.org
Usertags: xz-compression

Hello,

we discussed some time ago on debian-devel (in a ftpmaster-related thread)
the possiblity to switch dpkg-deb to generate XZ-compressed debs by
default. ftp-master.debian.org is close to being ready for this but I
saw #633782 by accident which reminded that there's more to it than
just changing dpkg-deb :-)

Please can you add support for XZ-compressed .deb and/or tell us which
package should not use XZ compression so that we can modify them
to hardcode gzip usage?

Cheers,

-- System Information:
Debian Release: wheezy/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (150, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.39-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages debootstrap depends on:
ii  wget                          1.12-3.1   retrieves files from the web

Versions of packages debootstrap recommends:
ii  debian-archive-keyring        2010.08.28 GnuPG archive keys of the Debian a
ii  gnupg                         1.4.11-3   GNU privacy guard - a free PGP rep

debootstrap suggests no packages.

-- no debconf information




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Install System Team <debian-boot@lists.debian.org>:
Bug#634248; Package debootstrap. (Sun, 24 Jul 2011 09:18:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Otavio Salvador <otavio@ossystems.com.br>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <debian-boot@lists.debian.org>. (Sun, 24 Jul 2011 09:18:05 GMT) Full text and rfc822 format available.

Message #10 received at 634248@bugs.debian.org (full text, mbox):

From: Otavio Salvador <otavio@ossystems.com.br>
To: Raphaël Hertzog <hertzog@debian.org>, 634248@bugs.debian.org
Subject: Re: Bug#634248: debootstrap: Add support for XZ compressed binary packages
Date: Sun, 24 Jul 2011 11:14:41 +0200
On Mon, Jul 18, 2011 at 08:43, Raphaël Hertzog <hertzog@debian.org> wrote:
> Please can you add support for XZ-compressed .deb and/or tell us which
> package should not use XZ compression so that we can modify them
> to hardcode gzip usage?

It seems XZ support has been included in 1.0.21, as can be seen at:

debootstrap (1.0.21) unstable; urgency=low

  [ Otavio Salvador ]
  * Apply patch from Clint Adams <schizo@debian.org> to add support for
    gz/bz2/xz data.tar (closes: #458663).
  ...

 -- Otavio Salvador <otavio@debian.org>  Sun, 21 Feb 2010 23:11:06 -0300

 About the use of xz I see no reason to use for base packages as it
has following consequences:

 * bigger memory footprint;
 * xz dependecy in host;

Specially the extra xz dependency can be problematic when using
debootstrap in non-Debian systems.

-- 
Otavio Salvador                             O.S. Systems
E-mail: otavio@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Install System Team <debian-boot@lists.debian.org>:
Bug#634248; Package debootstrap. (Sun, 24 Jul 2011 20:00:07 GMT) Full text and rfc822 format available.

Acknowledgement sent to Raphael Hertzog <hertzog@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <debian-boot@lists.debian.org>. (Sun, 24 Jul 2011 20:00:07 GMT) Full text and rfc822 format available.

Message #15 received at 634248@bugs.debian.org (full text, mbox):

From: Raphael Hertzog <hertzog@debian.org>
To: Otavio Salvador <otavio@ossystems.com.br>
Cc: 634248@bugs.debian.org, xz-utils@packages.debian.org
Subject: Re: Bug#634248: debootstrap: Add support for XZ compressed binary packages
Date: Sun, 24 Jul 2011 21:56:29 +0200
Hi Otavio,

On Sun, 24 Jul 2011, Otavio Salvador wrote:
> It seems XZ support has been included in 1.0.21, as can be seen at:

Yeah but debian-installer doesn't have bzip2 and xz in the host so it's
not really useful... you saw the recent bugs when libacl used bz2
compression.

>  About the use of xz I see no reason to use for base packages as it
> has following consequences:
> 
>  * bigger memory footprint;

This is mostly moot, it's 10Mb with the default compression level that we
plan to use.

>  * xz dependecy in host;

This is true but it's relatively small in size.

That said if you want to avoid it, what are the base packages where
it must absolutely be avoided?

All essential + their (transitive) dependencies?

I mean at some point dpkg and their dependencies have been unpacked
and debootstrap can/could switch to the chrooted dpkg instead of using
tar.xz + ar from the host.

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

Follow my Debian News ▶ http://RaphaelHertzog.com (English)
                      ▶ http://RaphaelHertzog.fr (Français)




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Install System Team <debian-boot@lists.debian.org>:
Bug#634248; Package debootstrap. (Mon, 25 Jul 2011 18:27:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to Julien Cristau <jcristau@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <debian-boot@lists.debian.org>. (Mon, 25 Jul 2011 18:27:06 GMT) Full text and rfc822 format available.

Message #20 received at 634248@bugs.debian.org (full text, mbox):

From: Julien Cristau <jcristau@debian.org>
To: Raphael Hertzog <hertzog@debian.org>, 634248@bugs.debian.org
Cc: Otavio Salvador <otavio@ossystems.com.br>, xz-utils@packages.debian.org
Subject: Re: Bug#634248: debootstrap: Add support for XZ compressed binary packages
Date: Mon, 25 Jul 2011 20:23:08 +0200
On Sun, Jul 24, 2011 at 21:56:29 +0200, Raphael Hertzog wrote:

> That said if you want to avoid it, what are the base packages where
> it must absolutely be avoided?
> 
> All essential + their (transitive) dependencies?
> 
Seems like it's Priority: required (and dependencies) + binutils (for
the fakechroot variant).  debootstrap uses in_target dpkg for the rest,
from a quick look at the sid script.

Cheers,
Julien




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Install System Team <debian-boot@lists.debian.org>:
Bug#634248; Package debootstrap. (Sun, 21 Aug 2011 20:30:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Joey Hess <joeyh@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <debian-boot@lists.debian.org>. (Sun, 21 Aug 2011 20:30:03 GMT) Full text and rfc822 format available.

Message #25 received at 634248@bugs.debian.org (full text, mbox):

From: Joey Hess <joeyh@debian.org>
To: 634248@bugs.debian.org
Subject: wontfix?
Date: Sun, 21 Aug 2011 16:26:55 -0400
[Message part 1 (text/plain, inline)]
I think this is a wontfix, unless at some point in the future
it becomes common for busybox to be built with xz support. Otherwise, 
for the small benefit of slightly smaller base debs, we will prevent
people running debootstrap on the wide variety of embedded host systems,
which could have severe detrimental effects in Debian.

-- 
see shy jo
[signature.asc (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Apr 17 02:06:42 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.