pablostevens

Registered
Mar 6, 2018
2
0
1
Mississauga, Ontario, Canada
cPanel Access Level
Root Administrator
Can't update profiles with EasyApache4.

Updating profiles (ie: adding a new PHP option, never starts and never finishes).

I've done yum check with the following outpout:

Loaded plugins: fastestmirror, universal-hooks
32:bind-libs-9.8.2-0.62.rc1.el6_9.5.x86_64 is a duplicate with 32:bind-libs-9.8.2-0.62.rc1.el6_9.4.x86_64
ea-apr-1.5.2-9.9.1.cpanel.x86_64 is a duplicate with ea-apr-1.5.2-8.8.6.cpanel.x86_64
ea-apr-1.5.2-9.9.2.cpanel.x86_64 is a duplicate with ea-apr-1.5.2-9.9.1.cpanel.x86_64
ea-apr-util-1.5.2-13.13.12.cpanel.x86_64 is a duplicate with ea-apr-util-1.5.2-13.13.11.cpanel.x86_64
ea-apr-util-1.5.2-13.13.13.cpanel.x86_64 is a duplicate with ea-apr-util-1.5.2-13.13.12.cpanel.x86_64
ea-php70-libc-client-2007f-11.11.1.cpanel.x86_64 is a duplicate with ea-php70-libc-client-2007f-10.10.1.cpanel.x86_64
libblkid-2.17.2-12.28.el6_9.2.x86_64 is a duplicate with libblkid-2.17.2-12.28.el6_9.1.x86_64
libuuid-2.17.2-12.28.el6_9.2.x86_64 is a duplicate with libuuid-2.17.2-12.28.el6_9.1.x86_64
procps-3.2.8-45.el6_9.1.x86_64 is a duplicate with procps-3.2.8-45.el6.x86_64
samba-common-3.6.23-46el6_9.x86_64 is a duplicate with samba-common-3.6.23-45.el6_9.x86_64
samba-winbind-clients-3.6.23-46el6_9.x86_64 is a duplicate with samba-winbind-clients-3.6.23-45.el6_9.x86_64
samba-winbind-clients-3.6.23-46el6_9.x86_64 has missing requires of samba-winbind = ('0', '3.6.23', '46el6_9')
Error: check all

I've tried the:
package-cleanup --cleandupes

It doesn't get rid of the dupes. The other problem is with Samba can't update because it requires a previous version. I've tried to just yum update samba, but I get the dependency error again.

I'm kind of new to managing a VPS, can someone help me with how to clean the above mess?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Hello,

It looks like duplicate RPMs are installed on your server. For the cPanel RPMs, you can use the following command:

Code:
/scripts/autorepair fix_duplicate_cpanel_rpms
For your system RPMs, first check to see which YUM repo files you are using in the following directory:

/etc/yum.repos.d/

Are you using any custom YUM repos that do not come standard with CentOS?

Thank you.
 

pablostevens

Registered
Mar 6, 2018
2
0
1
Mississauga, Ontario, Canada
cPanel Access Level
Root Administrator
Thanks for your help. I ran the fix_duplicate command and it ran smoothly, but didn't change yum check output.

Here's the content of my yum.repos.d directory.

CentOS-Base.repo CentOS-Debuginfo.repo CentOS-fasttrack.repo CentOS-Media.repo CentOS-Vault.repo cPAddons.repo cpanel-plugins.repo EA4.repo
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Hello,

The primary issue is that your system package manager (YUM) is unable to update successfully due to multiple installations of the same RPM. You will need to remove the duplicate RPMs while ensuring the dependencies are not removed (--nodeps flag). You may want to get assistance with this from your data center or hosting provider as removing the wrong RPM can result is OS-level errors. There are threads on this topic at:

SOLVED - Can't upgrade from MySQL 5.6 to MariaDB 10.1
The server's system package manager, 'YUM', failed. !!

Thank you.
 
  • Like
Reactions: Yuval Ben-Hur

Yuval Ben-Hur

Registered
Oct 14, 2018
1
0
1
Israel
cPanel Access Level
Root Administrator
Hello,

The primary issue is that your system package manager (YUM) is unable to update successfully due to multiple installations of the same RPM. You will need to remove the duplicate RPMs while ensuring the dependencies are not removed (--nodeps flag). You may want to get assistance with this from your data center or hosting provider as removing the wrong RPM can result is OS-level errors. There are threads on this topic at:

SOLVED - Can't upgrade from MySQL 5.6 to MariaDB 10.1
The server's system package manager, 'YUM', failed. !!

Thank you.
I have the same issue, doesnt seems I have duplicated packages, but when I provision script I find this error:

frameworks.cmb.js:492 TypeError: Cannot read property 'build' of undefined
at index.cmb.min.js?locale=en&locale_revision=1574847611:32
at frameworks.cmb.js:503
at n.$eval (frameworks.cmb.js:518)
at n.$digest (frameworks.cmb.js:515)
at frameworks.cmb.js:518
at e (frameworks.cmb.js:427)
at frameworks.cmb.js:430
(anonymous) @ frameworks.cmb.js:492
(anonymous) @ frameworks.cmb.js:465
(anonymous) @ frameworks.cmb.js:503
$eval @ frameworks.cmb.js:518
$digest @ frameworks.cmb.js:515
(anonymous) @ frameworks.cmb.js:518
e @ frameworks.cmb.js:427
(anonymous) @ frameworks.cmb.js:430
setTimeout (async)
Kf.l.defer @ frameworks.cmb.js:430
$evalAsync @ frameworks.cmb.js:518
(anonymous) @ frameworks.cmb.js:502
f @ frameworks.cmb.js:503
$$resolve @ frameworks.cmb.js:505
resolve @ frameworks.cmb.js:504
(anonymous) @ frameworks.cmb.js:502
(anonymous) @ index.cmb.min.js?locale=en&locale_revision=1574847611:31
i @ frameworks.cmb.js:256
fireWith @ frameworks.cmb.js:256
A @ frameworks.cmb.js:258
(anonymous) @ frameworks.cmb.js:258
load (async)
send @ frameworks.cmb.js:258
ajax @ frameworks.cmb.js:258
s @ cjt2.whm.cmb.min.js?locale=en&locale_revision=1574847611:77
promise @ cjt2.whm.cmb.min.js?locale=en&locale_revision=1574847611:77
c.doProvision @ index.cmb.min.js?locale=en&locale_revision=1574847611:31
l @ index.cmb.min.js?locale=en&locale_revision=1574847611:32
(anonymous) @ index.cmb.min.js?locale=en&locale_revision=1574847611:32
$emit @ frameworks.cmb.js:519
x @ frameworks.cmb.js:693
$broadcast @ frameworks.cmb.js:520
(anonymous) @ frameworks.cmb.js:698
(anonymous) @ frameworks.cmb.js:503
$eval @ frameworks.cmb.js:518
$digest @ frameworks.cmb.js:515
$apply @ frameworks.cmb.js:518
(anonymous) @ frameworks.cmb.js:489
dispatch @ frameworks.cmb.js:257
q.handle @ frameworks.cmb.js:257