cdeboostrap hangs while bootstrapping ubuntu 22.04 (codename jammy)

Bug #1969277 reported by Juozas Pocius
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
cdebootstrap (Debian)
New
Unknown
cdebootstrap (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Bootstrapping takes too long. Hangs while extracting gcc-12-base.

Command line:

cdebootstrap ubuntu/jammy target

Useful messages in terminal output (full terminal output attached):

P: Can't find package makedev

Files named var/lib/dpkg/available, var/lib/dpkg/diversions and var/lib/dpkg/status are 0 bytes length.

Contents of var/log/bootstrap.log (one line, 26 bytes):

P: Extracting gcc-12-base

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: cdebootstrap 0.7.7ubuntu3
ProcVersionSignature: Ubuntu 5.15.0-25.25-generic 5.15.30
Uname: Linux 5.15.0-25-generic x86_64
ApportVersion: 2.20.11-0ubuntu82
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: XFCE
Date: Sat Apr 16 19:50:49 2022
SourcePackage: cdebootstrap
UpgradeStatus: No upgrade log present (probably fresh install)

Edit: It also hangs while bootstrapping Ubuntu noble, it is stuck on init-system-helpers, debug output shows it is stuck on decompressing deb file, debug log attached

Revision history for this message
Juozas Pocius (juozaspo) wrote :
Juozas Pocius (juozaspo)
description: updated
Revision history for this message
Marco Silva (katkrasinsk) wrote :

Run on the same issue.

Revision history for this message
Franklin "Snaipe" Mathieu (snaipewastaken) wrote :
Download full text (3.6 KiB)

Ran into the same issue today. The process seems to be spinning trying to seek forward:

```
2743202 write(1<pipe:[635726132]>, "D: Decompressing gcc-12-base_12-20220319-1ubuntu1_amd64.deb\n", 60 <unfinished ...>
2743083 <... epoll_pwait resumed>[{events=EPOLLIN, data={u32=1042808845, u64=9198059935901417485}}], 128, 67, NULL, 0) = 1
2743202 <... write resumed>) = 60
2743083 read(14<pipe:[635726132]>, <unfinished ...>
2743202 openat(AT_FDCWD</>, "/dest/var/cache/bootstrap/gcc-12-base_12-20220319-1ubuntu1_amd64.deb", O_RDONLY <unfinished ...>
2743083 <... read resumed>"P: Extracting gcc-12-base\nD: Decompressing gcc-12-base_12-20220319-1ubuntu1_amd64.deb\n", 32768) = 86
2743202 <... openat resumed>) = 5</dest/var/cache/bootstrap/gcc-12-base_12-20220319-1ubuntu1_amd64.deb>
2743083 read(14<pipe:[635726132]>, <unfinished ...>
2743202 read(5</dest/var/cache/bootstrap/gcc-12-base_12-20220319-1ubuntu1_amd64.deb>, <unfinished ...>
2743083 <... read resumed>0xc00056e000, 32768) = -1 EAGAIN (Ressource temporairement non disponible)
2743202 <... read resumed>"!<arch>\n", 8) = 8
2743083 epoll_pwait(4<anon_inode:[eventpoll]>, <unfinished ...>
2743202 read(5</dest/var/cache/bootstrap/gcc-12-base_12-20220319-1ubuntu1_amd64.deb>, <unfinished ...>
2743083 <... epoll_pwait resumed>[], 128, 0, NULL, 0) = 0
2743202 <... read resumed>"debian-binary 1647686192 0 0 100644 4 `\n", 60) = 60
2743083 epoll_pwait(4<anon_inode:[eventpoll]>, <unfinished ...>
2743202 read(5</dest/var/cache/bootstrap/gcc-12-base_12-20220319-1ubuntu1_amd64.deb>, "2.0\n", 4) = 4
2743202 read(5</dest/var/cache/bootstrap/gcc-12-base_12-20220319-1ubuntu1_amd64.deb>, "control.tar.zst 1647686192 0 0 100644 625 `\n", 60) = 60
2743202 lseek(5</dest/var/cache/bootstrap/gcc-12-base_12-20220319-1ubuntu1_amd64.deb>, 626, SEEK_CUR) = 758
2743202 read(5</dest/var/cache/bootstrap/gcc-12-base_12-20220319-1ubuntu1_amd64.deb>, "data.tar.zst 1647686192 0 0 100644 18062 `\n", 60) = 60
2743202 lseek(5</dest/var/cache/bootstrap/gcc-12-base_12-20220319-1ubuntu1_amd64.deb>, 18062, SEEK_CUR) = 18880
2743202 read(5</dest/var/cache/bootstrap/gcc-12-base_12-20220319-1ubuntu1_amd64.deb>, "", 60) = 0
2743202 lseek(5</dest/var/cache/bootstrap/gcc-12-base_12-20220319-1ubuntu1_amd64.deb>, 18062, SEEK_CUR) = 36942
2743202 read(5</dest/var/cache/bootstrap/gcc-12-base_12-20220319-1ubuntu1_amd64.deb>, "", 60) = 0
2743202 lseek(5</dest/var/cache/bootstrap/gcc-12-base_12-20220319-1ubuntu1_amd64.deb>, 18062, SEEK_CUR) = 55004
2743202 read(5</dest/var/cache/bootstrap/gcc-12-base_12-20220319-1ubuntu1_amd64.deb>, "", 60) = 0
2743202 lseek(5</dest/var/cache/bootstrap/gcc-12-base_12-20220319-1ubuntu1_amd64.deb>, 18062, SEEK_CUR) = 73066
2743202 read(5</dest/var/cache/bootstrap/gcc-12-base_12-20220319-1ubuntu1_amd64.deb>, "", 60) = 0
2743202 lseek(5</dest/var/cache/bootstrap/gcc-12-base_12-20220319-1ubuntu1_amd64.deb>, 18062, SEEK_CUR) = 91128
2743202 read(5</dest/var/cache/bootstrap/gcc-12-base_12-20220319-1ubuntu1_amd64.deb>, "", 60) = 0
2743202 lseek(5</dest/var/cache/bootstrap/gcc-12-base_12-20220319-1ubuntu1_amd64.deb>, 18062, SEEK_CUR) = 109190
2743202...

Read more...

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in cdebootstrap (Ubuntu):
status: New → Confirmed
Ken Sharp (kennybobs)
tags: added: noble
Ken Sharp (kennybobs)
description: updated
Juozas Pocius (juozaspo)
description: updated
Revision history for this message
Juozas Pocius (juozaspo) wrote :
Revision history for this message
Juozas Pocius (juozaspo) wrote :

I also found that this bug also affects debian version of cdebootstrap. Debian added to affected list, linking to the new debian bug I created as no similar bug could be found.

Changed in cdebootstrap (Debian):
status: Unknown → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.