1. 输入#sudo apt-get install libncurses5-dev,如果无法更新则继续。
2. 输入#sudo apt-get update ,如果不能更新源。
3. 输入#sudo gedit /etc/apt/sources.list,将文档里面内容替换成如下内容:
deb http://mirrors.163.com/ubuntu/ lucid main universe restricted multiverse
deb-src http://mirrors.163.com/ubuntu/ lucid main universe restricted multiverse
deb http://mirrors.163.com/ubuntu/ lucid-security universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ lucid-security universe main multiverse restricted
deb