J'ai essayé d'installer codeblocks en suivant les instructions sur :
http://wiki.codeblocks.org/index.php/Installing_Code::Blocks_nightly_build_on_Ubuntu
mais a finalement fait quelque chose de mal.
woelrat@ubuntu:~$ dpkg -l | grep codeb
ii codeblocks 13.12-3 amd64 Code::Blocks integrated development environment (IDE)
ii codeblocks-common 13.12-3 all common files for Code::Blocks IDE
iU codeblocks-contrib-dbg 13.12-3 amd64 dummy transitional package for Code::Blocks debugging symbols
iU codeblocks-dbg 13.12-3 amd64 Code::Blocks debugging libraries
ii codeblocks-dev 13.12-1 amd64 Code::Blocks development libraries (SDK)
ri codeblocks-headers 13.12-1 all Code::Blocks development headers (SDK)
ri codeblocks-libwxcontrib0 13.12-1 amd64 Code::Blocks shared libraries for wxContribItems
ri codeblocks-wxcontrib-dev 13.12-1 amd64 Code::Blocks development libraries for wxContribItems
ii codeblocks-wxcontrib-headers 13.12-1 all Code::Blocks development headers for wxContribItems
ii libcodeblocks0 13.12-1 amd64 Code::Blocks shared libraries
J'ai déjà essayé sudo apt-get -f install
avec les erreurs suivantes :
Preparing to unpack .../codeblocks-dev_13.12-3_amd64.deb ...
Unpacking codeblocks-dev (13.12-3) over (13.12-1) ...
dpkg: error processing archive /var/cache/apt/archives/codeblocks-dev_13.12-3_amd64.deb (--unpack):
trying to overwrite '/usr/include/codeblocks/externaldepsdlg.h', which is also in package codeblocks-headers 13.12-1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/codeblocks-dev_13.12-3_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
The following packages have unmet dependencies:
codeblocks-dbg : Depends: codeblocks-contrib (= 13.12-3) but it is not going to be installed
codeblocks-headers : Depends: codeblocks-dev (>= 13.12-1) but it is not going to be installed
Depends: codeblocks-dev (< 13.12-1.1~) but it is not going to be installed
libwxsmithlib0 : Depends: libcodeblocks0 (= 13.12-3) but 13.12-1 is to be installed
Recommends: codeblocks-contrib (= 13.12-3) but it is not going to be installed
libwxsmithlib0-dev : Depends: libwxsmithlib-dev (= 13.12-3) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Des conseils pour résoudre ce problème ? Par où dois-je commencer ?
$ sudo apt-get install libwxsmithlib0 libwxsmithlib0-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libwxsmithlib0 is already the newest version.
libwxsmithlib0-dev is already the newest version.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
codeblocks-dbg : Depends: codeblocks-contrib (= 13.12-3) but it is not going to be installed
libwxsmithlib0 : Depends: libcodeblocks0 (= 13.12-3) but 13.12-1 is to be installed
Recommends: codeblocks-contrib (= 13.12-3) but it is not going to be installed
libwxsmithlib0-dev : Depends: libwxsmithlib-dev (= 13.12-3) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
J'ai toujours un problème avec les dépendances. Quelqu'un a-t-il une idée pour résoudre ce problème ?