$ 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.
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 security. ubuntu. com/ubuntu jammy-security InRelease archive. ubuntu. com/ubuntu jammy InRelease archive. ubuntu. com/ubuntu jammy-updates InRelease archive. ubuntu. com/ubuntu jammy-backports InRelease /repo.radeon. com/amdgpu/ 22.20/ubuntu jammy InRelease /repo.radeon. com/rocm/ apt/5.2 ubuntu InRelease 5.15.0- 50-generic is already the newest version (5.15.0-50.56). 5.15.0- 50-generic set to manually installed. extra-5. 15.0-50- generic is already the newest version (5.15.0-50.56). extra-5. 15.0-50- generic set to manually installed.
$ amdgpu-install
Hit:3 http://
Hit:4 http://
Hit:5 http://
Hit:6 http://
Hit:7 https:/
Hit:8 https:/
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
linux-headers-
linux-headers-
linux-modules-
linux-modules-
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:
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
Recommend s: g++-multilib but it is not going to be installed
rocm-llvm : Depends: python but it is not installable
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: /github. com/RadeonOpenC ompute/ ROCm/issues/ 1730 /github. com/RadeonOpenC ompute/ ROCm/issues/ 1713)
https:/
(and https:/