Pengwin: Can't Install gcc/g++ in pengwin

Created on 3 Jun 2020  路  3Comments  路  Source: WhitewaterFoundry/Pengwin

Error while trying to install gcc:

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:
gcc : Depends: cpp (= 4:9.2.1-3.1) but it is not going to be installed
Depends: gcc-9 (>= 9.2.1-1~) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


Error while trying to install g++:

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:
g++ : Depends: cpp (= 4:9.2.1-3.1) but it is not going to be installed
Depends: gcc (= 4:9.2.1-3.1) but it is not going to be installed
Depends: g++-9 (>= 9.2.1-1~) but it is not going to be installed
Depends: gcc-9 (>= 9.2.1-1~) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

How-To-Candidate Patched User Support

Most helpful comment

Fixed the issue by install gcc-9-base

All 3 comments

Hello

Type sudo apt-mark unhold libc6 and try again.

Regards

Fixed the issue by install gcc-9-base

The new version 20.6.2 includes this fix. At least until it get fixed in Debian bullseye

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sharpninja picture sharpninja  路  3Comments

thalamus picture thalamus  路  3Comments

laurin1 picture laurin1  路  4Comments

LucasYihsuehTsai picture LucasYihsuehTsai  路  3Comments

alanfluff picture alanfluff  路  3Comments