Description of problem:
Everytime, the system updates clamav packages, this messages comes out:
"LibClamAV Warning: Detected duplicate databases /var/lib/clamav/bytecode.cvd and /var/lib/clamav/bytecode.cld, please manually remove one of them"
Both files belong to a clamav package, but they are mutal exclusive:
# rpm -qf /var/lib/clamav/bytecode.cvd
clamav-data-0.103.2-1.fc33.noarch
# rpm -qf /var/lib/clamav/bytecode.cld
clamav-update-0.103.2-1.fc33.x86_64
this is going on for years now, time to solve it finally :)
Version-Release number of selected component (if applicable):
clamav-data-0.103.2-1.fc33.noarch
clamav-update-0.103.2-1.fc33.x86_64
How reproducible:
easy
Steps to Reproduce:
Install both packages
run clamscan /tmp/
Actual results:
LibClamAV Warning: Detected duplicate databases /var/lib/clamav/bytecode.cvd and /var/lib/clamav/bytecode.cld, please manually remove one of them
/tmp/.apachestartuplog: OK
/tmp/lua_QQpw4E: OK
/tmp/pakete: OK
/tmp/files: OK
/tmp/warning: OK
Expected results:
only one of those bytecode databases any any given time on the system.
Why do you need clamav-data package, if you are using freshclam (clamav-update)?
Does removing of clamav-data solve your problem?
Try:
dnf remove clamav-data
I guess this data package is installed since Fedora 15 and never got obsoleted while updating the os.
Wouldn't it be a good reason to obsolete clamav-data, and make clamav-update mandatory?