Unmet dependencies when installing

CodeLite installation/troubleshooting forum
stilf
CodeLite Curious
Posts: 4
Joined: Sat Apr 26, 2014 12:16 pm
Genuine User: Yes
IDE Question: C++
Contact:

Unmet dependencies when installing

Post by stilf »

Hi,

I'm trying to install the latest version on Linux Mint 16 XFCE, following the instructions here: http://codelite.org/LiteEditor/Repositories#toc1

and after the step:

Code: Select all

 sudo apt-get install codelite wxcrafter
I get the following error:

Code: Select all

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 resolve the situation:

The following packages have unmet dependencies:
 codelite : Depends: libtiff5 (>= 4.0.3) but 4.0.2-4ubuntu3 is to be installed
            Depends: libwxbase3.0-0 (>= 3.0.0) but it is not installable
            Depends: libwxgtk3.0-0 (>= 3.0.0) but it is not installable
E: Unable to correct problems, you have held broken packages.
Do you know how to fix each of these errors?

Thanks for your time.
DavidGH
CodeLite Plugin
Posts: 819
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

Re: Unmet dependencies when installing

Post by DavidGH »

Hi,

I'm confused. I already have successfully installed CodeLite5.4/wxCrafter on a Mint16 Cinnamon virtualbox guest.

I also had CL5.3 installed on a Mint16 Mate guest, together with our unofficial wxWidgets 3.0 package. I removed everything, then successfully installed CL5.4/wxC. Looking at CL's dependencies (apt-cache depends codelite) there's no mention of the ones your apt complains of. I've not tried with Mint XFCE, but I don't imagine it's significantly different.

I expect you've already tried apt-get update. If so, the next thing to try is to install the wxWidgets 3.0 package; doing so might convince apt that there's nothing to worry about. Failing all else, download the packages, then use dpkg to install them, presumably with the dpkg –force-depends option.

Regards,

David
stilf
CodeLite Curious
Posts: 4
Joined: Sat Apr 26, 2014 12:16 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Unmet dependencies when installing

Post by stilf »

Sorry it took me long to reply, I didn't have the time to test it until now.
I tried the steps on a different computer, same OS, which I didn't try installing yet at all, using link 2 only (http://codelite.org/LiteEditor/WxWidgets30Binaries) and it worked.

Back to the first computer, after installing the binaries I still got the same message.
I went to Synaptic > Repositories and removed all the the urls that were added post the installation.
I installed the binaries for WxWidgets from link2 and then:

Code: Select all

sudo apt-get install codelite
simply worked.

I hope it helps someone.

Thanks again.
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Unmet dependencies when installing

Post by eranif »

stilf wrote:simply worked.
Make sure it installed codelite 5.4 and _NOT_ 2.8 (several distros have codelite 2.8)

Eran
Make sure you have read the HOW TO POST thread
Post Reply