Code::Blocks Forums

User forums => Help => Topic started by: flap on April 21, 2016, 11:33:44 pm

Title: [SOLVED] Trouble with dependencies during installation
Post by: flap on April 21, 2016, 11:33:44 pm
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!
Title: Re: Trouble with dependencies during installation
Post by: BlueHazzard on April 23, 2016, 02:46:26 pm
you can try this https://launchpad.net/~damien-moore/+archive/ubuntu/codeblocks-nightly
Title: Re: Trouble with dependencies during installation
Post by: flap on April 23, 2016, 02:51:56 pm
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.
Title: Re: Trouble with dependencies during installation
Post by: BlueHazzard on April 23, 2016, 04:13:18 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
Title: Re: Trouble with dependencies during installation
Post by: 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
Title: Re: Trouble with dependencies during installation
Post by: BlueHazzard on April 23, 2016, 04:37:52 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
Title: Re: [SOLVED] Trouble with dependencies during installation
Post by: flap on April 23, 2016, 04:59:41 pm
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
Title: Re: [SOLVED] Trouble with dependencies during installation
Post by: dmoore on April 23, 2016, 11:02:02 pm
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:

Code
ppa:damien-moore/codeblocks

This one contains the latest stable release:

Code
ppa:damien-moore/codeblocks-stable