如何安装libpcap?当我尝试使用"sudo apt-get install libpcap-dev“时,它不起作用,并收到以下信息:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libvdpau1 screen-resolution-extra
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
libpcap0.8-dev
The following NEW packages will be installed:
libpcap-dev libpcap0.8-dev
0 upgraded, 2 newly installed, 0 to remove and 35 not upgraded.
E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/cache/apt/archives/发布于 2015-03-22 17:55:08
在开始安装libpcap之前,我没有关闭linux软件更新程序
发布于 2018-08-12 15:33:00
使用下面的命令,然后重试
rm /var/lib/apt/lists/lock
rm /var/cache/apt/archives/lock
rm /var/lib/dpkg/lockhttps://stackoverflow.com/questions/29192931
复制相似问题