PDA

View Full Version : libpcap0.8-dev error install ?



fairbird
October 30th, 2011, 02:04 AM
حاولت تثبيت باكج libpcap0.8-dev ولكن حدث لي خطئ كما هو مبين اسطر الخطئ في التيرمينل


fair@ubuntu:~$ sudo apt-get install libpcap0.8-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:
libpcap0.8-dev: Depends: libpcap0.8 (= 1.0.0-6) but 1.1.1-6 is to be installed
E: Broken packages

وفي الـ source.list فقط سطرين كما هو موضح


deb http://archive.ubuntu.com/ubuntu (http://archive.ubuntu.com/ubuntu) lucid multiverse restricted universe main deb-src http://archive.ubuntu.com/ubuntu (http://archive.ubuntu.com/ubuntu) lucid multiverse restricted universe main #Added by software-properties

استخدم ubuntu 10.04

thelinuxer
October 31st, 2011, 01:50 PM
أظن إنت محتاج

sudo apt-get update
sudo apt-get install libpcap0.8-dev

ashams
October 31st, 2011, 05:11 PM
ممكن تجرب تنفذ الأمر ده من الطرفية:
لفتح الطرفية اضغط Ctrl+Alt+T
ثم اكتب الأمر اتالي:
sudo apt-get install -f

المصدر:
http://askubuntu.com/questions/34431/ubuntu-software-centre-fails-with-package-catalog-error
وبعدين

sudo apt-get update
sudo apt-get install libpcap0.8-dev