gcc-7-multilib : Depends: gcc-7-base (= 7.4.0-1ubuntu1~18.04) but 7.5.0-3ubuntu1~18.04 is to be installed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gcc-7 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Ubuntu 18.04 HWE is currently not allowing installation of gcc-7-multilib, which is a requirement for me to install rocm-dkms and rocm-dev and hcc for my Radeon cards. There's some kind of version mismatch between gcc 7.4 and 7.5 happening. The packages "gcc-7" and "gcc-7-base" are currently installed just fine, however. The error is as follows:
$ sudo apt install gcc-7-multilib
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-multilib : Depends: gcc-7-base (= 7.4.0-1ubuntu1~
E: Unable to correct problems, you have held broken packages.
tags: | added: gcc-7-multilib |
Changed in gcc-7 (Ubuntu): | |
status: | Incomplete → Invalid |
Can you please provide output of:
$ apt-cache policy gcc-7 gcc-7-multilib
?
Also what happens if you try
$ sudo apt install gcc-7 gcc-7-multilib
?