SOLVED CPANEL-35144 - CentOS8 install error due to powertools repo

gnusys

Well-Known Member
Jan 18, 2013
51
12
58
cPanel Access Level
DataCenter Provider
Code:
2020-12-14 06:15:23 2573 [16856] (DEBUG):     dnf-4.2.23-4.el8.noarch
2020-12-14 06:15:23 2573 [16856] (DEBUG):   - ssystem [END]
2020-12-14 06:15:23  643 [16856] ( INFO): centos-linux 8.3 (Linux) detected!
2020-12-14 06:15:23  658 [16856] ( INFO): Checking RAM now...
2020-12-14 06:15:23  449 [16856] (DEBUG):   - ssystem [BEGIN]: /usr/bin/yum -y install iproute --enablerepo=PowerTools
2020-12-14 06:15:23  449 [16856] (DEBUG):     Error: Unknown repo: 'PowerTools'
2020-12-14 06:15:23  449 [16856] (ERROR):   - ssystem [EXIT_CODE] '/usr/bin/yum' exited with 1 (ignored)
2020-12-14 06:15:23  449 [16856] (DEBUG):   - ssystem [END]
2020-12-14 06:15:23  449 [16856] (DEBUG):   - ssystem [BEGIN]: /usr/bin/yum -y install iproute --enablerepo=PowerTools
2020-12-14 06:15:23  449 [16856] (DEBUG):     Error: Unknown repo: 'PowerTools'
2020-12-14 06:15:23  449 [16856] (ERROR):   - ssystem [EXIT_CODE] '/usr/bin/yum' exited with 1 (ignored)
2020-12-14 06:15:23  449 [16856] (DEBUG):   - ssystem [END]
2020-12-14 06:15:23  449 [16856] (DEBUG):   - ssystem [BEGIN]: /usr/bin/yum -y install iproute --enablerepo=PowerTools
2020-12-14 06:15:23  449 [16856] (DEBUG):     Error: Unknown repo: 'PowerTools'
2020-12-14 06:15:23  449 [16856] (ERROR):   - ssystem [EXIT_CODE] '/usr/bin/yum' exited with 1 (ignored)
2020-12-14 06:15:23  449 [16856] (DEBUG):   - ssystem [END]
2020-12-14 06:15:23  449 [16856] (DEBUG):   - ssystem [BEGIN]: /usr/bin/yum -y install iproute --enablerepo=PowerTools
2020-12-14 06:15:24  449 [16856] (DEBUG):     Error: Unknown repo: 'PowerTools'
2020-12-14 06:15:24  449 [16856] (ERROR):   - ssystem [EXIT_CODE] '/usr/bin/yum' exited with 1 (ignored)
2020-12-14 06:15:24  449 [16856] (DEBUG):   - ssystem [END]
2020-12-14 06:15:24  449 [16856] (DEBUG):   - ssystem [BEGIN]: /usr/bin/yum -y install iproute --enablerepo=PowerTools
2020-12-14 06:15:24  449 [16856] (DEBUG):     Error: Unknown repo: 'PowerTools'
2020-12-14 06:15:24  449 [16856] (ERROR):   - ssystem [EXIT_CODE] '/usr/bin/yum' exited with 1 (ignored)
2020-12-14 06:15:24  449 [16856] (DEBUG):   - ssystem [END]
2020-12-14 06:15:24  449 [16856] (DEBUG):   - ssystem [BEGIN]: /usr/bin/yum -y install iproute --enablerepo=PowerTools
2020-12-14 06:15:24  449 [16856] (DEBUG):     Error: Unknown repo: 'PowerTools'
2020-12-14 06:15:24  449 [16856] (ERROR):   - ssystem [EXIT_CODE] '/usr/bin/yum' exited with 1 (ignored)
2020-12-14 06:15:24  449 [16856] (DEBUG):   - ssystem [END]
2020-12-14 06:15:24  453 [16856] (FATAL): yum failed 6 times. The installation process cannot continue.
Removing /root/installer.lock.
As per upstream centos8 bug https://bugs.centos.org/view.php?id=17920

PowerTools is now powertools
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
4,251
535
273
cPanel Access Level
Root Administrator
Hey hey! We're on it, and have case CPANEL-35144 open to get the installer adjusted. It looks like this will actually be in production this week from what I'm seeing, so you can keep an eye on the change logs here to see when that goes live:


I'll also post an update here once that fix has been applied.
 

aled2305

Member
May 12, 2013
5
0
51
cPanel Access Level
Reseller Owner
Hey hey! We're on it, and have case CPANEL-35144 open to get the installer adjusted. It looks like this will actually be in production this week from what I'm seeing, so you can keep an eye on the change logs here to see when that goes live:


I'll also post an update here once that fix has been applied.
Hi cPRex, are there any quick work around, or do we have to wait for the cPanel fix?

Thanks
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,466
31
473
Go on, have a guess
As a workaround: edit /etc/yum.repos.d/CentOS-Linux-PowerTools.repo and copy the [powertools] section to [PowerTools]
 

splaquet

Well-Known Member
Sep 24, 2008
53
3
58
W. Hartford, CT
cPanel Access Level
Root Administrator
Twitter
i gave it a shot... and sure enough, it went through as expected. thank you kindly, sir

i realize this one's off topic. but how about removing the namespace limit on MySQL 8 tables & usernames? i installed MySQL8 (because why would I not?!) and now have the server up and ready to port over some of my personal sites, for testing and performance benchmarking.

BUT (note the BIG BUT?), due to DB/username character limitations (set by cPanel i'd assume?), there are a few hiccups with the export/import process.

i also had to run this in mysql:
Code:
SET GLOBAL log_bin_trust_function_creators = 1;
and then this on my .sql import file:
Code:
sed -i 's/NO_AUTO_CREATE_USER//' mydump.sql