[14:21] I want to trace the apt install scripts that fire from d-i preseed/late_command string /tmp/misc/isshd.sh && chroot /target set -x && apt install -y unattended-upgrades [14:21] that trows Apr 17 14:00:12 log-output: chroot: can't execute 'set': No such file or directory [14:22] the error I am trying to trace to: Apr 17 07:10:42 log-output: /tmp/unattended-upgrades.config.cHB9IU: 44: /tmp/unattended-upgrades.config.cHB9IU: 3: Bad file descriptor