gcc-7-multilib : Depends: gcc-7-base (= 7.4.0-1ubuntu1~18.04) but 7.5.0-3ubuntu1~18.04 is to be installed

Bug #1875224 reported by Steven Welch
6
This bug affects 1 person
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~18.04) but 7.5.0-3ubuntu1~18.04 is to be installed
                  Depends: gcc-7 (= 7.4.0-1ubuntu1~18.04) but 7.5.0-3ubuntu1~18.04 is to be installed
                  Depends: lib32gcc-7-dev (= 7.4.0-1ubuntu1~18.04) but it is not going to be installed
                  Depends: libx32gcc-7-dev (= 7.4.0-1ubuntu1~18.04) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

tags: added: gcc-7-multilib
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

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

?

Changed in gcc-7 (Ubuntu):
status: New → Incomplete
Revision history for this message
Steven Welch (makeitwork) wrote :

$ sudo apt-cache policy gcc-7 gcc-7-multilib
gcc-7:
  Installed: 7.5.0-3ubuntu1~18.04
  Candidate: 7.5.0-3ubuntu1~18.04
  Version table:
 *** 7.5.0-3ubuntu1~18.04 100
        100 /var/lib/dpkg/status
     7.4.0-1ubuntu1~18.04 500
        500 http://mirror.nwlab.tk/ubuntu bionic-updates/main amd64 Packages
     7.3.0-16ubuntu3 500
        500 http://mirror.nwlab.tk/ubuntu bionic/main amd64 Packages
gcc-7-multilib:
  Installed: (none)
  Candidate: 7.4.0-1ubuntu1~18.04
  Version table:
     7.4.0-1ubuntu1~18.04 500
        500 http://mirror.nwlab.tk/ubuntu bionic-updates/main amd64 Packages
     7.3.0-16ubuntu3 500
        500 http://mirror.nwlab.tk/ubuntu bionic/main amd64 Packages

$ sudo apt install gcc-7 gcc-7-multilib
Reading package lists... Done
Building dependency tree
Reading state information... Done
gcc-7 is already the newest version (7.5.0-3ubuntu1~18.04).
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~18.04) but 7.5.0-3ubuntu1~18.04 is to be installed
                  Depends: gcc-7 (= 7.4.0-1ubuntu1~18.04) but 7.5.0-3ubuntu1~18.04 is to be installed
                  Depends: lib32gcc-7-dev (= 7.4.0-1ubuntu1~18.04) but it is not going to be installed
                  Depends: libx32gcc-7-dev (= 7.4.0-1ubuntu1~18.04) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Revision history for this message
Steven Welch (makeitwork) wrote :

This bug was due to the mirror I was choosing. I selected the fastest server available using the Software & Updates GUI utility, and this mirror apparently had missing packages. Apologies for the bug submission - I should've tried other mirrors first.

Matthias Klose (doko)
Changed in gcc-7 (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.