não consigo instalar codeblocks ID do terminal ou do ubuntu software center

0

enquanto tentava instalar o código codeblocks, encontrei o seguinte:

mohamed@MoHy:~$ sudo apt-get install codeblocks
[sudo] password for mohamed: 
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:i386 : Depends: libcodeblocks0:i386 but it is not going to be installed
                   Depends: codeblocks-common:i386 (= 13.12-3) but it is not installable
                   Recommends: gcc:i386 but it is not going to be installed or
                               g++:i386 but it is not going to be installed
                   Recommends: gdb:i386 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
    
por mo_hy 24.04.2015 / 10:14

1 resposta

0

Referindo-se ao seu comentário que funciona agora:

sudo dpkg --add-architecture i386
sudo apt -get update
sudo apt-get install codeblocks

É isso! :)

    
por A.B. 24.04.2015 / 17:52