Package: debootstrap Version: 1.0.121 Severity: normal Hi,
recent debootstrap fails silently if the given mirror does not contain translations. From debootstrap.log: Ign:1 http://127.0.0.1/debian stable InRelease Hit:2 http://127.0.0.1/debian stable Release Ign:4 http://127.0.0.1/debian stable/main Translation-en Ign:4 http://127.0.0.1/debian stable/main Translation-en Ign:4 http://127.0.0.1/debian stable/main Translation-en Err:4 http://127.0.0.1/debian stable/main Translation-en 404 File not found [IP: 127.0.0.1 80] Get:5 http://security-cdn.debian.org/debian-security stable/updates InRelease [65.4 kB] Get:6 http://security-cdn.debian.org/debian-security stable/updates/main amd64 Packages [182 kB] Get:7 http://security-cdn.debian.org/debian-security stable/updates/main Translation-en [96.0 kB] Fetched 343 kB in 1s (501 kB/s) Reading package lists... E: Failed to fetch http://127.0.0.1/debian/dists/stable/main/i18n/Translation-en 404 File not found [IP: 127.0.0.1 80] E: Some index files failed to download. They have been ignored, or old ones used instead. Another problem is, that this happens silently after the message "I: Base system installed successfully." I noticed the problem because my shell is printing the exit status of the last command but other users might just think that debootstrap finished successfully. There should definitely be some kind of error message when apt fails. Best including either the reason or a pointer to debootstrap.log which is currently not documented in the man page. Thanks! cheers, josch -- System Information: Debian Release: bullseye/sid APT prefers stable APT policy: (990, 'stable'), (500, 'unstable-debug'), (500, 'stable-updates'), (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386, armhf Kernel: Linux 4.19.0-8-amd64 (SMP w/4 CPU cores) Kernel taint flags: TAINT_WARN Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages debootstrap depends on: ii wget 1.20.1-1.1 Versions of packages debootstrap recommends: ii arch-test 0.15-2 ii debian-archive-keyring 2019.1 ii gnupg 2.2.19-2 Versions of packages debootstrap suggests: pn squid-deb-proxy-client <none> ii ubuntu-keyring [ubuntu-archive-keyring] 2018.09.18.1-5 -- debconf-show failed