`mk-sbuild` on older Ubuntu versions like 22.04 are unable to build new Debian chroots

Bug #2067523 reported by Thomas Ward
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
debootstrap (Ubuntu)
Status tracked in Oracular
Jammy
Confirmed
Medium
Unassigned
Oracular
Invalid
Medium
Unassigned
ubuntu-dev-tools (Ubuntu)
Status tracked in Oracular
Jammy
Invalid
Undecided
Unassigned
Oracular
Invalid
Undecided
Unassigned

Bug Description

Sometimes, when we are working with both Ubuntu and Debian, we need to create a Debian chroot for build testing.

Unfortunately, mk-sbuild is UNABLE to create Debian chroots. Currently, the first error is that "/bin/true" is nonexistent (it's in `/usr/bin/true` now). Then, it fails trying to execute ldconfig, and a continual chain of issues.

It's possible this is a debootstrap problem, but one that probably needs rectified.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: ubuntu-dev-tools 0.193ubuntu4~22.04.2
ProcVersionSignature: Ubuntu 6.5.0-35.35~22.04.1-generic 6.5.13
Uname: Linux 6.5.0-35-generic x86_64
NonfreeKernelModules: zfs
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Wed May 29 16:55:39 2024
InstallationDate: Installed on 2022-08-25 (643 days ago)
InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1)
PackageArchitecture: all
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: ubuntu-dev-tools
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Thomas Ward (teward) wrote :
Revision history for this message
Thomas Ward (teward) wrote :

NOTE: I backported locally debootstrap 1.0.136ubuntu1 from Oracular to Jammy, and **it resolved the issue**. As a result I am certain this is a debootstrap issue.

Changed in ubuntu-dev-tools (Ubuntu):
status: New → Invalid
Changed in debootstrap (Ubuntu):
importance: Undecided → Medium
Changed in ubuntu-dev-tools (Ubuntu Jammy):
status: New → Invalid
Changed in debootstrap (Ubuntu Jammy):
status: New → Confirmed
Changed in debootstrap (Ubuntu Oracular):
status: New → Invalid
Changed in debootstrap (Ubuntu Jammy):
importance: Undecided → Medium
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.