Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    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....
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,378
    Likes Received:
    1,857
    Trophy Points:
    363
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice