Posts: 35
antix_forum_account
Joined: 01 Feb 2013
#1
Hey dear forum ☺

I want to install the libpcap0.8-dev package...

This is the aptitude -s install transcript

Code: Select all

~% sudo aptitude -s install libpcap0.8-dev
The following NEW packages will be installed:
  libpcap0.8-dev{b}
0 packages upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 254 kB of archives. After unpacking 563 kB will be used.
The following packages have unmet dependencies:
 libpcap0.8-dev : Depends: libpcap0.8 (= 1.3.0-1) but 1.4.0-1 is installed.
The following actions will resolve these dependencies:

     Keep the following packages at their current version:
1)     libpcap0.8-dev [Not Installed]
Accept this solution? [Y/n/q/?]
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
Would download/install/remove packages.
~%
sudo aptitude -s purge libpcap0.8 says the following...

Code: Select all

~% sudo aptitude -s purge libpcap0.8
The following packages will be REMOVED:
  libpcap0.8{p}
0 packages upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
Need to get 0 B of archives. After unpacking 278 kB will be freed.
The following packages have unmet dependencies:
 ppp : Depends: libpcap0.8 (>= 0.9.8) but it is not going to be installed.
The following actions will resolve these dependencies:

     Remove the following packages:
1)     gnome-ppp
2)     ppp
3)     pppconfig
4)     pppoeconf
5)     umts-panel2
6)     wvdial
Accept this solution? [Y/n/q/?]
The following packages will be REMOVED:
  gnome-ppp{a} libpcap0.8{p} ppp{a} pppconfig{a} pppoeconf{a}
  umts-panel2{a} wvdial{a}
0 packages upgraded, 0 newly installed, 7 to remove and 1 not upgraded.
Need to get 0 B of archives. After unpacking 3,432 kB will be freed.
Do you want to continue? [Y/n/?]
Would download/install/remove packages.
~%
If I'm understanding it correctly, the ~/Documents/installed.txt file is telling me that the six packages that would be removed if libpcap0.8 were purged came out-of-the-box with antiX...

How to install libpcap0.8-dev???

Thanks in advance!!!!
Posts: 2,238
dolphin_oracle
Joined: 16 Dec 2007
#2
I think what you actually have here is mis-match set of version numbers. If I'm correct, at some point you had the"testing" repos enabled, and at the moment you have the"wheezy" or"stable" repos enabled. The reason you are getting the dependency issue is that you are trying to install the wheezy-stable version of libpcap0.8-dev, but the"testing" version of libpcap0.8 is already installed, which is of a later version number, hence the mis-match.

I suggest enabling the"testing" repos for this operation, and then reverting back to the"wheezy" repos after you are done. I just tried this on my machine, and all is well. If nothing else, you can manually upgrade just libpcap0.8 from testing without any problems.
Posts: 35
antix_forum_account
Joined: 01 Feb 2013
#3
Dear dolphin_oracle... I'm super sorry about taking forever to reply...
dolphin_oracle wrote:I think what you actually have here is mis-match set of version numbers. If I'm correct, at some point you had the"testing" repos enabled, and at the moment you have the"wheezy" or"stable" repos enabled.
Yes that could be it. To be honest, I can't remember all the tweaks that I've done with my Edelweißpiraten install. My bungling...
dolphin_oracle wrote:I suggest enabling the"testing" repos for this operation, and then reverting back to the"wheezy" repos after you are done. I just tried this on my machine, and all is well.
yes! yes! enabling"testing" and then reverting back to"wheezy" works ☺

Thanks!