yum/rpm install/update git fails with error: unpacking of archive failed on file /usr/bin/git : cpio: link

Solution Verified - Updated -

Issue

  • Attempting to install/update git package fails with cpio:link errors e.g:
# rpm -ivh /tmp/git-1.8.3.1-23.el7_8.x86_64.rpm
Preparing...                          ################################# [100%]
Updating / installing...
   1:git-1.8.3.1-23.el7_8             ################################# [100%]
error: unpacking of archive failed on file /usr/bin/git;608bf7c3: cpio: link
error: git-1.8.3.1-23.el7_8.x86_64: 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