Can't install any program
Can't install any program
Simplify: When I try to install something i get greeted with Failed to synchronize cache for repo 'nodesource' And I can't find a solution
Hello everyone, so a couple of days ago I had trouble with my Ubuntu-Servermachine installing linuxgsm, and a guy convinced me into installing centos and even helped me to set it up, and im really enjoying the VM performance. Though when I wanted to install mineos (a minecraft web based server manager) "i know i know"
I got greeted with a kind: Failed to synchronize cache for repo 'nodesource'
And later i realized that i got it on everything i wanted to install.
Am I missing something? I've searched around on the internet desperate (not really) to find an answer though I was greeted with no luck it seems.
I'm still pretty new to linux so excuse me if im coming of as annoying :(
OS: CentOS Linux release 8.0.1905 (Core)
Image below
https://prnt.sc/ptvft8
Hello everyone, so a couple of days ago I had trouble with my Ubuntu-Servermachine installing linuxgsm, and a guy convinced me into installing centos and even helped me to set it up, and im really enjoying the VM performance. Though when I wanted to install mineos (a minecraft web based server manager) "i know i know"
I got greeted with a kind: Failed to synchronize cache for repo 'nodesource'
And later i realized that i got it on everything i wanted to install.
Am I missing something? I've searched around on the internet desperate (not really) to find an answer though I was greeted with no luck it seems.
I'm still pretty new to linux so excuse me if im coming of as annoying :(
OS: CentOS Linux release 8.0.1905 (Core)
Image below
https://prnt.sc/ptvft8
-
- Posts: 46
- Joined: 2019/10/11 09:13:47
Re: Can't install any program
Just a quick note that CentOS & RH-8.x are using dnf rather than yum. (Though you can still install with yum). Many commands are identical, e.g., dnf clean all
It looks like the discussion that BShT linked to may have the solution.
It looks like the discussion that BShT linked to may have the solution.
New users should check the FAQ and Read Me First pages
Re: Can't install any program
no i dont think so? I will do it nowMakeTopSite wrote: ↑2019/11/07 20:04:12Hello, welcome.
Did you try?Code: Select all
yum -v clean all
Re: Can't install any program
nope, didn't work. For example i wanted to install git. And when it reached "Node.js Packages for Enterprise Linux 8 - x86_6" it said "Error: Failed to synchronize cache for repo 'nodesource'"
Outputsudo yum install git
CentOS-8 - AppStream 1.7 MB/s | 6.3 MB 00:03
CentOS-8 - Base 2.4 MB/s | 7.9 MB 00:03
CentOS-8 - Extras 682 B/s | 2.1 kB 00:03
Extra Packages for Enterprise Linux 8 - x86_64 808 kB/s | 3.3 MB 00:04
Node.js Packages for Enterprise Linux 8 - x86_6 134 B/s | 162 B 00:01
Error: Failed to synchronize cache for repo 'nodesource'
[root@HM-KVMNODE-00 ~]# Node.js Packages for Enterprise Linux 8 - x86_6Error: Failed to synchronize cache for repo 'nodesource'
Yes im logged in as root and i did a sudo command on root xd
Outputsudo yum install git
CentOS-8 - AppStream 1.7 MB/s | 6.3 MB 00:03
CentOS-8 - Base 2.4 MB/s | 7.9 MB 00:03
CentOS-8 - Extras 682 B/s | 2.1 kB 00:03
Extra Packages for Enterprise Linux 8 - x86_64 808 kB/s | 3.3 MB 00:04
Node.js Packages for Enterprise Linux 8 - x86_6 134 B/s | 162 B 00:01
Error: Failed to synchronize cache for repo 'nodesource'
[root@HM-KVMNODE-00 ~]# Node.js Packages for Enterprise Linux 8 - x86_6Error: Failed to synchronize cache for repo 'nodesource'
Yes im logged in as root and i did a sudo command on root xd
Re: Can't install any program
Well, yeah it seems to have no diffrence using yum or dnf. And how the flip do I "Refresh my manifest"?
Re: Can't install any program
How did you install mineos?
Something may not be compatible with CentOS 8.
What's the output from this: yum repolist
Something may not be compatible with CentOS 8.
What's the output from this: yum repolist
Re: Can't install any program
Never installed it. Since I got the error message when I wanted to install nodejs (node.js)
I went to the official wiki to install btw. https://minecraft.codeemo.com/mineoswik ... node_(yum)
Re: Can't install any program
Well I looked at this and the reason you are receiving this error is because there is no repodata for that repo on the node url. They take you to https://rpm.nodesource.com/pub_8.x/el/8/ but there is no repodata directory under that (or anywhere else). That means it is not a functional yum repo. You need to report this to the nodesource people and in the meantime you will need to use e.g. yum --disablerepo=nodesource ... whatever each time you run yum or edit the /etc/yum.repos.d/ .repo file and disable it there.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke