Как установить g ++ в Ubuntu 17.10?

Я попробовал sudo apt-get 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: g++-7
(>= 7.2.0-1~) but it is not going to be installed E: Unable to correct
problems, you have held broken packages.

Как я должен зафиксировать это?

1
задан 25 February 2018 в 11:13

1 ответ

попытка после команд:

sudo apt-get install libc6=2.26-0ubuntu2
sudo apt-get install g++
1
ответ дан 7 December 2019 в 15:23

Другие вопросы по тегам:

Похожие вопросы: