sudo apt-get instalar gcc-9-base libgcc-9-dev libc6-dev

sudo apt-get instalar gcc-9-base libgcc-9-dev libc6-dev

No puedo instalar nada porque esto tiene problemas.

cuando intento instalar --fix-broken

la terminal muestra:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... failed.
The following packages have unmet dependencies:
 clang-6.0 : Depends: libgcc-8-dev but it is not installed
 clang-7 : Depends: libgcc-8-dev but it is not installed
 gcc-8 : Depends: libgcc-8-dev (= 8.3.0-6) but it is not installed
 libobjc-8-dev : Depends: libgcc-8-dev (= 8.3.0-6) but it is not installed
 libstdc++-8-dev : Depends: libgcc-8-dev (= 8.3.0-6) but it is not installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies

por favor ayúdenme, gracias

Respuesta1

Estás viendo este error porque tienes algunas dependencias no satisfechas. Abra la ventana de terminal y ejecute los siguientes comandos

sudo apt-get update
sudo apt-get install -f
sudo apt autoremove
sudo apt autoclean
sudo apt-get update; sudo apt-get upgrade

Luego puede continuar e instalar su paquete ejecutando el comandosudo apt-get install gcc

información relacionada