User forums > Help

dependency problems - installation codeblocks 16:01 - ubuntu 16.04

<< < (5/6) > >>

Gabriel.LP.Abreu:

--- Quote from: dmoore on April 28, 2016, 06:41:01 am ---I had the wrong version string for the wxWidgets build that I put in the PPA. Longer version here: http://askubuntu.com/questions/763754/launchpad-build-recipes-how-do-i-correctly-specify-build-dependencies-for-packa

--- End quote ---

I was just reading this post and the bug report few seconds before returning to the forum and read your answer. Although I do not have much knowledge about it I could understand the problem. Probably this will help others who depend on the same package to resolve the dependency problems in 16.04.

and again thanks a lot! And sorry for bad english.

Gabriele74:
Still not working for me on Ubuntu 64 bit 16.04:

$ sudo apt-get install codeblocks
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:
 codeblocks : Depends: libcodeblocks0 (= 16.01~ubuntu16.04.1) but 16.01 is to be installed
              Depends: codeblocks-common (= 16.01~ubuntu16.04.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Could it be something with my configuration? What can I do to help debug the problem?
Thanks in advance.

dmoore:

--- Quote from: Gabriele74 on April 30, 2016, 06:43:16 pm ---Still not working for me on Ubuntu 64 bit 16.04:

$ sudo apt-get install codeblocks
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:
 codeblocks : Depends: libcodeblocks0 (= 16.01~ubuntu16.04.1) but 16.01 is to be installed
              Depends: codeblocks-common (= 16.01~ubuntu16.04.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Could it be something with my configuration? What can I do to help debug the problem?
Thanks in advance.

--- End quote ---

Try apt-get removing codeblocks and wxwidgets and try again.

Gabriele74:

--- Quote ---Try apt-get removing codeblocks and wxwidgets and try again.

--- End quote ---

Thanks a lot, that was it: I had some old codeblocks libraries which were not remove by apt-get --purge autoremove
Manually removing all codeblocks related libraries and doing apt-get install codeblocks solved the issue.

Thanks again  ;D

LETARTARE:
Hello,
I started with Linux; I chose 'Kubuntu-16.04-LTS-amd64 (xenial)' because you offer a package for 'wxwidgets2.8'.
Could you provide the gcc version to compile me 'wxwidgets2.8' because I used gcc-4.7 (with CodeBlocks-svn11210)  and is inconsistent?.

Thank you for this excellent work : this is the only version for ubuntu.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version