Ask Your Question
0

Problem when upgrade fedora 29

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

Body gravatar image

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

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-1.8.12.0.1.fc28.x86_64 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-1.8.12.0.1.fc28.x86_64
  - 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
1

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

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
1

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

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

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

Seen: 109 times

Last updated: Nov 04