#1068699 cdebootstrap hangs while bootstrapping ubuntu lts release

Package:
cdebootstrap
Source:
cdebootstrap
Description:
Bootstrap a Debian system
Submitter:
Juozas Pocius
Date:
2024-04-09 12:21:04 UTC
Severity:
normal
#1068699#5
Date:
2024-04-09 12:17:20 UTC
From:
To:
Dear Maintainer, I'm unable to bootstrap any recent ubuntu LTS release such as ubuntu/jammy
or ubuntu/noble while using cdebootstrap. It hangs while extracting init-system-helpers
ubuntu package. I didn't test non-LTS release. This bug was originally reported in Ubuntu bug
tracker, but while testing in Debian I also found that the Debian version is also affected.

The original ubuntu bug url: https://bugs.launchpad.net/ubuntu/+source/cdebootstrap/+bug/1969277

While running with --verbose --debug it appears cdebootstrap is hanging decompressing
init-system-helpers_1.66ubuntu1_all.deb when bootstrapping ubuntu/noble, while debian unstable
bootstraps w/o problem, trimmed down log is shown below.

D: Read suites config from /usr/share/cdebootstrap
D: Searching initial config, using origin ubuntu and codename noble
D: Found initial config, specifies keyring ubuntu-archive-keyring.gpg, mirror http://archive.ubuntu.com/ubuntu
D: Using mirror http://archive.ubuntu.com/ubuntu
D: Using keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg
P: Retrieving Release
D: Downloading http://archive.ubuntu.com/ubuntu/dists/noble/Release
P: Retrieving Release.gpg
D: Downloading http://archive.ubuntu.com/ubuntu/dists/noble/Release.gpg
P: Validating Release
D: Execute "gpgv …"
D: GNUPG Status: [GNUPG:] NEWSIG
gpgv: Signature made Tue Apr  9 14:09:07 2024 EEST
gpgv:                using RSA key F6ECB3762474EDA9D21B7022871920D1991BC93C
D: GNUPG Status: [GNUPG:] KEY_CONSIDERED F6ECB3762474EDA9D21B7022871920D1991BC93C 0
D: GNUPG Status: [GNUPG:] SIG_ID D0yQ7BuuG9cHVBYXbyUtBwRyHoE 2024-04-09 1712660947
D: GNUPG Status: [GNUPG:] KEY_CONSIDERED F6ECB3762474EDA9D21B7022871920D1991BC93C 0
D: GNUPG Status: [GNUPG:] GOODSIG 871920D1991BC93C Ubuntu Archive Automatic Signing Key (2018) <ftpmaster@ubuntu.com>
I: Good signature from "Ubuntu Archive Automatic Signing Key (2018) <ftpmaster@ubuntu.com>"
gpgv: Good signature from "Ubuntu Archive Automatic Signing Key (2018) <ftpmaster@ubuntu.com>"
D: GNUPG Status: [GNUPG:] VALIDSIG F6ECB3762474EDA9D21B7022871920D1991BC93C 2024-04-09 1712660947 0 4 0 1 10 00 F6ECB3762474EDA9D21B7022871920D1991BC93C
D: Status: 0
P: Parsing Release
D: Found late config, specifies no config
D: Use default config generic
D: Read suite config from /usr/share/cdebootstrap/generic
P: Retrieving Packages.xz
D: Downloading http://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.xz
P: Validating Packages.xz
D: Execute "sha256sum /root/test/var/cache/bootstrap/_dists_._main_binary-amd64_Packages.xz"
D: XZ decompression: New. Len: 0
D: XZ decompression: Free. Len: -1413416
P: Parsing Packages
P: Can't find package makedev
D: Include non-base edge package python3-profiler
...
D: Include non-base edge package xdg-user-dirs
P: Retrieving init-system-helpers
D: Downloading http://archive.ubuntu.com/ubuntu/pool/main/i/init-system-helpers/init-system-helpers_1.66ubuntu1_all.deb
P: Validating init-system-helpers
D: Execute "sha256sum /root/test/var/cache/bootstrap/init-system-helpers_1.66ubuntu1_all.deb"
...
P: Retrieving ncurses-bin
D: Downloading http://archive.ubuntu.com/ubuntu/pool/main/n/ncurses/ncurses-bin_6.4+20240113-1ubuntu1_amd64.deb
P: Validating ncurses-bin
D: Execute "sha256sum /root/test/var/cache/bootstrap/ncurses-bin_6.4+20240113-1ubuntu1_amd64.deb"
D: call action: essential-extract (what: (null), flags: 0)
P: Extracting init-system-helpers
D: Decompressing init-system-helpers_1.66ubuntu1_all.deb

Debian chroot running under Ubuntu 22.04 host, using schroot to enter the chroot environment.