Missing ClamAV after using Elevate

I thought I would attempt an in-place upgrade from CentOS 7.9 to Alma 8.7, using Alma Elevate.

This was eventually successfully completed except that ClamAV is not running and is missing from

Virtualmin > System Settings > Email Settings > Spam and Virus Scanning

I guess this is not wholly unexpected given it comes from EPEL repo. What is the best way to install ClamAV, and have it recognised by Virtualmin? I have tried

dnf install clamav clamd clamav-update

and get errors relating to missing libprelude which I assume will also need to be installed, is that as simple as?

dnf install libprelude

I don’t want to go down a hole I can’t get out of.

[root@server1 ~]# dnf install clamav clamd clamav-update
Last metadata expiration check: 0:17:02 ago on Mon 13 Mar 2023 01:33:44 PM GMT.
Error:
 Problem 1: conflicting requests
  - nothing provides libjson-c.so.2()(64bit) needed by clamav-0.103.8-3.el7.x86_64
 Problem 2: conflicting requests
  - nothing provides libjson-c.so.2()(64bit) needed by clamav-update-0.103.8-3.el7.x86_64
 Problem 3: package clamd-0.103.8-3.el7.x86_64 requires libprelude.so.28()(64bit), but none of the providers can be installed
  - conflicting requests
  - nothing provides libgnutls.so.28()(64bit) needed by libprelude-5.2.0-2.el7.x86_64
  - nothing provides libgnutls.so.28(GNUTLS_1_4)(64bit) needed by libprelude-5.2.0-2.el7.x86_64
  - nothing provides libgnutls.so.28(GNUTLS_2_10)(64bit) needed by libprelude-5.2.0-2.el7.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

Looks like you’re trying to use the EPEL repo for EL7. You need to fix that. There are EPEL repos for 7, 8, and 9.

Yay! Thanks for that Joe. All ok now.

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.