The short version of the issue: I download the official amdgpu drivers and follow their installation instructions and get an error that various packages can't be located. Before people respond that I don't need to do this, I do. I'm trying run blender and use the GPU to run my cycles rendering (AMD radeon 6800xt). This requires the official amd drivers of at least a certain version (22.10).
I've tried this across several of the most recent driver releases from AMD (via https://repo.radeon.com/amdgpu-install/ ) and encounter the same issue, so the specific driver doesn't seem to be the cause. These steps should reproduce the issue.
sudo apt install ./amdgpu-install_5.3.50303-1_all.deb
sudo apt update
sudo amdgpu-install --usecase=workstation -y --opencl=rocr --vulkan=pro --accept-eula
During the final install step I get:
Hit:1 https://brave-browser-apt-release.s3.brave.com stable InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu jammy InRelease
Hit:3 http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:4 http://us.archive.ubuntu.com/ubuntu jammy-backports InRelease
Get:5 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Hit:6 https://repo.radeon.com/amdgpu/5.3.3/ubuntu jammy InRelease
Hit:7 https://repo.radeon.com/rocm/apt/5.3.3 jammy InRelease
Fetched 110 kB in 1s (108 kB/s)
Reading package lists... Done
Hit:1 https://brave-browser-apt-release.s3.brave.com stable InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu jammy InRelease
Hit:3 http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease
Get:4 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Hit:5 http://us.archive.ubuntu.com/ubuntu jammy-backports InRelease
Hit:6 https://repo.radeon.com/amdgpu/5.3.3/ubuntu jammy InRelease
Hit:7 https://repo.radeon.com/rocm/apt/5.3.3 jammy InRelease
Fetched 110 kB in 1s (122 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package amdgpu-pro
E: Unable to locate package amdgpu-pro-lib32
E: Unable to locate package vulkan-amdgpu-pro
E: Unable to locate package vulkan-amdgpu-pro:i386
Hit:1 https://brave-browser-apt-release.s3.brave.com stable InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu jammy InRelease
Hit:3 http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease
Get:4 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Hit:5 http://us.archive.ubuntu.com/ubuntu jammy-backports InRelease
Hit:6 https://repo.radeon.com/amdgpu/5.3.3/ubuntu jammy InRelease
Hit:7 https://repo.radeon.com/rocm/apt/5.3.3 jammy InRelease
Fetched 110 kB in 1s (127 kB/s)
Reading package lists... Done
Hit:1 https://brave-browser-apt-release.s3.brave.com stable InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu jammy InRelease
Hit:3 http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease
Get:4 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Hit:5 http://us.archive.ubuntu.com/ubuntu jammy-backports InRelease
Hit:6 https://repo.radeon.com/amdgpu/5.3.3/ubuntu jammy InRelease
Hit:7 https://repo.radeon.com/rocm/apt/5.3.3 jammy InRelease
Fetched 110 kB in 1s (126 kB/s)
Reading package lists... Done
And here I am currently stuck.
The problem is a little weirder than just this though. I did a fresh install of Ubuntu 22.04 because this issue started to crop up on my previous install. However, I had successfully resolved it prior to that! On the previous install I encountered this issue initially and found that the solution was to run the amdgpu-install as 'sudo' and include the '--accept-eula' flag. This allowed me to successfully install the amdgpu-pro drivers. However there were issues on the blender side of things, so I had to try other versions of the amdgpu-pro drivers. After successfully swapping to an older version of the drivers this issue started to occur again. After finding no solutions after a few hours I decided to try a clean install.
Another note: while looking into this issue one post I saw suggested a workaround. Uncomment a particular repository from a config file. When I looked at that file it simply said that the listed repository (commented out) required the user to accept the eula to access. This workaround clearly didn't work for me. However, it suggested that something was wrong with the '--accept-eula' flag. I tried the install without that flag and manually accepted the eula that popped up, but still to no avail.