Score:0

Can't install npm on CentOS 6 due dependency issues

cz flag

I have a CentOS 6 machine that I want to install npm on. Whenever I do a normal yum install npm I get an error saying that I need to install krb5-devel which doesn't show up on yum search so I downloaded the RPM file and tried to install it manually which in turn shows an error because I need to install libcom_err-devel.

This is where the problem actually begins, I downloaded this RPM package and tried to install it but it then shows this error:

Error: Package: libcom_err-devel-1.41.12-18.el6.x86_64 (/libcom_err-devel-1.41.12-18.el6.x86_64)
           Requires: libcom_err = 1.41.12-18.el6
           Installed: libcom_err-1.41.12-14.el6_4.4.x86_64 (@updates)
               libcom_err = 1.41.12-14.el6_4.4
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

I have no idea how to fix this. It shows that it needs libcom_err but it's already installed.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.