Comment 3 for bug 1994440

Revision history for this message
Lukas Märdian (slyon) wrote :

Actually, trying to install the package from https://www.amd.com/en/support/linux-drivers as you suggested results in:

$ sudo dpkg -i amdgpu-install_22.20.50200-1_all.deb
$ amdgpu-install
Hit:3 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:4 http://archive.ubuntu.com/ubuntu jammy InRelease
Hit:5 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:6 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
Hit:7 https://repo.radeon.com/amdgpu/22.20/ubuntu jammy InRelease
Hit:8 https://repo.radeon.com/rocm/apt/5.2 ubuntu InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
linux-headers-5.15.0-50-generic is already the newest version (5.15.0-50.56).
linux-headers-5.15.0-50-generic set to manually installed.
linux-modules-extra-5.15.0-50-generic is already the newest version (5.15.0-50.56).
linux-modules-extra-5.15.0-50-generic set to manually installed.
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:
 rocm-llvm : Depends: python but it is not installable
             Depends: libstdc++-5-dev but it is not installable or
                      libstdc++-7-dev but it is not installable
             Depends: libgcc-5-dev but it is not installable or
                      libgcc-7-dev but it is not installable
             Recommends: g++-multilib but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

So the rocm-llvm package seems to have broken dependencies. Unfortunately, this is not an Ubuntu package but originates from the 3rd party repository, so there's little we can do about this.

I've found the following references where the problem is being discussed upstream:
https://github.com/RadeonOpenCompute/ROCm/issues/1730
(and https://github.com/RadeonOpenCompute/ROCm/issues/1713)