I'm trying to install the RPM package of the latest driver release ( v-2021.Q4.1 at the time of writing this) on Fedora 35.
I get the following error:
$ sudo rpm -i amdvlk-2021.Q4.1.x86_64.rpm
file /etc/vulkan from install of amdvlk-2021.Q4.1-1.x86_64 conflicts with file from package vulkan-loader-1.2.189.0-1.fc35.x86_64
file /etc/vulkan/icd.d from install of amdvlk-2021.Q4.1-1.x86_64 conflicts with file from package vulkan-loader-1.2.189.0-1.fc35.x86_64
file /etc/vulkan/implicit_layer.d from install of amdvlk-2021.Q4.1-1.x86_64 conflicts with file from package vulkan-loader-1.2.189.0-1.fc35.x86_64
file /etc/vulkan from install of amdvlk-2021.Q4.1-1.x86_64 conflicts with file from package vulkan-loader-1.2.189.0-1.fc35.i686
file /etc/vulkan/icd.d from install of amdvlk-2021.Q4.1-1.x86_64 conflicts with file from package vulkan-loader-1.2.189.0-1.fc35.i686
file /etc/vulkan/implicit_layer.d from install of amdvlk-2021.Q4.1-1.x86_64 conflicts with file from package vulkan-loader-1.2.189.0-1.fc35.i686
It looks like that the RPM is trying to create /etc/vulkan, /etc/vulkan/icd.d and /etc/vulkan/implicit_layer.d directories that were previously created by vulkan-loader package, hence the conflict.
Maybe it is missing mkdir -p when creating those directories?
I'm trying to install the RPM package of the latest driver release ( v-2021.Q4.1 at the time of writing this) on Fedora 35.
I get the following error:
It looks like that the RPM is trying to create
/etc/vulkan
,/etc/vulkan/icd.d
and/etc/vulkan/implicit_layer.d
directories that were previously created byvulkan-loader
package, hence the conflict.Maybe it is missing
mkdir -p
when creating those directories?