Skip to main content

CPanel Upgrade Failed - Needed system RPMs were not installed.

Comments

2 comments

  • cPanelMichael
    Hello :) The cPanel update is failing because the required RPMS can not be installed. Here are the error messages of importance: error: unpacking of archive failed on file /usr/sbin/grpck: cpio: rename error: unpacking of archive failed on file /usr/bin/host: cpio: rename error: unpacking of archive failed on file /usr/bin/ar: cpio: rename error: unpacking of archive failed on file /sbin/initlog: cpio: rename
    It's likely these files have the immutable attribute. You can verify this for each file with a command such as: lsattr /usr/bin/host
    If you see the immutable flag, you will need to use "chattr" to remove the attribute, so the file can be updated successfully. If you did not set the immutable flag, check with your system administrator to see if there were any specific reasons it was configured in such a way. Thank you.
    0
  • Phil_b
    [quote="cPanelMichael, post: 1484301">Hello :) The cPanel update is failing because the required RPMS can not be installed. Here are the error messages of importance: error: unpacking of archive failed on file /usr/sbin/grpck: cpio: rename error: unpacking of archive failed on file /usr/bin/host: cpio: rename error: unpacking of archive failed on file /usr/bin/ar: cpio: rename error: unpacking of archive failed on file /sbin/initlog: cpio: rename
    It's likely these files have the immutable attribute. You can verify this for each file with a command such as: lsattr /usr/bin/host
    If you see the immutable flag, you will need to use "chattr" to remove the attribute, so the file can be updated successfully. If you did not set the immutable flag, check with your system administrator to see if there were any specific reasons it was configured in such a way. Thank you.
    thanks. [quote] # chattr -ais /bin/* # chown root:root /bin/*
    The above (for the relevant directories of my packages) solved the issue.
    0

Please sign in to leave a comment.