1

2:nodejs-10.15.3-1nodesource.x86_64: [Errno 256] No more mirrors to try. On CentOS 7.6

Hello, When I am trying to install nodejs On Centos 7.6 . It has thrown some error like 2:nodejs-10.15.3-1nodesource.x86_64. How to fix this issue?

CentOS Node.js Add a comment
jackson
asked May 28 2019

Answer

1

Just Execute the below commands to fix this issue.

yum clean all (if you're in a root user account) else sudo yum clean all ( normal user account)
and then Install
yum install nodejs -y

Add a comment
linuxhelp
asked May 28 2019
Post your Answer
1

what does yum clean all command do?

Comments
Fart
Nov 09 2024
its removes the yum cache.<br /> rm -rf /var/cache/yum is as effective (more i think)<br /> <br /> you can alias it easy...<br /> <br /> alias cleanyum='rm -rf /var/cache/yum; yum makecache'<br /> <br /> then you just run 'cleanyum'.
Add a comment
lucky
asked May 29 2019
Post your Answer