#891009 debootstrap: wrongly falls back to https://deb.debian.org when try to create Ubuntu chroot #891009
- Package:
- debootstrap
- Source:
- debootstrap
- Submitter:
- Hideki Yamane
- Date:
- 2024-02-14 14:45:06 UTC
- Severity:
- normal
- Tags:
Hi, If you try "debootstrap <ubuntu codename> <dir>", it automatically falls back to pre-defined HTTPS mirror. But defined DEF_HTTPS_MIRROR is https://deb.debian.org, it fails with a bit wrong error message. Expected behavior is - fails with just "Keyring file not available" error message - or falls back to Ubuntu https mirror. And, https assures only secure *connection*, not integrity of *contents* as GPG does, so this behavior is not good, IMO.
As I said above, what https ensures and gpg does is different, and "if there's no reliable keyring then fallback to https connection" behavior is not good. I suggest to remove this feature from debootstrap, do you have any idea for it? If so, please let me know it and why.
This should be fixed in the next release. https://salsa.debian.org/installer-team/debootstrap/-/commit/7e5923030e331f466ec1b56d875b023a274e9220