Author Topic: dependency problems - installation codeblocks 16:01 - ubuntu 16.04  (Read 19766 times)

Offline Giovanni62

  • Multiple posting newcomer
  • *
  • Posts: 21
There are dependency issues if you try to install codeblocks 16.01 on ubuntu 16.04 through ppa:damien-moore/codeblocks-stable. :-[

Offline camilocc

  • Multiple posting newcomer
  • *
  • Posts: 23
    • ca2 Software Development
Re: dependency problems - installation codeblocks 16:01 - ubuntu 16.04
« Reply #1 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.

Offline Giovanni62

  • Multiple posting newcomer
  • *
  • Posts: 21
Re: dependency problems - installation codeblocks 16:01 - ubuntu 16.04
« Reply #2 on: April 21, 2016, 11:56:24 pm »
Exactly!

Online stahta01

  • Lives here!
  • ****
  • Posts: 7582
    • My Best Post
Re: dependency problems - installation codeblocks 16:01 - ubuntu 16.04
« Reply #3 on: April 22, 2016, 01:11:50 am »
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++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline camilocc

  • Multiple posting newcomer
  • *
  • Posts: 23
    • ca2 Software Development
Re: dependency problems - installation codeblocks 16:01 - ubuntu 16.04
« Reply #4 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?

Online stahta01

  • Lives here!
  • ****
  • Posts: 7582
    • My Best Post
Re: dependency problems - installation codeblocks 16:01 - ubuntu 16.04
« Reply #5 on: April 22, 2016, 02:16:33 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++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline dmoore

  • Developer
  • Lives here!
  • *****
  • Posts: 1576
Re: dependency problems - installation codeblocks 16:01 - ubuntu 16.04
« Reply #6 on: April 22, 2016, 04:37:47 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.

Offline camilocc

  • Multiple posting newcomer
  • *
  • Posts: 23
    • ca2 Software Development
Re: dependency problems - installation codeblocks 16:01 - ubuntu 16.04
« Reply #7 on: April 22, 2016, 05:40:29 pm »
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).

Offline dmoore

  • Developer
  • Lives here!
  • *****
  • Posts: 1576
Re: dependency problems - installation codeblocks 16:01 - ubuntu 16.04
« Reply #8 on: April 23, 2016, 03:07:20 am »
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
« Last Edit: April 23, 2016, 03:14:49 am by dmoore »

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: dependency problems - installation codeblocks 16:01 - ubuntu 16.04
« Reply #9 on: April 23, 2016, 09:11:02 am »
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

  • Guest
Re: dependency problems - installation codeblocks 16:01 - ubuntu 16.04
« Reply #10 on: April 23, 2016, 11:48:39 am »
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!

Offline dmoore

  • Developer
  • Lives here!
  • *****
  • Posts: 1576
Re: dependency problems - installation codeblocks 16:01 - ubuntu 16.04
« Reply #11 on: April 26, 2016, 10:58:20 pm »
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

Offline urGadfly

  • Single posting newcomer
  • *
  • Posts: 2
Re: dependency problems - installation codeblocks 16:01 - ubuntu 16.04
« Reply #12 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?

Offline dmoore

  • Developer
  • Lives here!
  • *****
  • Posts: 1576
Re: dependency problems - installation codeblocks 16:01 - ubuntu 16.04
« Reply #13 on: April 27, 2016, 02:37:39 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...
« Last Edit: April 27, 2016, 02:52:37 pm by dmoore »

Offline Gabriel.LP.Abreu

  • Single posting newcomer
  • *
  • Posts: 5
Re: dependency problems - installation codeblocks 16:01 - ubuntu 16.04
« Reply #14 on: April 28, 2016, 02:29:56 am »

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??