全球主机交流论坛

标题: 安装net_speeder出错,Unable to correct problems, you have held broken ? [打印本页]

作者: 爱国者捣蛋    时间: 2014-8-7 22:54
标题: 安装net_speeder出错,Unable to correct problems, you have held broken ?
net_speeder.c:1:18: fatal error: pcap.h: No such file or directory
compilation terminated.
在apt-get install libnet1-dev 时报错,
Reading package lists... Done
Building dependency tree      
Reading state information... 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.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libnet1-dev : Depends: libc6-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
应该怎么处理?
作者: h0stl0c    时间: 2014-8-7 22:56
第一行不是说的很清楚了吗?缺少pcap的头。
# apt-get libpcap-dev
作者: 爱国者捣蛋    时间: 2014-8-7 22:59
h0stl0c 发表于 2014-8-7 22:56
第一行不是说的很清楚了吗?缺少pcap的头。
# apt-get libpcap-dev

The following packages have unmet dependencies:
libpcap0.8-dev : Depends: libc6-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

怎么办呢?谢谢
作者: h0stl0c    时间: 2014-8-7 23:04
# apt-get install libc6-dev
作者: 爱国者捣蛋    时间: 2014-8-7 23:09
h0stl0c 发表于 2014-8-7 23:04
# apt-get install libc6-dev

The following packages have unmet dependencies:
libc6-dev : Depends: libc6 (= 2.13-38+deb7u3) but 2.19-7 is to be installed
             Depends: libc-dev-bin (= 2.13-38+deb7u3) but it is not going to be installed
E: Unable to correct problems, you have held broken packages
作者: skycms    时间: 2014-8-7 23:09
这些协议 如果能换到windows下就爽歪歪了
作者: 62900015    时间: 2014-8-7 23:14
ubuntu不会自己搞定依赖库啊?
装个aptitude试试吧。
作者: h0stl0c    时间: 2014-8-7 23:17
# apt get install build-essential
作者: lihq123    时间: 2014-8-8 07:10
提示: 作者被禁止或删除 内容自动屏蔽
作者: cmse    时间: 2014-8-8 09:08
nginx  net_speeder  好像对dz论坛的附件支持不好。
作者: seven    时间: 2014-8-8 14:10
神奇的 看不懂 英语
作者: psdshow    时间: 2014-8-10 00:10
使用此脚本安装成功
但完全没有用的样子
ping超时比以前还多




欢迎光临 全球主机交流论坛 (https://hostloc.gdisk.cf/) Powered by Discuz! X3.4