Error installing Fedora linux 40?

Error installing Fedora linux 40

Error running transaction: file /usr/include/hip/amd_detail/amd_channel_descriptor.h from install of rocm-hip-devel-6.0.2-2.fc40.x86_64 conflicts with file from package hip-devel-5.7.1-1.fc39.noarch
file /usr/include/hip/amd_detail/amd_device_functions.h from install of rocm-hip-devel-6.0.2-2.fc40.x86_64 conflicts with file from package hip-devel-5.7.1-1.fc39.noarch
file /usr/include/hip/amd_detail/amd_hip_atomic.h from install of rocm-hip-devel-6.0.2-2.fc40.x86_64 conflicts with file from package hip-devel-5.7.1-1.fc39.noarch
file /usr/include/hip/amd_detail/amd_hip_bf16.h from install of rocm-hip-devel-6.0.2-2.fc40.x86_64 conflicts with file from package hip-devel-5.7.1-1.fc39.noarch
file /usr/include/hip/amd_detail/amd_hip_complex.h from install of rocm-hip-devel-6.0.2-2.fc40.x86_64 conflicts with file from package hip-devel-5.7.1-1.fc39.noarch
file /usr/include/hip/amd_detail/amd_hip_cooperative_groups.h from install of rocm-hip-devel-6.0.2-2.fc40.x86_64 conflicts with file from package hip-devel-5.7.1-1.fc39.noarch
file /usr/include/hip/amd_detail/amd_hip_fp16.h from install of rocm-hip-devel-6.0.2-2.fc40.x86_64 conflicts with file from package hip-devel-5.7.1-1.fc39.noarch
file /usr/include/hip/amd_detail/amd_hip_runtime.h from install of rocm-hip-devel-6.0.2-2.fc40.x86_64 conflicts with file from package hip-devel-5.7.1-1.fc39.noarch
file /usr/include/hip/amd_detail/amd_hip_runtime_pt_api.h from install of rocm-hip-devel-6.0.2-2.fc40.x86_64 conflicts with file from package hip-devel-5.7.1-1.fc39.noarch
file /usr/include/hip/amd_detail/amd_hip_unsafe_atomics.h from install of rocm-hip-devel-6.0.2-2.fc40.x86_64 conflicts with file from package hip-devel-5.7.1-1.fc39.noarch
file /usr/include/hip/amd_detail/amd_math_functions.h from install of rocm-hip-devel-6.0.2-2.fc40.x86_64 conflicts with file from package hip-devel-5.7.1-1.fc39.noarch
file /usr/include/hip/amd_detail/amd_surface_functions.h from install of rocm-hip-devel-6.0.2-2.fc40.x86_64 conflicts with file from package hip-devel-5.7.1-1.fc39.noarch
file /usr/include/hip/amd_detail/amd_warp_functions.h from install of rocm-hip-devel-6.0.2-2.fc40.x86_64 conflicts with file from package hip-devel-5.7.1-1.fc39.noarch
file /usr/include/hip/amd_detail/device_library_decls.h from install of rocm-hip-devel-6.0.2-2.fc40.x86_64 conflicts with file from package hip-devel-5.7.1-1.fc39.noarch
file /usr/include/hip/amd_detail/hip_cooperative_groups_helper.h from install of rocm-hip-devel-6.0.2-2.fc40.x86_64 conflicts with file from package hip-devel-5.7.1-1.fc39.noarch
file /usr/include/hip/amd_detail/hip_prof_str.h from install of rocm-hip-devel-6.0.2-2.fc40.x86_64 conflicts with file from package hip-devel-5.7.1-1.fc39.noarch
file /usr/include/hip/amd_detail/host_defines.h from install of rocm-hip-devel-6.0.2-2.fc40.x86_64 conflicts with file from package hip-devel-5.7.1-1.fc39.noarch
file /usr/include/hip/amd_detail/math_fwd.h from install of rocm-hip-devel-6.0.2-2.fc40.x86_64 conflicts with file from package hip-devel-5.7.1-1.fc39.noarch
file /usr/include/hip/amd_detail/ockl_image.h from install of rocm-hip-devel-6.0.2-2.fc40.x86_64 conflicts with file from package hip-devel-5.7.1-1.fc39.noarch
file /usr/include/hip/amd_detail/texture_fetch_functions.h from install of rocm-hip-devel-6.0.2-2.fc40.x86_64 conflicts with file from package hip-devel-5.7.1-1.fc39.noarch
file /usr/include/hip/amd_detail/texture_indirect_functions.h from install of rocm-hip-devel-6.0.2-2.fc40.x86_64 conflicts with file from package hip-devel-5.7.1-1.fc39.noarch
file /usr/include/hip/channel_descriptor.h from install of rocm-hip-devel-6.0.2-2.fc40.x86_64 conflicts with file from package hip-devel-5.7.1-1.fc39.noarch
file /usr/include/hip/device_functions.h from install of rocm-hip-devel-6.0.2-2.fc40.x86_64 conflicts with file from package hip-devel-5.7.1-1.fc39.noarch
file /usr/include/hip/driver_types.h from install of rocm-hip-devel-6.0.2-2.fc40.x86_64 conflicts with file from package hip-devel-5.7.1-1.fc39.noarch
file /usr/include/hip/hip_bf16.h from install of rocm-hip-devel-6.0.2-2.fc40.x86_64 conflicts with file from package hip-devel-5.7.1-1.fc39.noarch
file /usr/include/hip/hip_bfloat16.h from install of rocm-hip-devel-6.0.2-2.fc40.x86_64 conflicts with file from package hip-devel-5.7.1-1.fc39.noarch
file /usr/include/hip/hip_common.h from install of rocm-hip-devel-6.0.2-2.fc40.x86_64 conflicts with file from package hip-devel-5.7.1-1.fc39.noarch
file /usr/include/hip/hip_complex.h from install of rocm-hip-devel-6.0.2-2.fc40.x86_64 conflicts with file from package hip-devel-5.7.1-1.fc39.noarch
file /usr/include/hip/hip_cooperative_groups.h from install of rocm-hip-devel-6.0.2-2.fc40.x86_64 conflicts with file from package hip-devel-5.7.1-1.fc39.noarch
file /usr/include/hip/hip_ext.h from install of rocm-hip-devel-6.0.2-2.fc40.x86_64 conflicts with file from package hip-devel-5.7.1-1.fc39.noarch
file /usr/include/hip/hip_fp16.h from install of rocm-hip-devel-6.0.2-2.fc40.x86_64 conflicts with file from package hip-devel-5.7.1-1.fc39.noarch
file /usr/include/hip/hip_gl_interop.h from install of rocm-hip-devel-6.0.2-2.fc40.x86_64 conflicts with file from package hip-devel-5.7.1-1.fc39.noarch
file /usr/include/hip/hip_math_constants.h from install of rocm-hip-devel-6.0.2-2.fc40.x86_64 conflicts with file from package hip-devel-5.7.1-1.fc39.noarch
file /usr/include/hip/hip_runtime.h from install of rocm-hip-devel-6.0.2-2.fc40.x86_64 conflicts with file from package hip-devel-5.7.1-1.fc39.noarch
file /usr/include/hip/hip_runtime_api.h from install of rocm-hip-devel-6.0.2-2.fc40.x86_64 conflicts with file from package hip-devel-5.7.1-1.fc39.noarch
file /usr/include/hip/hip_vector_types.h from install of rocm-hip-devel-6.0.2-2.fc40.x86_64 conflicts with file from package hip-devel-5.7.1-1.fc39.noarch
file /usr/include/hip/hip_version.h from install of rocm-hip-devel-6.0.2-2.fc40.x86_64 conflicts with file from package hip-devel-5.7.1-1.fc39.noarch
file /usr/include/hip/hiprtc.h from install of rocm-hip-devel-6.0.2-2.fc40.x86_64 conflicts with file from package hip-devel-5.7.1-1.fc39.noarch
file /usr/include/hip/library_types.h from install of rocm-hip-devel-6.0.2-2.fc40.x86_64 conflicts with file from package hip-devel-5.7.1-1.fc39.noarch
file /usr/include/hip/math_functions.h from install of rocm-hip-devel-6.0.2-2.fc40.x86_64 conflicts with file from package hip-devel-5.7.1-1.fc39.noarch
file /usr/include/hip/texture_types.h from install of rocm-hip-devel-6.0.2-2.fc40.x86_64 conflicts with file from package hip-devel-5.7.1-1.fc39.noarch
file /usr/include/hip_prof_str.h from install of rocm-hip-devel-6.0.2-2.fc40.x86_64 conflicts with file from package hip-devel-5.7.1-1.fc39.noarch

hip-devel is not a Fedora package. Remove it first, then try the upgrade.

2 Likes