Missing dependency: emacs does not pull any package providing /usr/share/terminfo/e/eterm-color
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
emacs24 (Debian) |
Fix Released
|
Unknown
|
|||
emacs24 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
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/
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.
UPDATE: This bug also occurs on a new installation of Ubuntu 15.04. Yesterday I installed Ubuntu 15.04 in Virtualbox, installed aptitude and emacs, and the only configuration I changed was the network proxy (so I did not change anything that would change TERM). The bug occurred.
ProblemType: Bug
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)
description: | updated |
Changed in emacs24 (Debian): | |
status: | Unknown → New |
Changed in emacs24 (Debian): | |
status: | New → Fix Released |
I don't think there is anything in the standard install which would set TERM to eterm-color. Do you have personal initialization files which override the system TERM? How is Emacs connected to your display and keyboard (Unity, Gnome, bare Linux terminal ...?)
(Tempted to set this to status: "Incomplete" but not able to verify on Ubuntu 13.10 at the moment. If anybody with access to a Saucy image can chime in here, that would be appreciated.)