下面的代码是否意味着它没有安装并有任何建议
r-master/libcrafter$ sudo apt-get install libpcap0.8-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
libpcap0.8-dev
0 upgraded, 1 newly installed, 0 to remove and 133 not upgraded.
Need to get 209 kB of archives.
After this operation, 712 kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
libpcap0.8-dev
Install these packages without verification? [y/N] y
Err http://in.archive.ubuntu.com/ubuntu/ utopic/main libpcap0.8-dev amd64 1.6.2-1
404 Not Found [IP: 91.189.88.153 80]
E: Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/main/libp/libpcap/libpcap0.8-dev_1.6.2-1_amd64.deb 404 Not Found [IP: 91.189.88.153 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
altaf@altaf-Lenovo-G50-70:~/Desktop/CNProjactProgram/libcrafter-master/libcrafter-master/libcrafter$ 发布于 2015-11-15 12:43:11
是的,这绝对意味着。该软件包没有安装,这是因为正在使用的包存储库不工作,而且对您当前版本的Ubuntu也不起作用。
Ubuntu 14.10在2015年7月23日结束了生命.所以,它不是在Ubuntu的镜子上。
你可以:
使用旧版本镜子
在/etc/apt.conf中,将对http://in.archive.ubuntu.com/ubuntu/的所有引用更改为http://old-releases.ubuntu.com/ubuntu/
sudo sed -i 's/in.archive.ubuntu.com/old-releases.ubuntu.com/' /etc/apt.conf我考虑在这里指出,您也可以从14.10 CD或ISO安装,但这并不能真正“解决”您的问题,这只是一个解决方案。
或者我个人要做的事:
使用Ubuntu的新版本(或LTS)
使用长期支持版本(14.04.3是现在的最新版本)从来都不是一个坏主意,因为它有助于避免像现在这样的问题。例如,14.04是通过2019年4月支持的。
或者,您只需将Ubuntu的最新版本从14.10升级到最新版本;最新版本为15.10。
您可以在这里看到不同版本的生命周期:
发布于 2022-05-01 20:02:15
我对此有异议
rm /usr/share/doc/libpcap0.8-dev/*
rm /usr/share/man/man7/pcap-filter.7.gz
download .deb
dpkg -i libpcap0.8_1.10.1-4_amd64.deb
apt --fix-broken install这解决了我的问题,如果人们想找到解决办法
https://stackoverflow.com/questions/33719738
复制相似问题