SOLVED quickinstall plugin leading to update failures

Brian Vasseur

Registered
Mar 4, 2018
2
0
1
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.
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
Hello @Brian Vasseur,

/usr/local/cpanel/3rdparty/quickinstall/scripts/checkupdates.pl
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.
 

Brian Vasseur

Registered
Mar 4, 2018
2
0
1
canada
cPanel Access Level
Root Administrator
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.

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
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463

Isaac Ewing

Registered
Aug 24, 2015
3
0
51
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)
 

Isaac Ewing

Registered
Aug 24, 2015
3
0
51
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)
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
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
tôi cũng quan tâm
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:

Xin chào @intuicafe,

Bạn có quyền truy cập root vào máy chủ? Nếu không, bạn có thể báo cáo điều này với nhà cung cấp dịch vụ lưu trữ của mình để họ có thể điều tra thêm không?

Cảm ơn bạn.