dnf-plugin-universal-hooks cannot be installed on Almalinux
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
[QUOTE]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.
I have tried to install dnf-plugin-universal-hooks but I could not find a way. I would be glad if you help.
-
Hey there! Can you run the following commands on the system and then see if "yum update" works well? yum clean all yum makecache
0 -
I have tried and still get same error when try to continue this /scripts/elevate-cpanel --continue [QUOTE]* 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. 0 -
Could you submit a support ticket to our team so we can take a look at this? 0 -
Ok, I am going to do that. 0 -
Let me know the ticket number once you've done that so I can follow along! 0 -
Let me know the ticket number once you've done that so I can follow along!
Ticket id is #95087474 Cheers0 -
Thanks for that - I'm following along with that on my end now. 0 -
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: mirrorlist=http://httpupdate.cpanel.net/ea4-c$releasever-$basearch-mirrorlist
things began working normally.0
Please sign in to leave a comment.
Comments
8 comments