ubuntu9.10,按照嵌入式开发板用户手册,安装libncurses5-dev时运行#sudo apt-get install libncurses5-dev,但提示找不到软件包。搜到方法如下。
(以下http://blog.chinaunix.net/uid-26021340-id-3031278.html)
1.写命令sudo gedit /etc/apt/sources.list
2.将里面的内容全部删除用下面的源进行代替:
#
# deb cdrom:[Ubuntu 7.04 _Feisty Fawn_ - Daily Build i386 (20070407)]/ hardy main restricted
#deb cdrom:[Ubuntu 7.04 _Feisty Fawn_ - Daily Build i386 (20070407)]/ hardy main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ hardy main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ hardy-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://us.archive.ubuntu.com/ubuntu/ hardy universe
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://us.archive.ubuntu.com/ubuntu/ hardy multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy mu