Pacotes com dependências não atendidas: Pacotes quebrados

2

Quando tento instalar o postgresql i, obtenho o seguinte erro:

sudo apt-get install postgresql-client


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:
 libc6-dev : Breaks: gcc-4.4 (< 4.4.6-4) but 4.4.4-14 ubuntu5 is to be installed
E: Broken packages

Como resolvo esse problema para instalar postgresql ?

    
por Kumar Akarsh 06.02.2012 / 09:37

1 resposta

2

Tente remover o gcc e instalá-lo novamente:

$ sudo apt-get remove gcc g++
$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get install build-essential
$ gcc -v
    
por leo 05.03.2012 / 03:28