[Bug 2024483] Re: Ubuntu links missing or broken in /usr/share/debootstrap/scripts

Steve Langasek 2024483 at bugs.launchpad.net
Fri Jul 7 21:41:38 UTC 2023


Actually, the above test without lunar-proposed also didn't have arch-
test installed, I didn't notice the error message there was unrelated to
debootstrap.

So in fact, it appears that pbuilder-dist does NOT fail with the
debootstrap symlinks removed, it only throws a prompt which the user can
bypass.

-- 
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 Committed
Status in ubuntu-dev-tools source package in Jammy:
  Won't Fix
Status in debootstrap source package in Kinetic:
  Fix Committed
Status in ubuntu-dev-tools source package in Kinetic:
  Won't Fix
Status in debootstrap source package in Lunar:
  Fix Committed
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