Error: Transaction test error

Trying to update from Fedora 39 to 40 or 41 and I have run acress a problem that I have never experienced before. I do
sudo dnf upgrade --refresh then
sudo dnf system-upgrade download -y --skip-broken --allowerasing --releasever=40
then it starts Downloading Packages
it makes it’s way to package (3725/3725) then
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’

It all looks good until…
Error: Transaction test error

I’ve tried everything from DNF Clean to RPM clean, etc. Just can’t figure it out. Appreciate any assistance cause I can’t upgrade at all.

Here is the error report:

Error: Transaction test error
file /usr/include/hip/amd_detail/amd_channel_descriptor.h from install of rocm-hip-devel-6.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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_vector_types.h from install of rocm-hip-devel-6.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.2-2.fc40.x86_64 conflicts with file from package hip-devel-5.7.1-1.fc39.noarch
file /usr/lib64/libnvidia-egl-xcb.so.1 conflicts between attempted installs of egl-x11-1.0.0^20241113git6092c1f-2.fc40.x86_64 and nvidia-driver-libs-3:560.35.05-1.fc39.x86_64
file /usr/lib64/libnvidia-egl-xlib.so.1 conflicts between attempted installs of egl-x11-1.0.0^20241113git6092c1f-2.fc40.x86_64 and nvidia-driver-libs-3:560.35.05-1.fc39.x86_64
file /usr/lib64/libnvidia-ml.so.1 conflicts between attempted installs of xorg-x11-drv-nvidia-cuda-libs-3:560.35.03-5.fc40.x86_64 and libnvidia-ml-3:560.35.05-1.fc39.x86_64

My Specs:
System:
Kernel: 6.11.9-100.fc39.x86_64 arch: x86_64 bits: 64 compiler: gcc
v: 2.40-14.fc39
Desktop: Xfce v: 4.18.1 Distro: Fedora Linux 39 (Xfce)
Machine:
Type: Laptop System: HP product: OMEN Laptop 15-en0xxx v: N/A
serial:
Mobo: HP model: 8786 v: 22.26 serial: UEFI: AMI v: F.02
date: 05/11/2020
CPU:
Info: 8-core model: AMD Ryzen 7 4800H with Radeon Graphics bits: 64
type: MT MCP arch: Zen 2 rev: 1 cache: L1: 512 KiB L2: 4 MiB L3: 8 MiB
Speed (MHz): avg: 1493 high: 2900 min/max: 1400/2900 boost: enabled cores:
1: 1400 2: 1400 3: 1400 4: 1400 5: 1400 6: 1400 7: 1400 8: 1400 9: 1400
10: 1400 11: 1400 12: 1400 13: 1400 14: 2900 15: 1400 16: 1400
bogomips: 92628
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
Device-1: NVIDIA TU116M [GeForce GTX 1660 Ti Mobile] vendor: Hewlett-Packard
driver: nvidia v: 560.35.03 arch: Turing bus-ID: 01:00.0

This issue has been discussed here. You can also find there a workaround, until the issue gets fixed.

Thanks Mike. That helped a lot.

However, I still have three other errors left that are preventing the install and they are:

Error: Transaction test error:
file /usr/lib64/libnvidia-egl-xcb.so.1 conflicts between attempted installs of egl-x11-1.0.0^20241113git6092c1f-2.fc41.x86_64 and nvidia-driver-libs-3:560.35.05-1.fc39.x86_64
file /usr/lib64/libnvidia-egl-xlib.so.1 conflicts between attempted installs of egl-x11-1.0.0^20241113git6092c1f-2.fc41.x86_64 and nvidia-driver-libs-3:560.35.05-1.fc39.x86_64
file /usr/lib64/libnvidia-ml.so.1 conflicts between attempted installs of xorg-x11-drv-nvidia-cuda-libs-3:565.57.01-3.fc41.x86_64 and libnvidia-ml-3:560.35.05-1.fc39.x86_64

Any thoughts on how to resolve this?

Much appreciated.

You’re welcome.

Did you change the upgrade approach, and you’re trying to upgrade now from F39 directly to F41?

Either way, how did you install the nVidia drivers? Could you also share the output of dnf repolist, and that of dnf list installed "*nvidia*"?

Yes I need to get to 41 so I got a bit impatient. Is it better to go to 40 first?

