yum update rh-nodejs8-npm failed with: unpacking of archive failed on file /opt/rh/rh-nodejs8/root/usr/lib/node_modules/npm/node_modules/ansi-regex: cpio: rename
Issue
- I had a following error in
yum
update for therh-nodejs8-npm
package:
Error unpacking rpm package rh-nodejs8-npm-5.6.0-8.11.4.1.el7.x86_64
error: unpacking of archive failed on file /opt/rh/rh-nodejs8/root/usr/lib/node_modules/npm/node_modules/ansi-regex: cpio: rename
Environment
Red Hat Enterprise Linux 7
Red Hat Software Collections
rh-nodejs8-nodejs
rh-nodejs8-npm
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.