Cannot install Codlite 9 in Ubuntu 15.10

CodeLite installation/troubleshooting forum
weaponx69
CodeLite Enthusiast
Posts: 15
Joined: Thu Apr 07, 2016 3:17 am
Genuine User: Yes
IDE Question: C++
Contact:

Cannot install Codlite 9 in Ubuntu 15.10

Post by weaponx69 »

Your codelite version: Stuck on version 8
Is it a self compiled version of codelite: No
Your OS: Ubuntu 15.10
Compiler version: gcc (Ubuntu 5.2.1-22ubuntu2) 5.2.1 20151010

Hello, I'm trying to install the latest version of Codelite. I am currently stuck on version 8 that is in the Ubuntu repository. I went through all the steps to install Codelite correctly including purging the old Codelite. When I change the new updated repositories and do a apt-get update, and try to install, I get repository errors. Since I use Codelite regularly, I erased the updated repository and reverted back to the old Ubuntu repository version so I don't have the exact errors right now. If I get support, I will try to install the new version again and put up the repo errors I get. Trying to install version 9 breaks my repository.

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

Re: Cannot install Codlite 9 in Ubuntu 15.10

Post by eranif »

Did you try installing CodeLite weekly? http://forums.codelite.org/viewtopic.php?f=20&t=3309
Please follow the instructions _as is_

Eran
Make sure you have read the HOW TO POST thread
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 »

No. I am not interested in getting the weekly version. I want to install a stable version. Everytime I turn on codelite, it tells me that a new version is available. I don't think I really need version 9 but I just wanted to stay current with the latest stable version.
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 »

Hi Brian,

That's strange. I have a 15.10 box too, and just uninstalled, then reinstalled from the repo without any problem.

Yes, please could you post the error messages. And check your CodeLite /etc/apt/sources.list entries, and if in doubt post those too.

Regards,

David
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 »

Well, I just deleted the /etc/apt/sources.list reference for the latest Codelite suggested in the installation page. I'm going to have to purge the old Codelite again and attempt to reinstall using the new repositories. I just remember there were a lot of repository conflicts. It would suggest a lot of things that the repository said would not be installed. I'll post the errors when I go through the whole process again.
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 »

Here you go:

brian@brian-MS-7699:~/UnrealEngine/Engine/Binaries/Linux$ sudo apt-get install codelite wxcrafter
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.
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 »

That's stranger!

What's stopping you installing e.g. libclang1.3-6? It's available in my ubuntu without me needing to do anything clever; I've just got the standard main and universe ubuntu repos set.

If they aren't available for you, could it be that you're using a mirror that's missing some packages? I've had that happen to me in the past, though admittedly not for years.
I'm going to have to purge the old Codelite again
You don't really need to do that if you're updating one of our own packages. I think that suggestion was added to the instructions in case anyone was still using the ancient ubuntu package.
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 have no idea about what is stopping me from installing libclang1.3.6. I have to admit though that I'm a little scared to mess with clang because I have unreal engine 4.11 currently installed and working and I don't want break that install to make Codelite work. I think I'm going to have to have someone check my etc/apt/sources.list to make sure it's in order. BTW, I think that I am currently using the ancient Ubuntu version that is already in Ubuntu 15.10. Its the one that I installed just by typing sudo apt-get install codelite. The only one that doesn't work is the repository that I install per the instructions to install codelite on the codelite website.
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 see. That's more plausible then; you'd mentioned CodeLite 8 originally, and that also depends on libclang1.

You can see what libclang1 versions are available by doing:
apt-cache search libclang1
and
apt-cache show libclang1
tells you which is installed.

Or do it the easy way and use synaptic; that's what I do ;) . And if you try to install libclang1 with synaptic (or aptitude), it will probably give you a better explanation of what is going wrong.

FWIW the relevant bits of my my /etc/apt/sources.list are:
deb http://gb.archive.ubuntu.com/ubuntu wily main
deb http://gb.archive.ubuntu.com/ubuntu wily universe
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 »

Well the version of Codelite that I can install with 15.10 by just typing apt-get install codelite is version 8. I typed in the apt-cache search libclang1 and got:

brian@brian-MS-7699:~/UnrealEngine/Engine/Binaries/Linux$ apt-cache search libclang1
libclang-3.5-dev - clang library - Development package
libclang-3.6-dev - clang library - Development package
libclang1-3.5 - C interface to the clang library
libclang1-3.6 - C interface to the clang library
libclang-3.4-dev - clang library - Development package
libclang-3.7-dev - clang library - Development package
libclang1 - C, C++ and Objective-C compiler (LLVM based)
libclang1-3.4 - C interface to the clang library
libclang1-3.4-dbg - clang library
libclang1-3.5-dbg - clang library
libclang1-3.6-dbg - clang library
libclang1-3.7 - C interface to the clang library
libclang1-3.7-dbg - clang library
Post Reply