cancel
Showing results for 
Search instead for 
Did you mean: 

Drivers & Software

stefanoa
Journeyman III

RHEL 9.1 amdgpu-install fails with HTTP 404 from amdgpu-prorietary repository

Hello,

I'm trying to install the drivers following the guide at `https://amdgpu-install.readthedocs.io/en/latest/` . After running `amdgpu-install` I get the following error:

$ amdgpu-install
Updating Subscription Management repositories.
AMDGPU 5.4 Proprietar 184 B/s | 178 B 00:00
Errors during downloading metadata for repository 'amdgpu-proprietary':
- Status code: 404 for https://repo.radeon.com/amdgpu/5.4/rhel/9.1/proprietary/x86_64/repodata/repomd.xml (IP: xxx)
Error: Failed to download metadata for repo 'amdgpu-proprietary': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

By checking on the browser the link: https://repo.radeon.com/amdgpu/5.4/rhel/9.1/proprietary/x86_64/repodata/repomd.xml it is actually a 404.

 

Could somebody please advise accordingly?

I switched to RHEL from Fedora basically only for AMD PRO GPU official support.

 

Thanks a lot in advance!

0 Likes
2 Replies

can't really help you but went to the link that you posted with the error 404 and started deleting words up to each slash line.

This is as far as I got on that link: https://repo.radeon.com/amdgpu/5.4/rhel/9.1/proprietary/x86_64/

Screenshot 2022-12-11 112041.png

Seems what ever data there was at one time has been removed thus the error 404.

Googled your Thread's partial title and found this Redhat explaining how to fix that error: https://access.redhat.com/articles/5140651

Screenshot 2022-12-12 150103.png

By any chance is this have to do with anything related to ROCM? 

If it is there are 2 ROCM Forums, AMD and GITHUB:

https://community.amd.com/t5/rocm/ct-p/amd-rocm

https://github.com/RadeonOpenCompute/ROCm/issues

 

0 Likes
Freddie2
Journeyman III

Hello,

I know this is a bit old now but I have just run into this issue when trying to install amdgpu-pro on my Rocky Linux 8.7.
I have struggled a bit, but found a solution:
This link is wrong: https://repo.radeon.com/amdgpu/5.4/rhel/9.1/proprietary/x86_64/repodata/repomd.xml
But this one is right: https://repo.radeon.com/amdgpu/5.4.3/rhel/9.1/proprietary/x86_64/repodata/repomd.xml

The difference is the bugfix/patch version (.3) added on the one that works, at the time I have written this message the latest driver is 5.4.3, so you will have to change the version according to the one you have downloaded.

I had a look into the bash script amdgpu-install to find where the repository URL is specified and it seemed like it was getting it from a file somewhere, so I did an updatedb followed by a locate amdgpu | grep repo which returned the repo file I was looking for: /etc/yum.repos.d/amdgpu-proprietary.repo

So, if you edit this file and fix the url in the way I have showed above (for me by adding .3 at the end of the version), the install will be able to get the xml file and work, I have managed to install the driver successfully thanks to this fix.

I hope it's clear and that it helps.

0 Likes