Bug 1970247 - LibClamAV Warning: Detected duplicate databases
Summary: LibClamAV Warning: Detected duplicate databases
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: clamav
Version: rawhide
Hardware: All
OS: All
unspecified
medium
Target Milestone: ---
Assignee: Sergio Basto
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-06-10 07:16 UTC by customercare
Modified: 2021-06-10 07:45 UTC (History)
14 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-06-10 07:45:57 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description customercare 2021-06-10 07:16:37 UTC
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.

Comment 1 Jan ONDREJ 2021-06-10 07:19:27 UTC
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

Comment 2 customercare 2021-06-10 07:32:16 UTC
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?


Note You need to log in before you can comment on or make changes to this bug.