Amd ROCm latest repo with wrong metadata

I was following the opensuse documentation to be able to create a container with ROCm support, but after adding the repo and trying to install “amdgpu-dkms amdgpu-dkms-firmware” I am met with the following error:

Retrieving: amdgpu-dkms-firmware-6.10.5.60301-2095006.noarch.rpm [...not found]
File './amdgpu-dkms-firmware-6.10.5.60301-2095006.noarch.rpm' not found on medium 'https://repo.radeon.com/amdgpu/latest/sle/15.6/main/x86_64/'

And in the repo, sure enough, the version of the packages is actually “amdgpu-dkms-6.10.5.60302-2109964.noarch”

To circumvent that I downloaded all the packages manually and installed them, but I don’t think that’s a long term solution…

I don’t know if I am in the right place because I am not confident that the metadata is the root cause of the problem or if someone here will be able to help, but if someone has any solutions please share them with me!

You simply need to enable auto refresh on the repository (prefered solution). Or perform a zypper ref prior any installation operation.

I forgot to mention in the post, but I did a zypper ref before trying to install the packages, otherwise I would not have been able to install at all, as they are not available on the default repos.

This repo

https://repo.radeon.com/amdgpu/latest/

is changing with releasing new versions. It is better to stick with some definite version.

Well that’s true…
It’s not the solution I was waiting for but honestly it makes much more sense to do this.

In the end I just used version 6.3 and that’s it, working flawlessly

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.