LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 3450|回复: 5

我的libncurses5-dev库安装不上了,求助!

[复制链接]
发表于 2005-11-28 18:20:06 | 显示全部楼层 |阅读模式
配置内核的make menuconfig需要libncurses库,以前我都是直接安装libncurses5-dev库就可以了,但是这次我先做了一下upgrade,结果libncurses5变成5.5-1了,而libncurses5-dev库需要5.4-4版本,结果就安装不上了,怎么解决,帮忙!


apt-get install libncurses5-dev
Reading Package Lists... Done
Building Dependency Tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libncurses5-dev: Depends: libncurses5 (= 5.4-4) but 5.5-1 is to be installed
E: Broken packages
发表于 2005-11-28 18:27:00 | 显示全部楼层
你是否更改了apt的source.list(比如删除了debian-security)
如果是请先改为原来的,update,然后安装libncurses5-dev
看你这种情况应该是什么时候你删除了一个源,而你安装的libncurses5正是在你删除这个源之前被升级了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-11-28 18:40:15 | 显示全部楼层
Post by think
你是否更改了apt的source.list(比如删除了debian-security)
如果是请先改为原来的,update,然后安装libncurses5-dev
看你这种情况应该是什么时候你删除了一个源,而你安装的libncurses5正是在你删除这个源之前被升级了



是的,我在用apt-spy之前把source.list备份了一下,然后用apt-spy搜索了Asia的源,好像是在这个时候运行了apt-get upgrade,之后又把source.list改回去了,debian-security有的。

cn99的源我给去掉了,是不是加上就可以了,晚上试试。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-11-28 20:37:43 | 显示全部楼层
装上了libncurses5 5.4-4版本
原来藏起来了
回复 支持 反对

使用道具 举报

发表于 2005-11-28 22:22:25 | 显示全部楼层
请问libncurses5-dev库是不是就是curse库编程用的
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-11-29 09:13:53 | 显示全部楼层
Post by skicy
请问libncurses5-dev库是不是就是curse库编程用的


是的
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表