宇宙主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

欧基零壹微头条IP归属甄别会员请立即修改密码
查看: 11728|回复: 11

安装net_speeder出错,Unable to correct problems, you have held broken ?

[复制链接]
发表于 2014-8-7 22:54:31 | 显示全部楼层 |阅读模式
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.
应该怎么处理?
发表于 2014-8-7 22:56:18 | 显示全部楼层
第一行不是说的很清楚了吗?缺少pcap的头。
# apt-get libpcap-dev
 楼主| 发表于 2014-8-7 22:59:13 | 显示全部楼层
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.

怎么办呢?谢谢
发表于 2014-8-7 23:04:17 | 显示全部楼层
# apt-get install libc6-dev
 楼主| 发表于 2014-8-7 23:09:49 | 显示全部楼层
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
发表于 2014-8-7 23:09:58 | 显示全部楼层
这些协议 如果能换到windows下就爽歪歪了
发表于 2014-8-7 23:14:44 | 显示全部楼层
ubuntu不会自己搞定依赖库啊?
装个aptitude试试吧。
发表于 2014-8-7 23:17:54 | 显示全部楼层
# apt get install build-essential
发表于 2014-8-8 07:10:01 来自手机 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
发表于 2014-8-8 09:08:03 | 显示全部楼层
nginx  net_speeder  好像对dz论坛的附件支持不好。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|FastFib VPS论坛

GMT+8, 2024-9-20 23:26 , Processed in 0.096033 second(s), 11 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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