Bug#1026027: graphical installer: using nano in a installer shell fails
Holger Wansing <hwansing@mailbox.org> writes:
> - start the installer
> - choose 'Graphical expert install'
> - 'Execute a shell'
> - call 'nano /etc/fstab'
> ---> Error opening terminal: xterm.
That would seem to be because $TERM is set to 'xterm', whereas there's
no terminfo file available for xterm.
Under /lib/terminfo/*/ we have:
ansi dumb linux screen vt102
and there's also /usr/share/terminfo/b/bterm
In the F1-F3 consoles it's set to 'linux' (as expected), in the text
installer, TERM is set to 'bterm' -- these work.
So as a workaround, one can set e.g: TERM=bterm and then nano works in
the graphical install's shell.
On the 11.5 netinst I just tried out, in the Graphical Install's shell,
TERM=xterm so that's obviously not the cause of the issue, but the
difference would appear to be that it has:
/usr/share/vte/termcap-0.0/xterm
So I guess the fix for this is either to make sure that that termcap
file gets installed again, or to set TERM in the Graphical Install's
shell to something like 'bterm' or 'vt102'.
I suspect restoring the termcap file is the correct fix.
Cheers, Phil.
--
|)| Philip Hands [+44 (0)20 8530 9560] HANDS.COM Ltd.
|-| http://www.hands.com/ http://ftp.uk.debian.org/
|(| Hugo-Klemm-Strasse 34, 21075 Hamburg, GERMANY
Reply to: