Bug#509866: found the ALL CAPS bug
Package: apt
Version: 0.7.21
Severity: normal
Hi,
I believe the problem is line 785 of apt-pkg/deb/dpkgpm.cc:
| tcgetattr(0, &tt);
The return code is not checked here; the call will fail if stdin is not a
terminal (in the case of d-i and autobuilders, it isn't), and the termios
struct ends up uninitialized, so the pty for dpkg is set up randomly.
Simon
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: powerpc (ppc)
Kernel: Linux 2.6.26-1-powerpc
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages apt depends on:
ii debian-archive-keyring 2009.01.31 GnuPG archive keys of the Debian a
ii libc6 2.9-6 GNU C Library: Shared libraries
ii libgcc1 1:4.3.3-7 GCC support library
ii libstdc++6 4.3.3-7 The GNU Standard C++ Library v3
apt recommends no packages.
Versions of packages apt suggests:
pn apt-doc <none> (no description available)
ii aptitude 0.4.11.11-1+b1 terminal-based package manager
ii bzip2 1.0.5-1 high-quality block-sorting file co
ii dpkg-dev 1.14.26 Debian package development tools
ii lzma 4.43-14 Compression method of 7z format in
pn python-apt <none> (no description available)
-- no debconf information
Reply to: