selects Teletype frontend on non-ttys
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
debconf (Ubuntu) |
Triaged
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: debconf
Since July 17th, Gutsy's debconf complain when apt-get is run within a script:
# /usr/bin/apt-get -q -y -u upgrade
Reading package lists...
Building dependency tree...
Reading state information...
The following packages will be upgraded:
apt apt-utils binutils dhcp3-client dhcp3-common dpkg dpkg-dev e2fslibs
e2fsprogs gcc-4.2-base libblkid1 libc6 libc6-dev libc6-i686 libcomerr2
libcurl3-gnutls libdevmapper1.02.1 libgcc1 libss2 libstdc++6 libuuid1
libvolume-id0 linux-libc-dev perl perl-base perl-modules python2.5
python2.5-minimal udev vim-common vim-tiny volumeid
32 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 4258kB/28.3MB of archives.
After unpacking 20.5kB of additional disk space will be used.
Get:1 http://
Get:2 http://
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Fetched 4258kB in 0s (9401kB/s)
(Reading database ... 12243 files and directories currently installed.)
Preparing to replace dpkg 1.14.4+
Unpacking replacement dpkg ...
Setting up dpkg (1.14.5ubuntu1) ...
It worked up to July 17th, now it's broken.
100% reproducible.
Changed in debconf (Ubuntu): | |
assignee: | Colin Watson (cjwatson) → nobody |
What does 'echo $TERM' say?
elsif ($ENV{TERM} eq 'dumb' || $ENV{TERM} eq 'unknown') {
die gettext("Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.")."\n";
}
What terminal emulator are you running?