Have been using codeblocks for several years updating via the Ubuntu Update manager when Jens made new (nightly) svn versions available. On 64-bit hardware using 64-bit Ubuntu 12.04.3.LTS until a few days ago when I noticed various signs/symptoms of trojan/malicious code on the PC. (I let other people use the PC for a couple of days who may have entered dodgy websites clicking on dodgy email links).
Have started to move non-executable files (e.g text of programs(many)) from the 64-bit PC to a spare 32-bit PC and installed 32-bit Ubuntu 12.04.3 LTS, so that I could check them with 32-bit codeblocks that I installed via the Ubuntu Software Centre. My plan was then to erase everything on the 64-bit infected PC, then reinstall 64-bit Ubuntu and copy the text files back.
However, the version of codeblocks available in the Ubuntu Software Centre was very old (2011) and I wanted a newer. I checked with the Ubuntu (GUI) Synaptic Manager and noticed that a recent version of codeblocks from Jens was available (svn 9298 7 Sep 2013). Wanted that, so I marked codeblocks for installation in Synaptic manager. The install complained about incompatible/broken dependencies, but did not give any details.
I have very little experience of the apt commandline, but here are two commands that shows info about the codeblocks package and tries to install codeblocks.
INFO:
kr@kr-Latitude-E6400:~$ apt-cache showpkg codeblock
32-bit SUSE : zypper install fontconfig
Package: codeblocks
Versions:
12.11svn9298-1 (/var/lib/apt/codeblocks versionlists/apt.jenslody.de_stable_dists_stable_main_binary-i386_Packages)
Description Language:
File: /var/lib/apt/lists/apt.jenslody.de_stable_dists_stable_main_binary-i386_Packages
MD5: f884685778485e41998fb76940191f12
10.05-2 (/var/lib/apt/lists/gb.archive.ubuntu.com_ubuntu_dists_precise_universe_binary-i386_Packages)
Description Language:
File: /var/lib/apt/lists/gb.archive.ubuntu.com_ubuntu_dists_precise_universe_binary-i386_Packages
MD5: 73570d7670264a19161c9cbabff88e27
Description Language: en
File: /var/lib/apt/lists/gb.archive.ubuntu.com_ubuntu_dists_precise_universe_i18n_Translation-en
MD5: 73570d7670264a19161c9cbabff88e27
Reverse Depends:
libcodeblocks0,codeblocks
codeblocks-doc-en,codeblocks 10.05-1
codeblocks-doc-de,codeblocks 10.05-1
codeblocks-dbg,codeblocks 12.11svn9298-1
codeblocks-contrib,codeblocks 12.11svn9298-1
codeblocks-common,codeblocks 12.11svn9298-1
codeblocks-common,codeblocks 12.11svn9298-1
codeblocks-additional,codeblocks 12.11svn9298-1
libcodeblocks0,codeblocks
codeblocks-dbg,codeblocks 10.05-2
codeblocks-contrib,codeblocks 10.05-2
codeblocks-common,codeblocks 10.05
codeblocks-common,codeblocks 10.05
Dependencies:
12.11svn9298-1 - libatk1.0-0 (2 1.12.4) libc6 (2 2.4) libcairo2 (2 1.2.4) libcodeblocks0 (5 12.11svn9298-1) libfontconfig1 (2 2.9.0) libfreetype6 (2 2.2.1) libgcc1 (2 1:4.1.1) libgdk-pixbuf2.0-0 (2 2.22.0) libglib2.0-0 (2 2.12.0) libgtk2.0-0 (2 2.8.0) libpango1.0-0 (2 1.14.0) libstdc++6 (2 4.6) libwxbase2.8-0 (2 2.8.12.1) libwxgtk2.8-0 (2 2.8.12.1) debconf (18 0.5) debconf-2.0 (0 (null)) codeblocks-common (5 12.11svn9298-1) libwxgtk2.8-dev (0 (null)) wx-common (0 (null)) codeblocks-contrib (0 (null)) gcc (16 (null)) g++ (0 (null)) gdb (0 (null)) xterm (0 (null))
10.05-2 - libc6 (2 2.4) libcodeblocks0 (0 (null)) libgcc1 (2 1:4.1.1) libstdc++6 (2 4.1.1) libwxbase2.8-0 (2 2.8.11.0) libwxgtk2.8-0 (2 2.8.11.0) codeblocks-common (5 10.05-2) libwxgtk2.8-dev (0 (null)) wx-common (0 (null)) codeblocks-contrib (0 (null)) gcc (16 (null)) g++ (0 (null)) gdb (0 (null)) xterm (0 (null))
Provides:
12.11svn9298-1 -
10.05-2 -
Reverse Provides:
ATTEMPT TO INSTALL:
kr@kr-Latitude-E6400:~$ sudo apt-get install codeblocks
[sudo] password for kr:
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: libfontconfig1 (>= 2.9.0) but 2.8.0-3ubuntu9.1 is to be installed
E: Unable to correct problems, you have held broken packages.
kr@kr-Latitude-E6400:~$
I guess the above means that codeblocks svn 9298 wants libfontconfig 2.9.0, but only libfontconfig 2.8.0-3 is available in 32-bit 12.04 LTS. I googled and found there is a version 2.10 available, but I don't know if that would work with Ubuntu 12.04, besides I don't even know if my guess is correct.
I am stuck on this and would be most grateful for advice.
Ken