nano error: Error opening terminal: xterm-256color

前端 未结 10 611
梦谈多话
梦谈多话 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:29

    I can confirm this is a terminfo issue. This is what worked for me. SSH in to the remote machine and run

     sudo apt-get install ncurses-term
    

    Boom. Problem solved.

提交回复
热议问题