I'm trying to install the latest gcc-7 package from Jonathon F's PPA. Looks like finally now there is a successful build for amd64 as of 2018-02-23.
I met with the following dependency issues when running sudo apt-get install gcc-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.
gcc-7 : Depends: cpp-7 (= 7.3.0-5ubuntu1~16.04.york0) but it is not going to be installed
Depends: gcc-7-base (= 7.3.0-5ubuntu1~16.04.york0) but 7.2.0-1ubuntu1~16.04 is to be installed
Depends: libcc1-0 (>= 7.3.0-5ubuntu1~16.04.york0) but 7.2.0-1ubuntu1~16.04 is to be installed
Depends: binutils (>= 2.28) but 2.26.1-1ubuntu1~16.04.6 is to be installed
Depends: libgcc-7-dev (= 7.3.0-5ubuntu1~16.04.york0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Previously, I did install gcc-7
from Ubuntu's ppa but that was for 7.2
. I have removed that package.
Running Synaptic, here's a list of suspicious packages:
Any suggestions on how I can resolve these dependency issues and install gcc 7.3?
sudo ppa-purge ppa:jonathonf/gcc-7.3
. – N0rbert Feb 24 '18 at 21:17