Ask Your Question

Problem when upgrade fedora 29

asked 2018-11-03 17:48:59 -0500

Body gravatar image

updated 2018-11-04 01:30:29 -0500

villykruse gravatar image

When I do this command :

sudo dnf upgrade --refresh
Problem: nodejs-1:8.12.0-1.fc28.i686 has inferior architecture
  - package npm-1:6.4.1- requires nodejs = 1:8.12.0-1.fc28, but none of the providers can be installed
  - cannot install both nodejs-2:8.12.0-1nodesource.x86_64 and nodejs-1:8.12.0-1.fc28.x86_64
  - cannot install the best update candidate for package npm-1:6.4.1-
  - cannot install the best update candidate for package nodejs-1:8.12.0-1.fc28.x86_64

So I can't continue for uograding to fedora 29

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2018-11-04 01:55:47 -0500

villykruse gravatar image

It looks like you have a conflicting dnf repository enabled. The conflicting package is nodejs-2:8.12.0-1nodesource.x86_64.

If you run dnf list nodejs you should see the name of the repository in the rightmost column. That repository should be disabled and the packages you installed from that repository should be removed.

edit flag offensive delete link more

answered 2018-11-03 20:10:46 -0500

ed209 gravatar image

It tells you have installed a package of the wrong architecture. Try removing it with

dnf remove nodejs-1:8.12.0-1.fc28.i686

and start again.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2018-11-03 17:48:59 -0500

Seen: 195 times

Last updated: Nov 04 '18