The leapp preupgrade fails with error: file XXX from install of npm-XXX.el8.x86_64 conflicts with file from package nodejs-YYY.el7.x86_64
Issue
-
The
leapp preupgrade
fails with error:file XXX from install of npm-XXX.el8.x86_64 conflicts with file from package nodejs-YYY.el8.x86_64
Risk Factor: high (error) Title: DNF execution failed with non zero exit code. Summary: {"hint": "If there was a problem reaching remote content (see stderr output) and proxy is configured in the YUM/DNF configuration file, the proxy configuration is likely causing this error. Make sure the proxy is properly configured in /etc/dnf/dnf.conf. It's also possible the proxy settings in the DNF configuration file are incompatible with the target system. A compatible configuration can be placed in /etc/leapp/files/dnf.conf which, if present, it will be used during some parts of the upgrade instead of original /etc/dnf/dnf.conf. In such case the configuration will also be applied to the target system. Note that /etc/dnf/dnf.conf needs to be still configured correctly for your current system to pass the early phases of the upgrade process.", "STDERR": "No matches found for the following disable plugin patterns: subscription-manager Warning: Package marked by Leapp to upgrade not found in repositories metadata: gpg-pubkey leapp-upgrade-el7toel8 leapp python2-leapp Transaction couldn't start: file /usr/lib/node_modules/npm/docs from install of npm-1:6.14.11-1.10.24.0.1.module+el8.3.0+10166+b07ac28e.x86_64 conflicts with file from package nodejs-2:13.14.0-1nodesource.x86_64 Error: Could not run transaction.
Environment
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Leapp
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.