← Back to team overview

desktop-packages team mailing list archive

[Bug 1285864] Re: Missing dependency: emacs does not pull any package providing /usr/share/terminfo/e/eterm-color

 

I can confirm that M-x xterm in emacs24 sets TERM to eterm-color when
launched out of the box on Ubuntu 15.04. (In the regular terminal, it's
simply xterm.)

Whether this should be fixed in the packaging (make it not set eterm-
color) or dependencies (pull in ncurses-term) is an open question,
though.

Inside xterm, e.g. "sudo dpkg-reconfigure -plow dictionaries-common" is
a way to trigger the bug.  With ncurses-term installed, I get a "nice"
colorful ncurses dialog box; without it, dpkg-reconfigure aborts.

Another obvious workaround is to specify a nongraphical Debconf front-
end.

sudo DEBIAN_FRONTEND=readline dpkg-reconfigure -plow dictionaries-common

** Changed in: emacs24 (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to emacs24 in Ubuntu.
https://bugs.launchpad.net/bugs/1285864

Title:
  Missing dependency: emacs does not pull any package providing
  /usr/share/terminfo/e/eterm-color

Status in emacs24 package in Ubuntu:
  Confirmed

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/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.

  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
  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/emacs24/+bug/1285864/+subscriptions