Hi,
I followed the steps to install CodeLite on Ubuntu 17.10, but I'm getting the error messages below.
I'm stuck, any help would be greatly appreciated!
Thanks, Sylvia
1. sudo apt-key adv --fetch-keys https://repos.codelite.org/CodeLite.asc
2. sudo apt-add-repository 'deb https://repos.codelite.org/ubuntu/ artful universe'
3. sudo apt-get update
4. sudo apt-get install codelite wxcrafter
The last command results in the following errors:
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 installable
Depends: libhunspell-1.3-0 (>= 1.3.3) but it is not installable
Depends: liblldb-3.6 but it is not installable
Recommends: lldb (>= 3.4) but it is not going to be installed
Recommends: nodejs but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Problem installing CodeLite on Ubuntu
-
- CodeLite Curious
- Posts: 2
- Joined: Mon Apr 30, 2018 5:24 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
-
- CodeLite Plugin
- Posts: 819
- Joined: Wed Sep 03, 2008 7:26 pm
- Contact:
Re: Problem installing CodeLite on Ubuntu
Hi,
That's surprising. I have CodeLite installed on my artful VBox guest without any trouble. 'apt-cache depends codelite' says it depends on libclang1-4.0 and libhunspell-1.6-0, which fits with what synaptic tells me is available.
What could have gone wrong? Do you have the standard ubuntu repos available i.e. not commented out in /etc/apt/sources.list? Do you have any other unusual repos there, that may have other codelite packages with different 'depends'? Have you 'apt update'ed recently?
Regards,
David
That's surprising. I have CodeLite installed on my artful VBox guest without any trouble. 'apt-cache depends codelite' says it depends on libclang1-4.0 and libhunspell-1.6-0, which fits with what synaptic tells me is available.
What could have gone wrong? Do you have the standard ubuntu repos available i.e. not commented out in /etc/apt/sources.list? Do you have any other unusual repos there, that may have other codelite packages with different 'depends'? Have you 'apt update'ed recently?
Regards,
David
-
- CodeLite Curious
- Posts: 2
- Joined: Mon Apr 30, 2018 5:24 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Problem installing CodeLite on Ubuntu
Hi David,
apt-cache was showing older dependencies.
I looked in the /etc/apt/sources.list as you suggested and there was indeed an repo there that was incorrect.
All is good now, have a good install and up and running!
Thanks!
Sylvia
apt-cache was showing older dependencies.
I looked in the /etc/apt/sources.list as you suggested and there was indeed an repo there that was incorrect.
All is good now, have a good install and up and running!
Thanks!
Sylvia