Leftover .el7 packages after elevate to AlmaLinux

Aug 7, 2012
17
2
128
cPanel Access Level
Root Administrator
I recently elevated my server from CentOS 7.9 to AlmaLinux 8, but running dnf list | grep el7 returns approx 692 packages that mostly come from imunify360. I do not use Imunify (the server runs ClamAV) in any shape or form.

Is it safe to remove these packages?

Specifically the reason why I want to get rid of these old packages is because I can't run `dnf upgrade` due to this error:
Code:
Error:
Problem: package alt-libcurlssl11-7.84.0-1.el7.x86_64 requires alt-nghttp2, but none of the providers can be installed
  - cannot install the best update candidate for package alt-libcurlssl11-7.71.0-2.el7.x86_64
  - nothing provides python needed by alt-nghttp2-1.48.0-1.el7.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
EDIT: This might have been a bug in the cpanel/elevate script. After running the imunify360 uninstall script from here: https://support.cpanel.net/hc/en-us/articles/360053263973-How-do-I-uninstall-Imunify360- I have a much more manageable 48 packages that matches el7.
 
Last edited:
Aug 7, 2012
17
2
128
cPanel Access Level
Root Administrator
That's fine, I just wasn't sure whether these packages needed to be installed even if the server was not running Imunify :)

I was able to successfully run the uninstall script and replace all the old el7 packages, as far as I can tell everything is working fine! I ran the updater in WHM and ticked the "force reinstall" box just to be double dog sure that everything that needed to be in place was in place.

If possible, please pass on my kudos and appreciation to the dev team for the elevate script - the only issues I ran into during elevation itself was due to problems with leapp (upstream), I'm really happy that I was able to upgrade without having to go through the whole song and dance with provisioning a new server and moving everything over, etc :D
 
  • Like
Reactions: cPRex