Errors not allowing migration from 39 to 41

I have migrated succesfuly from 37 to 39 then I am trying to migrate to 41. When I run

sudo dnf system-upgrade download --releasever=41 --skip-broken --allowerasing

I get:

Running transaction check
Transaction check succeeded.
Running transaction test
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing ‘dnf clean packages’.
Error: Transaction test error:
file /usr/include/hip/amd_detail/amd_channel_descriptor.h from install of rocm-hip-devel-6.2.1-4.fc41.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.2.1-4.fc41.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.2.1-4.fc41.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.2.1-4.fc41.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.2.1-4.fc41.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.2.1-4.fc41.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.2.1-4.fc41.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.2.1-4.fc41.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.2.1-4.fc41.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.2.1-4.fc41.x86_64 conflicts with file from package hip-devel-5.7.1-1.fc39.noarch
file /usr/include/hip/amd_detail/amd_hip_vector_types.h from install of rocm-hip-devel-6.2.1-4.fc41.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.2.1-4.fc41.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.2.1-4.fc41.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.2.1-4.fc41.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.2.1-4.fc41.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.2.1-4.fc41.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.2.1-4.fc41.x86_64 conflicts with file from package hip-devel-5.7.1-1.fc39.noarch
file /usr/include/hip/amd_detail/hip_runtime_prof.h from install of rocm-hip-devel-6.2.1-4.fc41.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.2.1-4.fc41.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.2.1-4.fc41.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.2.1-4.fc41.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.2.1-4.fc41.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.2.1-4.fc41.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.2.1-4.fc41.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.2.1-4.fc41.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.2.1-4.fc41.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.2.1-4.fc41.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.2.1-4.fc41.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.2.1-4.fc41.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.2.1-4.fc41.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.2.1-4.fc41.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.2.1-4.fc41.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.2.1-4.fc41.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.2.1-4.fc41.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.2.1-4.fc41.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.2.1-4.fc41.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.2.1-4.fc41.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.2.1-4.fc41.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.2.1-4.fc41.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.2.1-4.fc41.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.2.1-4.fc41.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.2.1-4.fc41.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.2.1-4.fc41.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.2.1-4.fc41.x86_64 conflicts with file from package hip-devel-5.7.1-1.fc39.noarch

I rebooted and tried again but it did not help. Thanks for your help

I propose to remove hip-devel-5.7.1-1 so that the new one can be installed after the upgrade.

2 Likes

The hip-devel sub-package seems to be available only on F39. Beginning with F40, it got included in rocm-hip-devel. See what the latter package provides on F39 and on F41.

1 Like

This is a bug in the packaging, and I’ve reported it as such.
https://bugzilla.redhat.com/show_bug.cgi?id=2327258

2 Likes

I tried removing but seems it does not work

I did

dnf list --installed | grep rocm 

and found that it was also in ROCM, so I issued the dnf remove against it and upgrade went through, it is at 50% at the moment
Thanks for your help

1 Like