News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

[SOLVED] Trouble with dependencies during installation

Started by flap, April 21, 2016, 11:33:44 PM

Previous topic - Next topic

flap

Hi,
I finally turned back away MS and im really getting used to Ubuntu (14.04 is the version I got, 64bit system), but I struggle finding a alternative for devc++, since I dont need a compley IDE like e.g. anjuta.
I already searched for my errorcodes and could solve some dependencies, but don't get any further with this ones:
Since my Ubuntu is in german, I put the translations in [ ] brackets.

codeblocks: Depends: libcodeblocks0 (= 13.12svn10122-0ubuntu1~trusty) aber [=however] 13.12svn10122-0ubuntu1~trusty soll installiert werden [shall be installed]
            Depends: libgcc1 (>= 1:4.1.1) aber [=however] 1:4.9.3-0ubuntu4 soll installiert werden [shall be installed]
            Depends: codeblocks-common (= 13.12svn10122-0ubuntu1~trusty) aber [=however] 16.01 soll installiert werden [shall be installed]

If it matters: I try installing by using the Software Center, prior to all this I tried installing some sort of Nightly-C::B since the installation seemed easy ( but it wasn't, I failed even harder :|  )

Thanks is advance!

EDIT: Look for my last comment for solution!


flap

Installed the PPA's, but it didn't help :/
Would it work to isntall an older version of C::B which has lower requirements? The stuff I do for studies is still really basic.

BlueHazzard

Quote from: flap on April 23, 2016, 02:51:56 PM
Installed the PPA's, but it didn't help :/

This answer didn't help neither... Probably you have installed a big mix of different versions... I suggest you open synaptic and uninstall everything with codeblocks in its name. Then you try to use the ppa how it is described here: https://launchpad.net/+help-soyuz/ppa-sources-list.html

greetings

flap

It worked, thanks BlueHazzard!
Do I need to close the Thread or add [solved] to the title or something?

Cheers

BlueHazzard

Quote from: flap on April 23, 2016, 04:30:12 PM
It worked, thanks BlueHazzard!
Do I need to close the Thread or add [solved] to the title or something?

Cheers
What worked? can you please describe your solution, so other profit from your experience. Thanks

I don't know if you can edit the thread main title, but if you can it would be nice to add a [solved]...

greetings

flap

Alright, so this is how I got it working:
1.
Open up synaptic and delete everything with codeblocks (or hints to it) in its name (search for "code" and "block" individually!!)
Make sure you really deinstalled, it may be tricky if you are new to Ubuntu.

2.
Open a terminal, type  "sudo add-apt-repository ppa:damien-moore/codeblocks-nightly" without ""
type a second line "sudo apt-get update" again without ""

3. open up the software center and install Code::Blocks IDE

Big Credits to BlueHazzard

dmoore

Just FYI that I haven't updated
ppa:damien-moore/codeblocks-nightly in quite a while. The idea is that it will track the same revision as the "nightly builds" posted in the forums here, but I don't have time to keep up with this.

This one gets auto updated as frequently as daily:

ppa:damien-moore/codeblocks

This one contains the latest stable release:

ppa:damien-moore/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]