Strange dependency issue
When I run apt-get update, I get the following:
The following packages have unmet dependencies: libbullet2.79-dev : Depends: libbullet2.79 (= 2.79.1-ubuntu1~natty1) but it is not installed E: Unmet dependencies. Try using -f. Running apt-get -f install returns the following: Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following packages were automatically installed and are no longer required: libkastencore4 liboktetagui4 linux-headers-2.6.38-8 chromium-browser-inspector libkastengui4 liboktetakastencontrollers4 libqjson0 libkastencontrollers4 liboktetakastengui4 linux-headers-2.6.38-8-generic liboktetakastencore4 liboktetacore4 Use 'apt-get autoremove' to remove them. The following extra packages will be installed: libbullet2.79 The following NEW packages will be installed: libbullet2.79 0 upgraded, 1 newly installed, 0 to remove and 56 not upgraded. 2 not fully installed or removed. Need to get 0 B/943 kB of archives. After this operation, 2,392 kB of additional disk space will be used. Do you want to continue [Y/n]? y (Reading database ... 234600 files and directories currently installed.) Unpacking libbullet2.79 (from .../libbullet2.79_2.79.1-ubuntu1~natty1_i386.deb) ... dpkg: error processing /var/cache/apt/archives/libbullet2.79_2.79.1-ubuntu1~natty1_i386.deb (--unpack): trying to overwrite '/usr/lib/libBulletCollision.so', which is also in package libbullet 2.78-0 Errors were encountered while processing: /var/cache/apt/archives/libbullet2.79_2.79.1-ubuntu1~natty1_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) Any idea why this isn't working? I've tried apt-get clean all as well but it didn't help. |
Do you have 'libbullet 2.78-0' installed?
If you don't, then simply remove the offending library '/usr/lib/libBulletCollision.so' and re-run apt. |
I removed that library, did apt-get clean all and then apt-get -f install, but got the same error.
|
Hmm, strange.
Do 'dpkg -l | grep bullet' to make sure there isn't libbullet 2.78-0. Also, is libBulletCollision.so actually present in /usr/lib/ now? If it is, is its modification time the same time you did the last install attempt at? |
I made sure I removed the old version of libbullet with dpkg and then purged it. Then I restarted, ran apt-get clean all and apt-get -f install and that fixed it. Thanks for the help!
|
All times are GMT -5. The time now is 07:48 AM. |