安装libncurses5-dev

在Ubuntu 9.10上安装libncurses5-dev时遇到找不到软件包的问题,通过编辑sources.list文件替换源并更新,然后使用aptitude解决依赖冲突成功安装。此外,了解到aptitude在处理依赖关系上的优势。
摘要由CSDN通过智能技术生成

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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值