`mk-sbuild` on older Ubuntu versions like 22.04 are unable to build new Debian chroots
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~
ProcVersionSign
Uname: Linux 6.5.0-35-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckR
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)
PackageArchitec
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: ubuntu-dev-tools
UpgradeStatus: No upgrade log present (probably fresh install)
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.