The `yum update` fails with `unpacking of archive failed on file /usr/share/tomcat5/work: cpio: rename` error

Solution Verified - Updated -


  • Why does yum update fail with error,
Error unpacking rpm package tomcat5-5.5.23-0jpp.40.el5_9.x86_64
warning: /etc/sysconfig/tomcat5 created as /etc/sysconfig/tomcat5.rpmnew
warning: /etc/tomcat5/tomcat5.conf created as /etc/tomcat5/tomcat5.conf.rpmnew
error: unpacking of archive failed on file /usr/share/tomcat5/work: cpio: rename
  • Unable to update tomcat5 package.


  • Red Hat Enterprise Linux 5

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