[Bug 2024483] Re: Ubuntu links missing or broken in /usr/share/debootstrap/scripts
Ćukasz Zemczak
2024483 at bugs.launchpad.net
Mon Jul 10 11:10:23 UTC 2023
Steve, I see that the jammy debootstrap upload has a repeating
autopkgtest failure in livecd-rootfs, but that one seems to be unrelated
(I see "1632s gzip: stdout: No space left on device" happening there).
This is certainly something that needs a separate investigation, but I
won't block the release of this update on that. Would be great if we had
a follow up investiagtion/bug for this.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to debootstrap in Ubuntu.
https://bugs.launchpad.net/bugs/2024483
Title:
Ubuntu links missing or broken in /usr/share/debootstrap/scripts
Status in debootstrap package in Ubuntu:
Invalid
Status in ubuntu-dev-tools package in Ubuntu:
Triaged
Status in debootstrap source package in Focal:
Fix Committed
Status in ubuntu-dev-tools source package in Focal:
Won't Fix
Status in debootstrap source package in Jammy:
Fix Released
Status in ubuntu-dev-tools source package in Jammy:
Won't Fix
Status in debootstrap source package in Kinetic:
Fix Released
Status in ubuntu-dev-tools source package in Kinetic:
Won't Fix
Status in debootstrap source package in Lunar:
Fix Released
Status in ubuntu-dev-tools source package in Lunar:
Won't Fix
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/debootstrap/scripts. In particular, jammy is missing.
See the file list:
https://packages.ubuntu.com/jammy-updates/all/debootstrap/filelist
Also, /usr/share/debootstrap/scripts/hirsute link points to groovy,
which is also missing (i.e. hirsute is a broken symlink).
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+nmu1ubuntu0.4
ProcVersionSignature: Ubuntu 5.19.0-1027.28~22.04.1-lowlatency 5.19.17
Uname: Linux 5.19.0-1027-lowlatency x86_64
NonfreeKernelModules: vtsspp sep5 socperf3 pax nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: unknown
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)
PackageArchitecture: all
SourcePackage: debootstrap
UpgradeStatus: Upgraded to jammy on 2022-05-14 (402 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debootstrap/+bug/2024483/+subscriptions
More information about the foundations-bugs
mailing list