Package: apt Version: 0.7.19+b1 File: /usr/share/bug/apt/script Your script never expected stdin to be closed. I.e., one cannot use reportbug --template in a script then. E.g., $ echo reportbug --template -f /usr/share/bug/apt/script|batch May I include your apt configuration (/etc/apt/apt.conf et al)? [Y/n] stty: standard input: Inappropriate ioctl for device stty: standard input: Inappropriate ioctl for device