News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

dependency problems - installation codeblocks 16:01 - ubuntu 16.04

Started by Giovanni62, April 21, 2016, 10:17:01 PM

Previous topic - Next topic

Giovanni62

There are dependency issues if you try to install codeblocks 16.01 on ubuntu 16.04 through ppa:damien-moore/codeblocks-stable. :-[

camilocc

I think I have the same problem with clean 16.04 install of Ubuntu (in VM).

The following packages have unmet dependencies:
codeblocks : Depends: libcodeblocks0 (= 16.01~ubuntu16.04.1) but it is not going to be installed
              Depends: libwxbase2.8-0 (>= 2.8.12.1+dfsg2) but it is not installable
              Depends: libwxgtk2.8-0 (>= 2.8.12.1+dfsg2) but it is not installable
E: Unable to correct problems, you have held broken packages.
[url="https://ca2.software/"]https://ca2.software/[/url]

[url="https://twitch.tv/ca2software"]https://twitch.tv/ca2software[/url]
[url="https://mixer.com/ca2software"]https://mixer.com/ca2software[/url]
[url="https://www.youtube.com/channel/UCOb_bZgtRx3kJ_uXaEUSDzw"]https://www.youtube.com/channel/UCOb_bZgtRx3kJ_uXaEUSDzw[/url]


stahta01

Quote from: camilocc on April 21, 2016, 10:53:34 PM
I think I have the same problem with clean 16.04 install of Ubuntu (in VM).

The following packages have unmet dependencies:
codeblocks : Depends: libcodeblocks0 (= 16.01~ubuntu16.04.1) but it is not going to be installed
              Depends: libwxbase2.8-0 (>= 2.8.12.1+dfsg2) but it is not installable
              Depends: libwxgtk2.8-0 (>= 2.8.12.1+dfsg2) but it is not installable
E: Unable to correct problems, you have held broken packages.


What version of wxgtk exists on Ubuntu 16.04?

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

camilocc

libwxgtk3.0-0v5

Should I try to find some repository which install older version of gtk ( 2.8 )?

If so, do you indicate some?
[url="https://ca2.software/"]https://ca2.software/[/url]

[url="https://twitch.tv/ca2software"]https://twitch.tv/ca2software[/url]
[url="https://mixer.com/ca2software"]https://mixer.com/ca2software[/url]
[url="https://www.youtube.com/channel/UCOb_bZgtRx3kJ_uXaEUSDzw"]https://www.youtube.com/channel/UCOb_bZgtRx3kJ_uXaEUSDzw[/url]

stahta01

Quote from: camilocc on April 22, 2016, 01:23:04 AM
libwxgtk3.0-0v5

Should I try to find some repository which install older version of gtk ( 2.8 )?

If so, do you indicate some?

You likely need to wait or self build Code::Blocks.
You could try the Debian stretch (Testing) deb files and see if that works.

NOTE: Code::Blocks built using wxWidgets 3.0 is NOT a stable as using wxWidgets 2.8.12.

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

dmoore

Quote from: Giovanni62 on April 21, 2016, 10:17:01 PM
There are dependency issues if you try to install codeblocks 16.01 on ubuntu 16.04 through ppa:damien-moore/codeblocks-stable. :-[

Given these packages are autobuilt on launchpad, presumably using a 16.04 VM, I'm not even sure how this is possible. I guess they recently took a bunch of packages out of their repos. Surely code::blocks isn't the only package with a 2.8 dependency?

Worst case, I can add wx2.8 packages to the PPA. I will investigate the options in the next few days, but I will keep an eye on this thread in case anyone else has a simple solution.
Python plugins: [url="https://github.com/spillz/codeblocks-python"]https://github.com/spillz/codeblocks-python[/url]
Code::Blocks Daily Builds -- Ubuntu PPA: [url="https://launchpad.net/~damien-moore/+archive/codeblocks"]https://launchpad.net/~damien-moore/+archive/codeblocks[/url]

camilocc

Cool! PPA had built against gtk 3.0 automatically.

But, in fact, it is not as stable as the previous one I was using at 15.10 (Code::Blocks 16.01 at Ubuntu 15.10, that I suppose to be linked against gtk 2.8 ).

For example, the version appears as subversion revision 10835 (and not 16.01).
[url="https://ca2.software/"]https://ca2.software/[/url]

[url="https://twitch.tv/ca2software"]https://twitch.tv/ca2software[/url]
[url="https://mixer.com/ca2software"]https://mixer.com/ca2software[/url]
[url="https://www.youtube.com/channel/UCOb_bZgtRx3kJ_uXaEUSDzw"]https://www.youtube.com/channel/UCOb_bZgtRx3kJ_uXaEUSDzw[/url]

dmoore

Quote from: camilocc on April 22, 2016, 05:40:29 PM
Cool! PPA had built against gtk 3.0 automatically.

Which PPA are you talking about? It's not my codeblocks-stable one. This daily one based on current trunk (in my sig) IS working, however: https://launchpad.net/~damien-moore/+archive/ubuntu/codeblocks
Python plugins: [url="https://github.com/spillz/codeblocks-python"]https://github.com/spillz/codeblocks-python[/url]
Code::Blocks Daily Builds -- Ubuntu PPA: [url="https://launchpad.net/~damien-moore/+archive/codeblocks"]https://launchpad.net/~damien-moore/+archive/codeblocks[/url]

oBFusCATed

Quote from: camilocc on April 22, 2016, 05:40:29 PM
But, in fact, it is not as stable as the previous one I was using at 15.10 (Code::Blocks 16.01 at Ubuntu 15.10, that I suppose to be linked against gtk 2.8 ).
In wx3.0 builds you have to disable the class browser in the code completion settings to prevent random crashes.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

dipodo

Hello, newbie here...

Just passed by to tell you, that in Ubuntu Mate 16.04, I installed code::blocks from https://launchpad.net/~damien-moore/+archive/ubuntu/codeblocks and works like a charm!

Thanks and keep up the good work!

dmoore

Small update to say that I am in the process of adding wxwidgets2.8 into ppa:damien-moore/codeblocks-stable so the wx2.8 dependency can be resolved on 16.04. The build should be done in about an hour. If it succeeds, it would be great if someone can test it out:

https://code.launchpad.net/~damien-moore/+archive/ubuntu/codeblocks-stable
Python plugins: [url="https://github.com/spillz/codeblocks-python"]https://github.com/spillz/codeblocks-python[/url]
Code::Blocks Daily Builds -- Ubuntu PPA: [url="https://launchpad.net/~damien-moore/+archive/codeblocks"]https://launchpad.net/~damien-moore/+archive/codeblocks[/url]

urGadfly

Hello don't know why but I'm still getting ascendancies issue... I'm supposing you already added wxwidgets2.8 into ppa:damien-moore/codeblocks-stable so the wx2.8 dependency can be resolved on 16.04.

The following packages have unmet dependencies:
codeblocks : Depends: libcodeblocks0 (= 16.01~ubuntu16.04.1) but it is not going to be installed
              Depends: libwxbase2.8-0 (>= 2.8.12.1+dfsg2) but it is not going to be installed
              Depends: libwxgtk2.8-0 (>= 2.8.12.1+dfsg2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Do you currently have a solution for  this?

dmoore

Quote from: urGadfly on April 27, 2016, 12:21:11 PM
Hello don't know why but I'm still getting ascendancies issue... I'm supposing you already added wxwidgets2.8 into ppa:damien-moore/codeblocks-stable so the wx2.8 dependency can be resolved on 16.04.

The following packages have unmet dependencies:
codeblocks : Depends: libcodeblocks0 (= 16.01~ubuntu16.04.1) but it is not going to be installed
              Depends: libwxbase2.8-0 (>= 2.8.12.1+dfsg2) but it is not going to be installed
              Depends: libwxgtk2.8-0 (>= 2.8.12.1+dfsg2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Do you currently have a solution for  this?

Thanks for testing. I'm forcing a rebuild and hopefully that will do the trick. You can see the progress here.

EDIT: It failed. I'm investigating...
Python plugins: [url="https://github.com/spillz/codeblocks-python"]https://github.com/spillz/codeblocks-python[/url]
Code::Blocks Daily Builds -- Ubuntu PPA: [url="https://launchpad.net/~damien-moore/+archive/codeblocks"]https://launchpad.net/~damien-moore/+archive/codeblocks[/url]

Gabriel.LP.Abreu


I have the same problem, I can not even install the library individually, and this is considering that my installation of Ubuntu 16.04 is fresh.
Ubuntu has dropped libwxbase2.8-0??