Error unpacking rpm package filename-1.2.3.rpm "error: unpacking of archive failed: cpio: lstat failed - Not a directory"

Solution Verified - Updated -

Issue

  • The following error is received when issuing an rpm -Uvh filename-1-2-3.rpm:
[root@server]# rpm -Uvh filename-1-2-3.rpm 
Preparing...                          ################################# [100%]
Updating / installing...
   1:filename-1-2-3              ################################# [100%]
error: unpacking of archive failed: cpio: lstat failed - Not a directory
error: filename-1-2-3: install failed

Environment

  • Red Hat Enterprise Linux 7

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