Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1033482: debootstrap fails when invoked with --merged-usr

73 views
Skip to first unread message

David Heidelberg

unread,
Mar 25, 2023, 5:10:04 PM3/25/23
to
Package: debootstrap
Version: 1.0.128+nmu2
Severity: normal

Dear Maintainer,

Since --merged-usr is default in this configuration, it doesn't have to
be passed.

ARCH can be amd64 or arm64

debootstrap --variant=minbase --arch=$ARCH --components main,contrib,non-free,non-free-firmware bookworm /lava-files/rootfs-amd64/ http://deb.debian.org/debian

leads to errors as:
...
W: Failure while unpacking required packages. This will be attempted up to five times.
W: See /lava-files/rootfs-amd64/debootstrap/debootstrap.log for details (possibly the package /var/cache/apt/archives/usr-is-merged_35_all.deb is at fault)

Whole log: https://gitlab.freedesktop.org/okias/mesa/-/jobs/38725690

These errors can be prevented when using --no-merged-usr.


-- System Information:
Debian Release: 12.0
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'testing'), (10, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-6-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages debootstrap depends on:
ii wget 1.21.3-1+b2

Versions of packages debootstrap recommends:
ii arch-test 0.20-1
ii debian-archive-keyring 2021.1.1
ii gnupg 2.2.40-1

Versions of packages debootstrap suggests:
ii binutils 2.40-2
pn squid-deb-proxy-client <none>
pn ubuntu-archive-keyring <none>
ii xz-utils 5.4.1-0.2
ii zstd 1.5.4+dfsg2-3

-- no debconf information

Alberto Garcia

unread,
Nov 10, 2023, 9:00:05 AM11/10/23
to
On Sat, Mar 25, 2023 at 10:05:54PM +0100, David Heidelberg wrote:
> W: Failure while unpacking required packages. This will be attempted up to five times.
> W: See /lava-files/rootfs-amd64/debootstrap/debootstrap.log for details (possibly the package /var/cache/apt/archives/usr-is-merged_35_all.deb is at fault)
>
> Whole log: https://gitlab.freedesktop.org/okias/mesa/-/jobs/38725690
>
> These errors can be prevented when using --no-merged-usr.

I'm having this problem in bookworm, even with --no-merged-usr:

$ debootstrap --no-merged-usr sid /var/tmp/chroot/
[...]
I: Unpacking tzdata...
I: Unpacking usr-is-merged...
I: Unpacking zlib1g:amd64...
W: Failure while unpacking required packages. This will be attempted up to five times.
W: See /var/tmp/chroot/debootstrap/debootstrap.log for details (possibly the package /var/cache/apt/archives/usr-is-merged_38_all.deb is at fault)

Because of this I cannot use pbuilder.

Berto

Alberto Garcia

unread,
Nov 10, 2023, 9:10:05 AM11/10/23
to
On Fri, Nov 10, 2023 at 02:50:43PM +0100, Alberto Garcia wrote:
> I'm having this problem in bookworm, even with --no-merged-usr:

This works fine if I install the package from bookworm-backports
(1.0.133~bpo12+1) so the package in stable should be fixed

Berto

Paolo Greppi

unread,
Dec 7, 2023, 4:40:06 AM12/7/23
to
Hi, I have tripped onto this while following blindly the automatic
sbuild setup using sbuild-debian-developer-setup described here:
https://wiki.debian.org/sbuild#Automatic_setup_using_sbuild-debian-developer-setup

Alberto's workaround (sudo apt install -t bookworm-backports
debootstrap) worked for me.

Paolo

Alberto Garcia

unread,
Dec 11, 2023, 6:00:05 PM12/11/23
to
Control: fixed -1 1.0.128+nmu2+deb12u1

On Thu, Dec 07, 2023 at 10:23:59AM +0100, Paolo Greppi wrote:

> Alberto's workaround (sudo apt install -t bookworm-backports
> debootstrap) worked for me.

This is working fine with the new version of debootstrap in bookworm,
i.e version 1.0.128+nmu2+deb12u1 from Debian 12.4

Berto
0 new messages