[Bug 2024200] Re: [debootstrap] /usr/share/debootstrap/scripts/focal missing

Steve Langasek 2024200 at bugs.launchpad.net
Fri Jun 16 17:09:18 UTC 2023


Thank you for the bug report.  Debootstrap in focal-updates has been
rolled back to 1.0.118ubuntu1.8.

-- 
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/2024200

Title:
  [debootstrap] /usr/share/debootstrap/scripts/focal missing

Status in debootstrap package in Ubuntu:
  Triaged

Bug description:
  Recently we noticed failing unattended Ubuntu 20.04 LTS (Focal)
  installations, because it stops with the following error message:

  debootstrap: E: NOSCRIPT
  debootstrap: EA: /usr/share/debootstrap/scripts/focal
  debootstrap: EF: No such script: %s

  It has been turned out that new packages of debootstrap has been
  shipped that drops the symlink for ubuntu focal:

  NEW PACKAGE VERSION:
  <!----
  -rw-r--r-- 1 root root 38752 Jun  8 02:09 debootstrap_1.0.118ubuntu1.10_all.deb
  -rw-r--r-- 1 root root 26756 Jun  8 02:09 debootstrap-udeb_1.0.118ubuntu1.10_all.udeb
  -rw-r--r-- 1 root root  2075 Jun  8 02:09 debootstrap_1.0.118ubuntu1.10.dsc
  -rw-r--r-- 1 root root 79690 Jun  8 02:09 debootstrap_1.0.118ubuntu1.10.tar.gz
  ----->

  PREVIOUS PACKAGE VERSION:
  <!----
  -rw-r--r-- 1 root root 39166 Nov  7  2022 debootstrap_1.0.118ubuntu1.8_all.deb
  -rw-r--r-- 1 root root  2034 Nov  7  2022 debootstrap_1.0.118ubuntu1.8.dsc
  -rw-r--r-- 1 root root 80251 Nov  7  2022 debootstrap_1.0.118ubuntu1.8.tar.gz
  -rw-r--r-- 1 root root 26984 Nov  7  2022 debootstrap-udeb_1.0.118ubuntu1.8_all.udeb
  ----->

  After comparing this two releases, i noticed that the symlink to
  'gutsy' is missing now which is the reason for the failed unattended
  installation:

  <!----
  # ls -la
  total 88
  drwxr-xr-x 4 root root  4096 Jun 16 14:20 .
  drwxr-xr-x 9 root root  4096 Jun 16 11:22 ..
  drwxr-xr-x 3 root root    24 May 31 04:28 debootstrap_1.0.118ubuntu1.10
  -rw-r--r-- 1 root root 38752 Jun  8 02:09 debootstrap_1.0.118ubuntu1.10_all.deb
  drwxr-xr-x 3 root root    24 Nov  3  2022 debootstrap_1.0.118ubuntu1.8
  -rw-r--r-- 1 root root 39166 Nov  7  2022 debootstrap_1.0.118ubuntu1.8_all.deb

  # ls -la debootstrap_1.0.118ubuntu1.{8,10}/usr/share/debootstrap/scripts/focal
  ls: cannot access 'debootstrap_1.0.118ubuntu1.10/usr/share/debootstrap/scripts/focal': No such file or directory
  lrwxrwxrwx 1 root root 5 Nov  3  2022 debootstrap_1.0.118ubuntu1.8/usr/share/debootstrap/scripts/focal -> gutsy
  ----->

  Checking out the upstream source code, it seems to be still there, but
  for whatever reason the new package version does not include it
  anymore:

  https://salsa.debian.org/installer-
  team/debootstrap/-/tree/master/scripts

  However, after looking into the ChangeLog from the published release,
  it seems like the logic of determining the right Ubuntu Release and
  automatically choose gutsy as target seems to be broken for unattended
  installations within a netboot environment:

  http://launchpadlibrarian.net/669124060/debootstrap_1.0.118ubuntu1.10_source.changes

  If distro-info is a requirement, the netboot install environment for
  unattended installations needs to be updated as well to have this
  package pre-installed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debootstrap/+bug/2024200/+subscriptions




More information about the foundations-bugs mailing list