Package: debootstrap Version: 1.0.123+deb11u1 Severity: normal Tags: upstream In case of using LDAP, mounting flash drives and so on, a hang may occur. Using forward sync in debootstrap is not correctly. Please, modify <sync> command to <sync ./> or similar to prevent waiting overhead. There is 816...@bugs.debian.org. But in this bug sync will not produce hanging. If you cant use <sync ./>, add any check for LDAP or autofs. Now on our server it is not possible to use debootstrap. I have replaced <sync> -> <sync ./> to prevent hanging. -- System Information: Debian Release: 11.8 APT prefers oldstable-updates APT policy: (500, 'oldstable-updates'), (500, 'oldstable-security'), (500, 'oldstable') Architecture: amd64 (x86_64) Kernel: Linux 5.10.0-26-amd64 (SMP w/12 CPU threads) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages debootstrap depends on: ii wget 1.21-1+deb11u1 Versions of packages debootstrap recommends: ii arch-test 0.17-1 ii debian-archive-keyring 2021.1.1+deb11u1 ii gnupg 2.2.27-2+deb11u2 Versions of packages debootstrap suggests: pn squid-deb-proxy-client <none> pn ubuntu-archive-keyring <none> -- With all respect, Andrew