Depósitos não atendidos depois de mexer com links simbólicos do gcc

0

Sou um noob do linux e criei links simbólicos no Ubuntu 13 para o meu gcc 4.7, que deve ser instalado, mas não consigo removê-lo nem usá-lo:

paul@paul-linux:~$ sudo apt-get remove gcc-4.7
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:
 dkms : Depends: gcc but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.


paul@paul-linux:~$ ls -l /usr/bin/gcc
ls: cannot access /usr/bin/gcc: No such file or directory

Como posso resolver isso, por favor?

    
por Marco A. 06.09.2013 / 14:53

1 resposta

0

Não tenho certeza se isso resolverá seu problema, mas tente os comandos abaixo para corrigir o problema. Depois de executar esses comandos, tente instalar o gcc novamente.

sudo apt-get update

sudo apt-get autoremove

sudo apt-get -f instalar

    
por Anuraj 06.09.2013 / 15:14