Cannot install Codlite 9 in Ubuntu 15.10

CodeLite installation/troubleshooting forum
DavidGH
CodeLite Plugin
Posts: 819
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

Re: Cannot install Codlite 9 in Ubuntu 15.10

Post by DavidGH »

Ah, I hadn't noticed that the ubuntu CodeLite had got that recent :)

Which libclang1 is actually installed? And what is the output of doing:
aptitude why libclang1
It should tell you what would be damaged by removing it.
weaponx69
CodeLite Enthusiast
Posts: 15
Joined: Thu Apr 07, 2016 3:17 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: Cannot install Codlite 9 in Ubuntu 15.10

Post by weaponx69 »

It looks like the installed version is: libclang-common-3.5-dev 1:3.5-dev

brian@brian-MS-7699:~/UnrealEngine/Engine/Binaries/Linux$ aptitude why libclang1
Unable to find a reason to install libclang1.
weaponx69
CodeLite Enthusiast
Posts: 15
Joined: Thu Apr 07, 2016 3:17 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: Cannot install Codlite 9 in Ubuntu 15.10

Post by weaponx69 »

The other library is: libclang1.3.5 1:3.5.2-2
DavidGH
CodeLite Plugin
Posts: 819
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

Re: Cannot install Codlite 9 in Ubuntu 15.10

Post by DavidGH »

OK. Why not try installing the 1-3.6. I just installed 1-3.5 alongside my 1-3.6; a different libllvm came too, but nothing went wrong and nothing was uninstalled.

If that works for you, do the same for CodeLite's other missing deps.
weaponx69
CodeLite Enthusiast
Posts: 15
Joined: Thu Apr 07, 2016 3:17 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: Cannot install Codlite 9 in Ubuntu 15.10

Post by weaponx69 »

It wouldn't let me install 3.6, but it did let me install 3.7. I'll try to install that and see what happens after that. Maybe mine will finally work now.
weaponx69
CodeLite Enthusiast
Posts: 15
Joined: Thu Apr 07, 2016 3:17 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: Cannot install Codlite 9 in Ubuntu 15.10

Post by weaponx69 »

Okay, I tried it with 3.7 but I got the same results. It seems to only want 3.6.

brian@brian-MS-7699:~/UnrealEngine/Engine/Binaries/Linux$ sudo apt-get install codelite
[sudo] password for brian:
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:
codelite : Depends: libclang1-3.6 (>= 3.2) but it is not going to be installed
Depends: liblldb-3.6 but it is not going to be installed
Depends: libclang1 but it is not going to be installed
Recommends: lldb (>= 3.4) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
brian@brian-MS-7699:~/UnrealEngine/Engine/Binaries/Linux$
DavidGH
CodeLite Plugin
Posts: 819
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

Re: Cannot install Codlite 9 in Ubuntu 15.10

Post by DavidGH »

I'm struggling to work out why that could be. One possibility is that (so I'm told) plain 'apt' is fairly unintelligent. Aptitude is better.

So why not try: sudo aptitude install codelite
If nothing else, you should get better explanatory messages of why it's failing.
weaponx69
CodeLite Enthusiast
Posts: 15
Joined: Thu Apr 07, 2016 3:17 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: Cannot install Codlite 9 in Ubuntu 15.10

Post by weaponx69 »

I'll check that out when I'm on my computer again.

Sent from my C6916 using Tapatalk
weaponx69
CodeLite Enthusiast
Posts: 15
Joined: Thu Apr 07, 2016 3:17 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: Cannot install Codlite 9 in Ubuntu 15.10

Post by weaponx69 »

brian@brian-MS-7699:~$ sudo aptitude install codelite
The following NEW packages will be installed:
codelite libclang1{a} libclang1-3.6{a} liblldb-3.6{a} libllvm3.6v5{ab} lldb{a} lldb-3.6{a} llvm-3.6{a} llvm-3.6-dev{a}
llvm-3.6-runtime{a}
0 packages upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
Need to get 51.3 MB of archives. After unpacking 237 MB will be used.
The following packages have unmet dependencies:
libllvm3.6v5 : Conflicts: libllvm3.6 but 1:3.6.2~+rc1-1~exp1~gd~v is installed.
Conflicts: libllvm3.6:i386 but 1:3.6.2~+rc1-1~exp1~gd~v is installed.
open: 222; closed: 3558; defer: 146; conflict: 291 .The following actions will resolve these dependencies:

Remove the following packages:
1) account-plugin-aim....

Keep the following packages at their current version:
453) codelite [Not Installed]

Leave the following dependencies unresolved:
454) aisleriot recommends yelp....


Accept this solution? [Y/n/q/?]
DavidGH
CodeLite Plugin
Posts: 819
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

Re: Cannot install Codlite 9 in Ubuntu 15.10

Post by DavidGH »

Well, that gives some useful (I hope) information.

My box has account-plugin-aim installed too, version 3.12.10, without any conflict. Which version does yours have, and is there an available upgrade?
Were there lots of other conflicts too (for the '...' suffix)?
Accept this solution? [Y/n/q/?]
If you say 'no', you get another suggested fix, and then another, and...
Post Reply