Upgrade from Fedora Server 34 to 35 Failed

, ,

I run through the commands to upgrade from 34 to 35 with no issues until I run “dnf system-upgrade reboot”

the upgrade then fails with "Failed to start System Upgrade using DNF.

Here is the output of the log of the time of failure:

November 5, 2021
4:09 PM
dnf-system-upgrade.service: Consumed 1min 14.383s CPU time.
systemd
4:09 PM
dnf-system-upgrade.service: Triggering OnFailure= dependencies.
systemd
4:09 PM
Failed to start System Upgrade using DNF.
systemd
4:09 PM
dnf-system-upgrade.service: Failed with result 'exit-code'.
systemd
4:09 PM
dnf-system-upgrade.service: Main process exited, code=exited, status=1/FAILURE
systemd
4:09 PM
dnf
4:09 PM
Error: Could not run transaction.
dnf
4:08 PM
file /usr/lib/node_modules/npm/docs from install of npm-1:8.0.0-1.16.11.1.1.fc35.x86_64 conflicts with file from package nodejs-2:10.24.1-1nodesource.x86_64
dnf
4:08 PM
Preparing : 1/1Transaction couldn't start:
dnf
4:08 PM
Running scriptlet: alsa-sof-firmware-1.9-1.fc35.noarch 1/1
dnf

Running a google search on the conflict returns no results whatsoever.

This is the issue. Please remove one of the packages to resolve the conflict (and you can reinstall it after the upgrade). Same issue here:

https://discussion.fedoraproject.org/t/fedora-34-35-upgrade-fails/62332

Not sure what’s causing it—would you know where the two packages are from? Are they from the Fedora repositories??

1 Like

seem removing nodejs-2:10.24.1-1nodesource.x86_64 fixed the issue.

1 Like