error: unpacking of archive failed

After alot of research and running of our own servers we seem time and time again with yum and up2date and even rpm updates with the following error

error: unpacking of archive failed on file /bin/tar: cpio: rename failed

even when you logged in root and see the same issue

to solve this message logged in as root run the following command

chattr -ais

for example:

chattr -ais /bin/tar

now run yum upgrade or RPM

if you still have issues just leave comments and i will find an solution for you!

Mega World News Facebook Twitter Myspace Friendfeed Technorati del.icio.us Digg Google Yahoo Buzz StumbleUpon Weekend Joy

    • Kamil
    • June 14th, 2011

    I did it but it doesn’t help.

    [root@vps ~]# lsattr /etc/postfix/virtual
    ————- /etc/postfix/virtual/aliases.db
    ————- /etc/postfix/virtual/domains.db
    ————- /etc/postfix/virtual/domains
    ————- /etc/postfix/virtual/aliases
    ————- /etc/postfix/virtual/aliases.db:

    [root@vps ~]# chattr -ais /etc/postfix/virtual

    Updating : postfix 1/2
    Error unpacking rpm package 2:postfix-2.3.3-2.3.el5_6.x86_64
    error: unpacking of archive failed on file /etc/postfix/virtual: cpio: rename

    Failed:
    postfix.x86_64 2:2.3.3-2.3.el5_6

      • admin
      • June 14th, 2011

      you using yum or just installing via rpm? so I can see if i can help

        • Kamil
        • June 15th, 2011

        I am using yum

  1. Yum is better to use.

  1. No trackbacks yet.