I'm quite new to ubuntu, and I originally have the ubuntu supplied codeblocks 13.12 version install by apt-get install
Now, I think I need to use a nightly build version, so I choose this one:
https://launchpad.net/~damien-moore/+archive/ubuntu/codeblocksafter adding the ppa, and I just install it. (Note I do not uninstall the old official 13.12 version)
zyh@zyh-desktop:~$ sudo apt-get install codeblocks
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
codeblocks-common codeblocks-contrib codeblocks-contrib-common
codeblocks-libwxcontrib0 libcodeblocks0 libwxsmithlib0
Suggested packages:
libwxgtk2.8-dev libwxgtk3.0-dev wx-common
Recommended packages:
cppcheck cscope cccc
The following NEW packages will be installed:
codeblocks-contrib-common codeblocks-libwxcontrib0
The following packages will be upgraded:
codeblocks codeblocks-common codeblocks-contrib libcodeblocks0
libwxsmithlib0
5 upgraded, 2 newly installed, 0 to remove and 42 not upgraded.
Need to get 11.7 MB of archives.
After this operation, 1,506 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ppa.launchpad.net/damien-moore/codeblocks/ubuntu/ trusty/main codeblocks-libwxcontrib0 amd64 16.01p~launchpadrev8944~ubuntu14.04.1 [546 kB]
Get:2 http://ppa.launchpad.net/damien-moore/codeblocks/ubuntu/ trusty/main codeblocks-contrib amd64 16.01p~launchpadrev8944~ubuntu14.04.1 [2,594 kB]
Get:3 http://ppa.launchpad.net/damien-moore/codeblocks/ubuntu/ trusty/main libwxsmithlib0 amd64 16.01p~launchpadrev8944~ubuntu14.04.1 [941 kB]
Get:4 http://ppa.launchpad.net/damien-moore/codeblocks/ubuntu/ trusty/main libcodeblocks0 amd64 16.01p~launchpadrev8944~ubuntu14.04.1 [2,147 kB]
Get:5 http://ppa.launchpad.net/damien-moore/codeblocks/ubuntu/ trusty/main codeblocks-contrib-common all 16.01p~launchpadrev8944~ubuntu14.04.1 [463 kB]
Get:6 http://ppa.launchpad.net/damien-moore/codeblocks/ubuntu/ trusty/main codeblocks amd64 16.01p~launchpadrev8944~ubuntu14.04.1 [1,672 kB]
Get:7 http://ppa.launchpad.net/damien-moore/codeblocks/ubuntu/ trusty/main codeblocks-common all 16.01p~launchpadrev8944~ubuntu14.04.1 [3,333 kB]
Fetched 11.7 MB in 1min 41s (115 kB/s)
Selecting previously unselected package codeblocks-libwxcontrib0.
(Reading database ... 293793 files and directories currently installed.)
Preparing to unpack .../codeblocks-libwxcontrib0_16.01p~launchpadrev8944~ubuntu14.04.1_amd64.deb ...
Unpacking codeblocks-libwxcontrib0 (16.01p~launchpadrev8944~ubuntu14.04.1) ...
dpkg: error processing archive /var/cache/apt/archives/codeblocks-libwxcontrib0_16.01p~launchpadrev8944~ubuntu14.04.1_amd64.deb (--unpack):
trying to overwrite '/usr/lib/codeblocks/wxContribItems/libwxcustombutton.so.0.0.1', which is also in package codeblocks-contrib 13.12-3
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Preparing to unpack .../codeblocks-contrib_16.01p~launchpadrev8944~ubuntu14.04.1_amd64.deb ...
Unpacking codeblocks-contrib (16.01p~launchpadrev8944~ubuntu14.04.1) over (13.12-3) ...
Preparing to unpack .../libwxsmithlib0_16.01p~launchpadrev8944~ubuntu14.04.1_amd64.deb ...
Unpacking libwxsmithlib0 (16.01p~launchpadrev8944~ubuntu14.04.1) over (13.12-3) ...
Preparing to unpack .../libcodeblocks0_16.01p~launchpadrev8944~ubuntu14.04.1_amd64.deb ...
Unpacking libcodeblocks0 (16.01p~launchpadrev8944~ubuntu14.04.1) over (13.12-3) ...
Selecting previously unselected package codeblocks-contrib-common.
Preparing to unpack .../codeblocks-contrib-common_16.01p~launchpadrev8944~ubuntu14.04.1_all.deb ...
Unpacking codeblocks-contrib-common (16.01p~launchpadrev8944~ubuntu14.04.1) ...
Preparing to unpack .../codeblocks_16.01p~launchpadrev8944~ubuntu14.04.1_amd64.deb ...
Unpacking codeblocks (16.01p~launchpadrev8944~ubuntu14.04.1) over (13.12-3) ...
Preparing to unpack .../codeblocks-common_16.01p~launchpadrev8944~ubuntu14.04.1_all.deb ...
Unpacking codeblocks-common (16.01p~launchpadrev8944~ubuntu14.04.1) over (13.12-3) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.54ubuntu1.1) ...
Processing triggers for shared-mime-info (1.2-0ubuntu3) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
E: Sub-process /usr/bin/dpkg returned an error code (1)
The result C::B can run, but failed to load some plugins.
The conflicts comes from an old 13.12 library? Any one knows how to fix it? Thanks.