GNU bug report logs - #68555
[PATCH 0/3] debootstrap: Add Trisquel support.

Previous Next

Package: guix-patches;

Reported by: Denis 'GNUtoo' Carikli <GNUtoo <at> cyberdimension.org>

Date: Wed, 17 Jan 2024 22:49:01 UTC

Severity: normal

Tags: patch

Done: Efraim Flashner <efraim <at> flashner.co.il>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Denis 'GNUtoo' Carikli <GNUtoo <at> cyberdimension.org>
To: 68555 <at> debbugs.gnu.org, Efraim Flashner <efraim <at> flashner.co.il>
Cc: Denis 'GNUtoo' Carikli <GNUtoo <at> cyberdimension.org>
Subject: [bug#68555] [PATCH v2 3/3] gnu: debootstrap: Add zstd dependency.
Date: Wed, 24 Jan 2024 01:00:02 +0100
Without that fix, the following command:
    # debootstrap aramo aramo-root http://archive.trisquel.info/trisquel
fails with this error:
    I: Chosen extractor for .deb packages: dpkg-deb
    I: Extracting base-files...
    E: Tried to extract package, but tar failed. Exit...

And if we run the falling command manually:
    # sudo dpkg-deb --fsys-tarfile [...]/cache/apt/archives/base-files[...].deb
it shows that zstd is missing (from the PATH):
    dpkg-deb (subprocess): unable to execute decompressing archive
    'var/cache/apt/archives/base-files[...].deb' (size=60544) member
    'data.tar' (zstd): No such file or directory

* gnu/packages/debian.scm (debootstrap): [inputs]: Add zstd.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo <at> cyberdimension.org>
Change-Id: If24c80c70c9ec3e6ea88a38a30324fee3c0641fe
---
ChangeLog since V1: no changes.
---
 gnu/packages/debian.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/debian.scm b/gnu/packages/debian.scm
index 33c39e809e..1715b963a9 100644
--- a/gnu/packages/debian.scm
+++ b/gnu/packages/debian.scm
@@ -289,7 +289,9 @@ (define-public debootstrap
            bash-minimal
            dpkg
            tzdata
-
+           ;; Needed by dpkg-deb in extract_dpkg_deb_data for at least
+           ;; Trisquel 11 (aramo).
+           zstd
            ;; Called at run-time from various places, needs to be in PATH.
            gnupg
            wget))
-- 
2.41.0





This bug report was last modified 1 year and 101 days ago.

Previous Next


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