LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-28-2011, 11:09 AM   #1
aloishis89
Member
 
Registered: Sep 2007
Posts: 54

Rep: Reputation: 15
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.
 
Old 11-28-2011, 05:30 PM   #2
klearview
Member
 
Registered: Aug 2006
Location: London
Distribution: Debian, Kubuntu
Posts: 572

Rep: Reputation: 75
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.
 
Old 11-29-2011, 04:24 AM   #3
aloishis89
Member
 
Registered: Sep 2007
Posts: 54

Original Poster
Rep: Reputation: 15
I removed that library, did apt-get clean all and then apt-get -f install, but got the same error.
 
Old 11-29-2011, 05:55 AM   #4
klearview
Member
 
Registered: Aug 2006
Location: London
Distribution: Debian, Kubuntu
Posts: 572

Rep: Reputation: 75
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?
 
Old 11-29-2011, 09:57 AM   #5
aloishis89
Member
 
Registered: Sep 2007
Posts: 54

Original Poster
Rep: Reputation: 15
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!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dependency Issue carlosinfl Red Hat 2 04-09-2009 09:04 AM
Problems installing mozilla-devel, strange yum dependency error Fegenbush Linux - Software 1 02-01-2007 12:38 PM
Strange missing dependency when updating 01d55 Fedora 2 06-19-2006 02:28 AM
Firefox Dependency issue? synth42 Slackware 4 03-17-2006 04:25 AM
rpm dependency issue afrodocter Linux - Software 1 04-15-2004 02:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration