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