build Clamav Error

savas

Verified User
Joined
Jul 20, 2020
Messages
7
Hello trying to install ClamAV to Centos 8 / D.A.
cd /usr/local/directadmin/custombuild
./build update
./build set clamav yes
./build clamav
and getting:
Code:
Error:
 Problem 1: conflicting requests
  - nothing provides libjson-c.so.4(JSONC_0.14)(64bit) needed by clamav-0.103.7-1.el8.x86_64
 Problem 2: package clamd-0.103.7-1.el8.x86_64 requires libclamav.so.9()(64bit), but none of the providers can be installed
  - package clamd-0.103.7-1.el8.x86_64 requires libclamav.so.9(CLAMAV_PUBLIC)(64bit), but none of the providers can be installed
  - package clamd-0.103.7-1.el8.x86_64 requires libclamav.so.9(CLAMAV_PRIVATE)(64bit), but none of the providers can be installed
  - package clamd-0.103.7-1.el8.x86_64 requires clamav-lib = 0.103.7-1.el8, but none of the providers can be installed
  - conflicting requests
  - nothing provides libjson-c.so.4(JSONC_0.14)(64bit) needed by clamav-lib-0.103.7-1.el8.x86_64
 Problem 3: package clamav-update-0.103.7-1.el8.x86_64 requires libclamav.so.9()(64bit), but none of the providers can be installed
  - package clamav-update-0.103.7-1.el8.x86_64 requires libclamav.so.9(CLAMAV_PUBLIC)(64bit), but none of the providers can be installed
  - package clamav-update-0.103.7-1.el8.x86_64 requires libclamav.so.9(CLAMAV_PRIVATE)(64bit), but none of the providers can be installed
  - package clamav-update-0.103.7-1.el8.x86_64 requires clamav-lib = 0.103.7-1.el8, but none of the providers can be installed
  - conflicting requests
  - nothing provides libjson-c.so.4(JSONC_0.14)(64bit) needed by clamav-lib-0.103.7-1.el8.x86_64
: Any solution to fix?
 
Hello,

Try and update OS first with yum update and then repeat it again.
 
Hello,

Try and update OS first with yum update and then repeat it again.
everything is up to date...
Code:
[root@server custombuild]# yum update
Last metadata expiration check: 0:21:12 ago on Mon Dec  5 08:41:02 2022.
Dependencies resolved.
Nothing to do.
Complete!
[root@server custombuild]#
 
Im using what im using
It makes no sense to pull an dead horse, like @jamgames2 suggest its wise to drop EOL software otherwise you will face problems.
There is an upgrade script that upgrades your Centos8 to Almalinux (or Rockylinux) 8 without worries.
If your programs works with Centos8 you can safely update to other system as well
 
Im using what im using :) and looking solution to fix the problem no afense...

There is no solution for CentOS 8, unless you compile ClamAV from sources. The OS should be updated as already mentioned earlier here.
 
Is there a solution if you're already running CloudLinux 8.5? I'm having similar issues with building clamav

Error:
Problem 1: conflicting requests
- nothing provides libjson-c.so.4(JSONC_0.14)(64bit) needed by clamav-0.103.7-1.el8.x86_64
Problem 2: cannot install the best candidate for the job
- nothing provides libjson-c.so.4(JSONC_0.14)(64bit) needed by clamav-lib-0.103.7-1.el8.x86_64
Problem 3: package clamd-0.103.7-1.el8.x86_64 requires clamav-lib = 0.103.7-1.el8, but none of the providers can be installed
- cannot install the best candidate for the job
- nothing provides libjson-c.so.4(JSONC_0.14)(64bit) needed by clamav-lib-0.103.7-1.el8.x86_64
Problem 4: package clamav-update-0.103.7-1.el8.x86_64 requires clamav-lib = 0.103.7-1.el8, but none of the providers can be installed
- cannot install the best candidate for the job
- nothing provides libjson-c.so.4(JSONC_0.14)(64bit) needed by clamav-lib-0.103.7-1.el8.x86_64
Problem 5: package clamav-devel-0.103.7-1.el8.x86_64 requires clamav-lib = 0.103.7-1.el8, but none of the providers can be installed
- cannot install the best candidate for the job
- nothing provides libjson-c.so.4(JSONC_0.14)(64bit) needed by clamav-lib-0.103.7-1.el8.x86_64
Problem 6: package clamd-0.103.5-1.el8.x86_64 requires clamav-filesystem = 0.103.5-1.el8, but none of the providers can be installed
- problem with installed package clamd-0.103.5-1.el8.x86_64
- cannot install both clamav-filesystem-0.103.7-1.el8.noarch and clamav-filesystem-0.103.5-1.el8.noarch
- package clamd-0.103.7-1.el8.x86_64 requires clamav-lib = 0.103.7-1.el8, but none of the providers can be installed
- cannot install the best candidate for the job
- nothing provides libjson-c.so.4(JSONC_0.14)(64bit) needed by clamav-lib-0.103.7-1.el8.x86_64
Problem 7: package clamav-update-0.103.5-1.el8.x86_64 requires clamav-filesystem = 0.103.5-1.el8, but none of the providers can be installed
- cannot install both clamav-filesystem-0.103.7-1.el8.noarch and clamav-filesystem-0.103.5-1.el8.noarch
- problem with installed package clamav-update-0.103.5-1.el8.x86_64
- package clamav-data-0.103.7-1.el8.noarch requires clamav-filesystem = 0.103.7-1.el8, but none of the providers can be installed
- package clamav-update-0.103.7-1.el8.x86_64 requires clamav-lib = 0.103.7-1.el8, but none of the providers can be installed
- cannot install the best candidate for the job
- nothing provides libjson-c.so.4(JSONC_0.14)(64bit) needed by clamav-lib-0.103.7-1.el8.x86_64
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
 
Back
Top