E: No such script: /snap/ubuntu-image/658/usr/share/debootstrap/scripts/noble
It is correct that this script does not exist. What is incorrect is that something is looking for it. debootstrap 1.0.128+nmu2ubuntu3 requirement for per-release scripts for Ubuntu, and also removed the script symlinks.
So debootstrap should fall back to invoking /usr/share/debootstrap/scripts/gutsy, UNLESS the command `distro-info --series noble` fails.
The debootstrap package depends on distro-info, which in turn depends on distro-info-data.
But looking at snap 3.1+snap7 on amd64, I see that /snap/ubuntu-image/current/usr/share/distro-info is absent, so something may be wrong with the snap build, across architectures? /snap/ubuntu-image/current/snap/manifest.yaml lists distro-info=1.1ubuntu0.2 but does not list distro-info-data.
However, I cannot reproduce the reported failure with revision 696 on mantic/amd64; as a classic snap it is unsurprising that it is using /usr/share/distro-info from the host system. Erich, do you have outdated distro-info-data in your environment?
Ideally the snap would not depend on distro-info-data from the host system any more than it does debootstrap from the host system. But that would require funny mount business and I don't know to what extent that's supported in classic snaps.
E: No such script: /snap/ubuntu- image/658/ usr/share/ debootstrap/ scripts/ noble
It is correct that this script does not exist. What is incorrect is that something is looking for it. debootstrap 1.0.128+nmu2ubuntu3 requirement for per-release scripts for Ubuntu, and also removed the script symlinks.
So debootstrap should fall back to invoking /usr/share/ debootstrap/ scripts/ gutsy, UNLESS the command `distro-info --series noble` fails.
The debootstrap package depends on distro-info, which in turn depends on distro-info-data.
But looking at snap 3.1+snap7 on amd64, I see that /snap/ubuntu- image/current/ usr/share/ distro- info is absent, so something may be wrong with the snap build, across architectures? /snap/ubuntu- image/current/ snap/manifest. yaml lists distro- info=1. 1ubuntu0. 2 but does not list distro-info-data.
However, I cannot reproduce the reported failure with revision 696 on mantic/amd64; as a classic snap it is unsurprising that it is using /usr/share/ distro- info from the host system. Erich, do you have outdated distro-info-data in your environment?
Ideally the snap would not depend on distro-info-data from the host system any more than it does debootstrap from the host system. But that would require funny mount business and I don't know to what extent that's supported in classic snaps.