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

Solution Verified - Updated -

Issue

  • I had a following error in yum update for the rh-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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content