I’m sure I’m not the only person to have noticed this, but now that AMD isn’t providing RPMs directly, the new ‘amdgpu-install’ script is totally broken on Fedora, now. Yes, I know Fedora isn’t officially supported, but it’s been that way for 20 years, and it’s always worked, anyway.
amdgpu-install now tries to install a real yum remote repository, which sounds great, but the script produces a bad repo path, which causes the install to fail:
AMDGPU 21.40.1 repository 343 B/s | 178 B 00:00 Errors during downloading metadata for repository 'amdgpu': - Status code: 404 for https://repo.radeon.com/amdgpu/21.40.1/rhel//main/x86_64/repodata/repomd.xml (IP: 220.127.116.11) Error: Failed to download metadata for repo 'amdgpu': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried Ignoring repositories: amdgpu Last metadata expiration check: 0:18:33 ago on Mon 27 Dec 2021 17:14:43 PST. No match for argument: amdgpu-lib No match for argument: amdgpu-dkms Error: Unable to find a match: amdgpu-lib amdgpu-dkms
Without studying the script in full, I’m not sure what is wrong, but I suspect it just doesn’t have a true code path for fedora, even though the string ‘fedora’ is in the script in a few places.
I’m going to try manually installing the RHEL8.5 repo, which should get me back to the old situation where I could at least try to install any AMD pkg I want.