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

Solution Verified - Updated -

Issue

  • 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.

Environment

  • Red Hat Enterprise Linux 5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.