Ubuntu links missing or broken in /usr/share/debootstrap/scripts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
debootstrap (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
High
|
Unassigned | ||
Jammy |
Fix Released
|
High
|
Unassigned | ||
Kinetic |
Fix Released
|
High
|
Unassigned | ||
Lunar |
Fix Released
|
High
|
Unassigned | ||
ubuntu-dev-tools (Ubuntu) |
Triaged
|
High
|
Unassigned | ||
Focal |
Won't Fix
|
Undecided
|
Unassigned | ||
Jammy |
Won't Fix
|
Undecided
|
Unassigned | ||
Kinetic |
Won't Fix
|
Undecided
|
Unassigned | ||
Lunar |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
[Justification]
Fix for an SRU regression. The previous SRU dropped the 'scripts' symlinks for all recent Ubuntu releases because the links were no longer needed for debootstrap's internal use. However, this broke compatibility with third-party code which (unnecessarily) hard-coded the script argument to debootstrap.
[Test case]
1. apt install ubuntu-dev-tools pbuilder arch-test
2. pbuilder-dist jammy create
[Where things could go wrong]
Provided the diff contents are correct, this is a straight revert of a change from the preceding SRU and should not regress behavior. The revert means that when bootstrapping the releases that were manually added before, debootstrap will follow the symlink instead of using the new code, which in inconsequential.
[Original description]
debootstrap package does not have links for many Ubuntu versions in /usr/share/
See the file list:
https:/
Also, /usr/share/
This breaks pbuilder, which no longer recognizes distro names and fails with errors like this:
Warning: Unknown distribution "jammy". Do you want to continue [y|N]?
Aborting as requested.
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: debootstrap 1.0.126+
ProcVersionSign
Uname: Linux 5.19.0-
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: KDE
Date: Tue Jun 20 19:34:53 2023
InstallationDate: Installed on 2015-05-01 (2971 days ago)
InstallationMedia: Kubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
PackageArchitec
SourcePackage: debootstrap
UpgradeStatus: Upgraded to jammy on 2022-05-14 (402 days ago)
tags: | added: regression-update |
description: | updated |
description: | updated |
description: | updated |
I'll note that this is a regression introduced by one of the recent updates (not sure which exact version). Previously, pbuilder for jammy was working on the same system.