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!

SOLVED quickinstall plugin leading to update failures

Discussion in 'General Discussion' started by Brian Vasseur, Jun 20, 2019.

  1. Brian Vasseur

    Brian Vasseur Registered

    Joined:
    Mar 4, 2018
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    canada
    cPanel Access Level:
    Root Administrator
    When I run this script /usr/local/bin/perl /usr/local/cpanel/3rdparty/quickinstall/scripts/checkupdates.pl

    I am getting this list of errors.
    Code:
    Can't locate Error.pm in @INC (@INC contains: /usr/local/cpanel /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/local/lib64/perl5/Git.pm line 100.
    BEGIN failed--compilation aborted at /usr/local/lib64/perl5/Git.pm line 100.
    Compilation failed in require at /usr/local/cpanel/Cpanel/QuickInstall/Backups.pm line 3.
    BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/QuickInstall/Backups.pm line 3.
    Compilation failed in require at /usr/local/cpanel/3rdparty/quickinstall/scripts/checkupdates.pl line 3.
    BEGIN failed--compilation aborted at /usr/local/cpanel/3rdparty/quickinstall/scripts/checkupdates.pl line 3.
    
    Line 100 of GIT.PM is use Error qw try);

    I think it can't find error.pm. Using WHM I went to module installers but there are pages of entries of modules with error in them. I'm not sure if I should be installing "Error - latest:0.17027" "Error::Generic" or something altogether different.
     
    #1 Brian Vasseur, Jun 20, 2019
    Last edited by a moderator: Jun 24, 2019
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,528
    Likes Received:
    2,180
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @Brian Vasseur,

    Keep in-mind this is a third-party script that's not included by default with cPanel & WHM. I recommend contacting your server provider and verifying if /usr/local/cpanel/3rdparty/quickinstall/scripts/checkupdates.pl requires additional configuration steps for use in newer cPanel & WHM versions.

    You can read more about Perl module installation and usage on the document below:

    Guide to Perl in cPanel - Perl Environments - Developer Documentation - cPanel Documentation

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Brian Vasseur

    Brian Vasseur Registered

    Joined:
    Mar 4, 2018
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    canada
    cPanel Access Level:
    Root Administrator

    Hello,
    I don't think the issue is the 3rdParty script as the error is generated by a different PM which is not in 3rdParty:

    /usr/local/lib64/perl5/Git.pm

    I'm assuming this is part of CPanel which is why I have posted this here.

    Brian
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,528
    Likes Received:
    2,180
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Isaac Ewing

    Isaac Ewing Registered

    Joined:
    Aug 24, 2015
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    75201
    cPanel Access Level:
    Root Administrator
    I have the same error but when I try to run the command listed above, I get the following error:

    Code:
    Can't locate CPANPLUS.pm in @INC (you may need to install the CPANPLUS module) (@INC contains: /usr/local/perl/perl-5.22.0/lib/site_perl/5.22.0/x86_64-linux /usr/local/perl/perl-5.22.0/lib/site_perl/5.22.0 /usr/local/perl/perl-5.22.0/lib/5.22.0/x86_64-linux /usr/local/perl/perl-5.22.0/lib/5.22.0 .) at /usr/bin/cpanp line 11.
    Error in PREIN scriptlet in rpm package quickinstall-1.2-96.noarch
    error:   install: %pre scriptlet failed (2), skipping quickinstall-1.2-96
      Verifying  : quickinstall-1.2-96.noarch                                   1/2
    quickinstall-1.2-94.noarch was supposed to be removed but is not!
      Verifying  : quickinstall-1.2-94.noarch                                   2/2
     
    Complete!
    info [rpmup] Completed yum execution “--assumeyes --config /etc/yum.conf update --disablerepo=epel”: in 41.508 second(s).
    (XID ewmka8) The system failed to execute yum with the arguments “--assumeyes --config /etc/yum.conf update --disablerepo=epel” because of an error: The “/usr/bin/yum --assumeyes --config /etc/yum.conf update --disablerepo=epel” command (process 5217) reported error number 1 when it ended. : Error in PREIN scriptlet in rpm package quickinstall-1.2-96.noarch
    quickinstall-1.2-94.noarch was supposed to be removed but is not!
    checkyum version 22.3  (excludes: bind-chroot perl ruby)
     
  6. Isaac Ewing

    Isaac Ewing Registered

    Joined:
    Aug 24, 2015
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    75201
    cPanel Access Level:
    Root Administrator
    Nevermind, I searched for 'cpanplus' in the module installers under the software section of whm. Then I installed
    Code:
    CPANPLUS (0.9176)
    then installed
    Code:
    Bundle::CPANPLUS (0.01)
    and installed
    Code:
    Bundle::CPANPLUS::Dependencies (0.03)
    Bundle::CPANPLUS::Test::Reporter (0.05)
    and finally installed
    Code:
    ACME::CPANPLUS::Module::With::Core::PreReq (0.06)    
    then i ran 'yum update' and everything worked great

    realistically, you probably only need to install the first and last modules, if it doesn't work, try to install all of the modules listed
     
  7. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,528
    Likes Received:
    2,180
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @Isaac Ewing,

    Thanks for sharing the solution. I've merged your posts into this thread, as it appears to relate to the third-party plugin named quickinstall.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. intuicafe

    intuicafe Registered

    Joined:
    Jul 2, 2019
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Vietnam
    cPanel Access Level:
    Reseller Owner
    tôi cũng quan tâm
     
  9. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,528
    Likes Received:
    2,180
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @intuicafe,

    Do you have root access to the server? If not, can you report this to your hosting provider so they can investigate further?

    Thank you.

    Translation:

     
    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