Nodejs file conflicts in F43 to F44 upgrade

After issuing sudo dnf system-upgrade download --releasever=44 --allowerase and downloading the updates, the transaction fails with the errors below. What should be done?

Transaction failed: Rpm transaction failed.
  - file /usr/bin/node from install of nodejs20-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-1:22.22.2-2.fc43.x86_64
  - file /usr/share/man/man1/node.1.gz from install of nodejs20-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-1:22.22.2-2.fc43.x86_64
  - file /usr/bin/npm from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/bin/npx from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man1/npm-access.1.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man1/npm-adduser.1.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man1/npm-audit.1.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man1/npm-bugs.1.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man1/npm-cache.1.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man1/npm-ci.1.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man1/npm-completion.1.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man1/npm-config.1.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man1/npm-dedupe.1.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man1/npm-deprecate.1.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man1/npm-diff.1.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man1/npm-dist-tag.1.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man1/npm-docs.1.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man1/npm-doctor.1.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man1/npm-edit.1.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man1/npm-exec.1.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man1/npm-explain.1.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man1/npm-explore.1.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man1/npm-find-dupes.1.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man1/npm-fund.1.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man1/npm-help-search.1.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man1/npm-help.1.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man1/npm-hook.1.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man1/npm-init.1.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man1/npm-install-ci-test.1.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man1/npm-install-test.1.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man1/npm-install.1.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man1/npm-link.1.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man1/npm-login.1.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man1/npm-logout.1.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man1/npm-ls.1.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man1/npm-org.1.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man1/npm-outdated.1.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man1/npm-owner.1.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man1/npm-pack.1.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man1/npm-ping.1.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man1/npm-pkg.1.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man1/npm-prefix.1.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man1/npm-profile.1.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man1/npm-prune.1.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man1/npm-publish.1.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man1/npm-query.1.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man1/npm-rebuild.1.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man1/npm-repo.1.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man1/npm-restart.1.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man1/npm-root.1.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man1/npm-run-script.1.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man1/npm-sbom.1.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man1/npm-search.1.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man1/npm-shrinkwrap.1.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man1/npm-star.1.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man1/npm-stars.1.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man1/npm-start.1.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man1/npm-stop.1.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man1/npm-team.1.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man1/npm-test.1.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man1/npm-token.1.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man1/npm-uninstall.1.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man1/npm-unpublish.1.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man1/npm-unstar.1.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man1/npm-update.1.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man1/npm-version.1.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man1/npm-view.1.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man1/npm-whoami.1.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man1/npm.1.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man1/npx.1.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man5/folders.5.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man5/install.5.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man5/npm-global.5.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man5/npm-json.5.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man5/npm-shrinkwrap-json.5.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man5/npmrc.5.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man5/package-json.5.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man5/package-lock-json.5.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man7/config.7.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man7/dependency-selectors.7.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man7/developers.7.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man7/logging.7.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man7/orgs.7.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man7/package-spec.7.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man7/registry.7.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man7/removal.7.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man7/scope.7.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man7/scripts.7.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64
  - file /usr/share/man/man7/workspaces.7.gz from install of nodejs20-npm-bin-1:20.20.2-3.fc44.noarch conflicts with file from package nodejs-npm-1:10.9.7-1.22.22.2.2.fc43.x86_64

It looks like that you can install nodejs in three different ways. You have to clean this up first. Just then you can upgrade to the next Fedora version. Otherwise you have this conflicts you posted above.

Install Node.js on Fedora 44 using DNF, NodeSource, or NVM. Covers updates, version checks, troubleshooting, npm fixes, and cleanups.

Pretty much everything on my systems is installed with DNF.

Not sure but the issue might be related to F43 having the package named nodejs while F44 has versioned package names like nodejs20.

And nodejs is a dependency of rstudio-common, so attempting to uninstalling nodejs would create more complications.

It’s probably due to his change Changes/NodejsAlternativesSystem - Fedora Project Wiki

can you swap using sudo dnf swap nodejs nodejs"version you want to load" --allowerasing

Yes, good find, the nodejs packaging change may be at the source of this issue.

I tried sudo dnf swap --allowerasing nodejs-npm nodejs22-npm and sudo dnf swap --allowerasing nodejs nodejs22 but the result is the same.

From the messages, it seems F44 has a conflict between nodejs20 and nodejs22 versions, at least for this upgrade, while my F43 seems to have both nodejs20 and nodejs22 installed for some reason.

After checking with repoquery -q --installed --whatrequires nodejs20 and seeing nothing other than other nodejs20 dependencies, I removed it. In contrast, repoquery -q --installed --whatrequires nodejs22 indicates rstudio-common depends on it.

Now the DNF upgrade transaction check no longer fails. Hopefully the dnf5 offline reboot succeeds without further hiccups.

EDIT: F43 to F44 upgrade succeeded with no further issues. I did have to remove R-markdown and R-rmarkdown packages which are apparently not available in F44 as were causing problems with R-core upgrades. After that everything seems to be in order.

Well, I spoke a bit too soon. the F43 nodejs, nodejs-npm, and nodejs-libs packages are still installed and swapping them to nodejs22 would force the removal of rstudio-common and rstudio-desktop.

Also, part of the issue is that swapping one package, such as nodejs to nodejs22 causes conflicts with the -libs package, and I don’t see a way to swap all the relevant packages in one transaction. Is there a way?

$ sudo dnf swap --allowerasing nodejs nodejs22
Transaction failed: Rpm transaction failed.
  - file /usr/lib64/libnode.so.127 from install of nodejs22-libs-1:22.22.2-3.fc44.x86_64 conflicts with file from package nodejs-libs-1:22.22.2-2.fc43.x86_64

I’m afraid of bypassing dependency checks etc.

And the issue is due to the packaging changes between F43 and F44.

Note that nodejs20 is not installed. nodejs from F43 is installed and has file conflicts with the versioned packages like nodejs22 or nodejs20.

If it’s too complicated, maybe I will just end up having to uninstall and reinstall RStudio, which will allow removing/swapping the nodejs packages, and hope that the user data and settings are not affected.

Problem solved by tackling the swap with nodejs-libs which is the dependency and which pulled in the other nodejs packages:

$ sudo dnf swap --allowerasing nodejs-libs nodejs22-libs

Package                                 Arch       Version                                 Repository               Size
Removing:
 nodejs-libs                            x86_64     1:22.22.2-2.fc43                        updates              78.2 MiB
Removing dependent packages:
 nodejs                                 x86_64     1:22.22.2-2.fc43                        updates             162.1 KiB
Removing unused dependencies:
 nodejs-npm                             x86_64     1:10.9.7-1.22.22.2.2.fc43               updates               8.6 MiB
Installing:
 nodejs22-libs                          x86_64     1:22.22.2-3.fc44                        updates              78.9 MiB
Installing dependencies:
 nodejs22                               x86_64     1:22.22.2-3.fc44                        updates             304.2 KiB
 nodejs22-bin                           noarch     1:22.22.2-3.fc44                        updates             142.1 KiB
 nodejs22-npm-bin                       noarch     1:22.22.2-3.fc44                        updates              12.7 KiB
Installing weak dependencies:
 nodejs22-full-i18n                     x86_64     1:22.22.2-3.fc44                        updates              31.6 MiB
 nodejs22-npm                           noarch     1:10.9.7-1.22.22.2.3.fc44               updates               8.1 MiB

Transaction Summary:
 Installing:         6 packages
 Removing:           3 packages

Total size of inbound packages is 31 MiB. Need to download 0 B.
After this operation, 32 MiB extra will be used (install 119 MiB, remove 87 MiB).
Is this ok [y/N]:

This succeeded and did not require uninstalled other packages like rstudio-common which depends on nodejs.