nano error: Error opening terminal: xterm-256color

前端 未结 10 616
梦谈多话
梦谈多话 2020-12-22 17:41

After the installation of OSX Lion, I tried to:

nano /etc/apt/sources.list

But I get this error:

Error opening terminal: xt         


        
10条回答
  •  独厮守ぢ
    2020-12-22 18:24

    After upgrading to OSX Lion, I started getting this error on certain (Debian/Ubuntu) servers. The fix is simply to install the “ncurses-term” package which provides the file /usr/share/terminfo/x/xterm-256color.

    This worked for me on a Ubuntu server, via Erik Osterman.

提交回复
热议问题