The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

check_cpanel_rpms --fix issue

Discussion in 'General Discussion' started by linux7802, May 14, 2013.

  1. linux7802

    linux7802 Well-Known Member

    Joined:
    Dec 14, 2007
    Messages:
    232
    Likes Received:
    1
    Trophy Points:
    18
    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....
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    649
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page