[Bug 2024200] [NEW] [debootstrap] /usr/share/debootstrap/scripts/focal missing

Eric Mergelsberg 2024200 at bugs.launchpad.net
Fri Jun 16 14:28:36 UTC 2023


Public bug reported:

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

** Affects: debootstrap (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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:
  New

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

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