I tried to run dpkg-reconfigure inside emacs' terminal emulator - M-x term.
It said:
Unknown terminal: eterm-color
Check the TERM environment variable.
Also make sure that the terminal is defined in the terminfo database.
Alternatively, set the TERMCAP environment variable to the desired
termcap entry.
debconf: whiptail output the above errors, giving up!
With Google, I found that '/usr/share/terminfo/e/eterm-color' is provided by
ncurses-term. I installed it, solving the problem.
So the package emacs24 (I have not checked other emacs versions) should
'recommend' (or at least 'suggest') ncurses-term (or another package that
solves the problem.
ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: emacs24 24.3+1-1ubuntu3
ProcVersionSignature: Ubuntu 3.13.0-12.32-generic 3.13.4
Uname: Linux 3.13.0-12-generic x86_64
ApportVersion: 2.12.5-0ubuntu2.2
Architecture: amd64
Date: Thu Feb 27 17:46:00 2014
MarkForUpload: True
SourcePackage: emacs24
UpgradeStatus: Upgraded to saucy on 2013-11-02 (117 days ago)
I tried to run dpkg-reconfigure inside emacs' terminal emulator - M-x term.
It said:
Unknown terminal: eterm-color
Check the TERM environment variable.
Also make sure that the terminal is defined in the terminfo database.
Alternatively, set the TERMCAP environment variable to the desired
termcap entry.
debconf: whiptail output the above errors, giving up!
With Google, I found that '/usr/share/ terminfo/ e/eterm- color' is provided by
ncurses-term. I installed it, solving the problem.
So the package emacs24 (I have not checked other emacs versions) should
'recommend' (or at least 'suggest') ncurses-term (or another package that
solves the problem.
ProblemType: Bug ature: Ubuntu 3.13.0- 12.32-generic 3.13.4
DistroRelease: Ubuntu 13.10
Package: emacs24 24.3+1-1ubuntu3
ProcVersionSign
Uname: Linux 3.13.0-12-generic x86_64
ApportVersion: 2.12.5-0ubuntu2.2
Architecture: amd64
Date: Thu Feb 27 17:46:00 2014
MarkForUpload: True
SourcePackage: emacs24
UpgradeStatus: Upgraded to saucy on 2013-11-02 (117 days ago)