The output of sudo dnf repolist is:
repo id repo name
balena-etcher balena-etcher
balena-etcher-noarch balena-etcher-noarch
balena-etcher-source balena-etcher-source
brave-browser Brave Browser
brave-browser-rpm-release.s3.brave.com_x86_64_ created by dnf config-manager from https://brave-browser-rpm-release.s3.brave.com/x86_64/
copr:copr.fedorainfracloud.org:aleasto:waydroid Copr repo for waydroid owned by aleasto
cuda-fedora39-x86_64 cuda-fedora39-x86_64
docker-ce-stable Docker CE Stable - x86_64
fedora Fedora 39 - x86_64
fedora-cisco-openh264 Fedora 39 openh264 (From Cisco) - x86_64
google-earth-pro google-earth-pro
nordvpn NordVPN YUM repository - x86_64
nordvpn-noarch NordVPN YUM repository - noarch
repo.nordvpn.com_yum_nordvpn_centos_x86_64 created by dnf config-manager from Index of /yum/nordvpn/centos/x86_64/
rpm.librewolf.net created by dnf config-manager from https://rpm.librewolf.net
rpmfusion-free RPM Fusion for Fedora 39 - Free
rpmfusion-free-updates RPM Fusion for Fedora 39 - Free - Updates
rpmfusion-nonfree RPM Fusion for Fedora 39 - Nonfree
rpmfusion-nonfree-updates RPM Fusion for Fedora 39 - Nonfree - Updates
rpmsphere RPM Sphere - Basearch
rpmsphere-noarch RPM Sphere - Noarch
sublime-text Sublime Text - x86_64 - Stable
teams teams
updates Fedora 39 - x86_64 - Updates
virtualbox Fedora VirtualBox Repo

The system wont let me send another post

When I try to paste the terminal output it says: ‘An error occurred: Sorry, new users can only mention 2 users in a post.’

Maybe if I write out the content…

akmod-nvidia.x86_64
golang-github-nvidia-container–toolkit.x86_64

Skipping one major version with system upgrades is officially supported.

That’s because your account is new, and there are measures in place to prevent spam. Instead of posting terminal screenshots, it’s always better to post the output as preformatted text. If that’s what you’ve tried and the post still gets rejected, it could be that you’re using links, which are restricted. Try using the preformatted text (</>) button, and paste the text by overwriting the type or paste code here text, and also remove links before pasting if necessary.


Ca you confirm that you’ve installed the nVidia drivers via RPM Fusion (the recommended way)? If so, I don’t know how system upgrades are handled for RPM-Fusion packages, but it should work.

You could try temporarily uninstalling the xorg-x11-drv-nvidia-cuda package (and egl-x11, if needed), and then reinstall after successful system-upgrade.

I won’t be available for a couple of hours, but please post your results, someone else might join the conversation in the meantime.

kmod-nvidia-6.11.6-100.fc9.x86_64.x86_64
kmod-nvidia-6.11.7-100.fc39.x86_64.x86_64
kmod-nvidia-6.11.9-100.fc39.x86_64.x86_64

Installed Packages
akmod-nvidia.x86_64                                                      3:560.35.03-1.fc39                            @rpmfusion-nonfree-updates
golang-github-nvidia-container-toolkit.x86_64                            1.16.1-1.fc39                                 @updates                  
kmod-nvidia-6.11.6-100.fc39.x86_64.x86_64                                3:560.35.03-1.fc39                            @@commandline             
kmod-nvidia-6.11.7-100.fc39.x86_64.x86_64                                3:560.35.03-1.fc39                            @@commandline             
kmod-nvidia-6.11.9-100.fc39.x86_64.x86_64                                3:560.35.03-1.fc39                            @@commandline             
nvidia-gpu-firmware.noarch                                               20241110-1.fc39                               @updates                  
nvidia-modprobe.x86_64                                                   3:560.35.03-1.fc39                            @rpmfusion-nonfree-updates
nvidia-persistenced.x86_64                                               3:560.35.03-1.fc39                            @rpmfusion-nonfree-updates
nvidia-settings.x86_64                                                   3:560.35.03-1.fc39                            @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia.x86_64                                               3:560.35.03-5.fc39                            @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-cuda.x86_64                                          3:560.35.03-5.fc39                            @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-cuda-libs.x86_64                                     3:560.35.03-5.fc39                            @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-kmodsrc.x86_64                                       3:560.35.03-5.fc39                            @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-libs.x86_64                                          3:560.35.03-5.fc39                            @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-power.x86_64                                         3:560.35.03-5.fc39                            @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-xorg-libs.x86_64                                     3:560.35.03-5.fc39                            @rpmfusion-nonfree-updates

Dec 3, 2024, 8:10 AM by notifications@fedoraproject.discoursemail.com:


|
Mike B. tqcharm

December
|

  • | - |

You could try temporarily uninstalling the xorg-x11-drv-nvidia-cuda package (and egl-x11, if needed), and then reinstall after successful system-upgrade.

That did the trick, Mike. I deleted those two things and was able to start the upgrade and I’m now at 22%.

I’ll let you know if there are any other issues but I think I’m good now and thanks so much for your assistance with this. I’ve never run into a problem upgrading Fedora so this was very unusual.

I appreciate you and all the other people who stand behind what has become my absolute favorite operating system.

Cheers

1 Like