SOLVED dnf-plugin-universal-hooks cannot be installed on Almalinux

kyazici

Registered
Jun 25, 2022
4
1
3
Birleşik Krallık
cPanel Access Level
Root Administrator
Hi there,
I was trying to upgrade my Centos 7 cloud to Almalinux.But I stacked at Stage 4.
After run /usr/local/cpanel/scripts/sysup command, I have the error below

info [sysup] ea4: repo already installed
checkyum version 22.3 (excludes: bind-chroot)
checkyum version 22.3 (excludes: bind-chroot kernel)
Last metadata expiration check: 1:23:03 ago on Wed Jul 5 19:16:15 2023.
No match for argument: dnf-plugin-universal-hooks
Error: Unable to find a match: dnf-plugin-universal-hooks
(XID 7nb8ec) “/usr/bin/yum” reported error code “1” when it ended:
E Sysup: Needed system packages were not installed: dnf-plugin-universal-hooks
I have tried to install dnf-plugin-universal-hooks but I could not find a way.
I would be glad if you help.
 

kyazici

Registered
Jun 25, 2022
4
1
3
Birleşik Krallık
cPanel Access Level
Root Administrator
I have tried and still get same error when try to continue this
/scripts/elevate-cpanel --continue


* 2023-07-05 22:52:29 (4088) [INFO] Running: /usr/bin/dnf -y --allowerasing update
* 2023-07-05 22:52:29 (4089) [INFO]
* 2023-07-05 22:52:29 (4102) [INFO] Last metadata expiration check: 0:00:35 ago on Wed Jul 5 22:51:54 2023.
* 2023-07-05 22:52:30 (4102) [INFO] Dependencies resolved.
* 2023-07-05 22:52:30 (4102) [INFO] Nothing to do.
* 2023-07-05 22:52:30 (4102) [INFO] Complete!
* 2023-07-05 22:52:30 (4119) [INFO]
* 2023-07-05 22:52:30 (4088) [INFO] Running: /usr/local/cpanel/scripts/sysup
* 2023-07-05 22:52:30 (4089) [INFO]
* 2023-07-05 22:52:30 (4102) [INFO] checkyum version 22.3 (excludes: bind-chroot)
* 2023-07-05 22:52:30 (4102) [INFO] checkyum version 22.3 (excludes: bind-chroot kernel)
* 2023-07-05 22:52:35 (4102) [INFO] AlmaLinux 8 - PowerTools 2.5 MB/s | 3.0 MB 00:01
* 2023-07-05 22:52:35 (4102) [INFO] Last metadata expiration check: 0:00:01 ago on Wed Jul 5 22:52:32 2023.
* 2023-07-05 22:52:35 (4102) [INFO] No match for argument: dnf-plugin-universal-hooks
* 2023-07-05 22:52:35 (4102) [INFO] Error: Unable to find a match: dnf-plugin-universal-hooks
* 2023-07-05 22:52:35 (4102) [INFO] (XID vjvmyz) �/usr/bin/yum� reported error code �1� when it ended:
* 2023-07-05 22:52:35 (4102) [INFO] E Sysup: Needed system packages were not installed: dnf-plugin-universal-hooks
* 2023-07-05 22:52:35 (4119) [INFO]
* 2023-07-05 22:52:35 (4026) [INFO] Sending notification: Failed to update to AlmaLinux 8
* 2023-07-05 22:52:35 (4031) [ERROR] The elevation process failed during stage 4.
* 2023-07-05 22:52:35 (4031) [ERROR]
* 2023-07-05 22:52:35 (4031) [ERROR] You can continue the process after fixing the errors by running:
* 2023-07-05 22:52:35 (4031) [ERROR]
* 2023-07-05 22:52:35 (4031) [ERROR] /usr/local/cpanel/scripts/elevate-cpanel --continue
* 2023-07-05 22:52:35 (4031) [ERROR]
* 2023-07-05 22:52:35 (4031) [ERROR] You can check the error log by running:
* 2023-07-05 22:52:35 (4031) [ERROR]
* 2023-07-05 22:52:35 (4031) [ERROR] /usr/local/cpanel/scripts/elevate-cpanel
* 2023-07-05 22:52:35 (4031) [ERROR]
* 2023-07-05 22:52:35 (4031) [ERROR] Last Error:
* 2023-07-05 22:52:35 (4031) [ERROR]
* 2023-07-05 22:52:35 (4031) [ERROR] command failed. Fix it and run command. at /usr/local/cpanel/scripts/elevate-cpanel line 4083.
* 2023-07-05 22:52:35 (5135) [FATAL] command failed. Fix it and run command. at /usr/local/cpanel/scripts/elevate-cpanel line 4083.
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
17,470
2,843
363
cPanel Access Level
Root Administrator
It looks like the Yum configuration for the EasyApache 4 repository was updated to be hard-coded to use the CentOS 7 packages, and that was causing the conflict. When replaced with the default configuration of:

Code:
mirrorlist=http://httpupdate.cpanel.net/ea4-c$releasever-$basearch-mirrorlist
things began working normally.