linux7802

Well-Known Member
Dec 14, 2007
232
1
68
cPanel Access Level
Root Administrator
I am receiving the following error while running the command /usr/local/cpanel/scripts/check_cpanel_rpms --fix

Code:
root@server [~]# /usr/local/cpanel/scripts/check_cpanel_rpms --fix

Problems were detected with cPanel-provided files which are RPM controlled.
If you did not make these changes intentionally, you can correct them by running:
> /usr/local/cpanel/scripts/check_cpanel_rpms --fix
The following RPMs are missing from your system:
 cpanel-git.1.7.11.3-1.cp1136
Removing 0 broken rpms:
rpm: no packages given for erase
Downloading http://httpupdate.cpanel.net/RPM/11.36/centos/5/i386/rpm.md5
cpanel-git-1.7.11.3-1.cp1136.i386.rpm already downloaded
Hooks system enabled
Checking for and running RPM::Versions 'pre' hooks for any RPMs about to be installed
All required 'pre' hooks have been run
No RPMS need to be uninstalled
Installing new rpms: cpanel-git-1.7.11.3-1.cp1136.i386.rpm
Preparing packages for installation...
cpanel-git-1.7.11.3-1.cp1136
error: unpacking of archive failed on file /usr/local/cpanel/3rdparty/share/locale/nl/LC_MESSAGES/git.mo: cpio: rename failed - No such file or directory
W Error Code: 1
E The following possible errors were detected while installing RPMs:
e unpacking of archive failed on file /usr/local/cpanel/3rdparty/share/locale/nl/LC_MESSAGES/git.mo
The Administrator will be notified to review this output when this script completes
Checking for and running RPM::Versions 'post' hooks for any RPMs just installed
All required 'post' hooks have been run
Please let me know the solution....
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Hello :)

The error message indicates the failure stems when unpacking the the following file:

Code:
/usr/local/cpanel/3rdparty/share/locale/nl/LC_MESSAGES/git.mo
There can sometimes be issues with your file system when you see "cpio: rename failed", or there could be a directory with insufficient permissions. Have you tried running the "usr/local/cpanel/scripts/check_cpanel_rpms --fix" command again to see if the issue continues? If the issue persists, check the output of the following commands:

Code:
# lsattr /usr/local/cpanel/3rdparty/share/locale/nl/LC_MESSAGES/git.mo
# stat /usr/local/cpanel/3rdparty/share/locale/nl/LC_MESSAGES/git.mo
Thank you.