ERROR 삽질

build-essential : Depends: libc6-dev but it is not going to be installed or libc-dev Depends: g++ (>= 4:9.2) but it is not going to be installed E: Unable to correct problems, you have held broken packages.

capaca 2023. 4. 17. 18:26

상황 : build 툴을 설치하려는데 error 발생

 

$ sudo apt install build-essential 

 

아래와 같이 libc6을 확인해 본 후 candidate 버전에 맞게 설치

이후 다시 build-essential을 설치하면 됨!

 

 

 

[Reference]

https://stackoverflow.com/questions/66869441/unable-to-install-g-and-build-essentials-in-ubuntu-20-04