clamav update problem on CentOS 5.4

Hi

I wanted to update my Linux installation (yum update) and now I get the following error:

—> Package clamav-data-empty.i386 0:0.95.2-1.vm.el5 set to be updated
–> Processing Dependency: clamav-server = 0.95.2-1.vm.el5 for package: clamav-server-sysv
—> Package clamd.i386 0:0.96-1.el5.rf set to be updated
–> Processing Dependency: clamav = 0.96-1.el5.rf for package: clamd
—> Package perl-Compress-Raw-Bzip2.i386 0:2.024-1.el5.rf set to be updated
—> Package perl-Compress-Raw-Zlib.i386 0:2.024-1.el5.rf set to be updated
–> Processing Dependency: /usr/bin/freshclam for package: virtualmin-base
–> Finished Dependency Resolution
virtualmin-base-1.0-61.rh.noarch from installed has depsolving problems
–> Missing Dependency: /usr/bin/freshclam is needed by package virtualmin-base-1.0-61.rh.noarch (installed)
clamd-0.96-1.el5.rf.i386 from rpmforge has depsolving problems
–> Missing Dependency: clamav = 0.96-1.el5.rf is needed by package clamd-0.96-1.el5.rf.i386 (rpmforge)
clamav-server-sysv-0.95.2-1.vm.el5.i386 from installed has depsolving problems
–> Missing Dependency: clamav-server = 0.95.2-1.vm.el5 is needed by package clamav-server-sysv-0.95.2-1.vm.el5.i386 (installed)
Error: Missing Dependency: clamav-server = 0.95.2-1.vm.el5 is needed by package clamav-server-sysv-0.95.2-1.vm.el5.i386 (installed)
Error: Missing Dependency: clamav = 0.96-1.el5.rf is needed by package clamd-0.96-1.el5.rf.i386 (rpmforge)
Error: Missing Dependency: /usr/bin/freshclam is needed by package virtualmin-base-1.0-61.rh.noarch (installed)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest

Any suggestions what I can do? Tried already skip-broken, and the package-cleanup things.

Best regards
Ivan

It looks like you have the RPMForge/DAG repository enabled.

Unfortunately, the packages from it conflict with those in the Virtualmin repository.

You could disable that repo, or you could use the “includepkgs” line in the .repo file in order to pull down just the packages you require.

-Eric

Hi Eric,

I’ve been having the same issue with clamav for a couple of weeks now and it seems I don’t have Dag enabled. Ideas?

Dave

[admin@cserver ~]$ yum repolist
Loaded plugins: fastestmirror, priorities
repo id repo name status
addons CentOS-5 - Addons enabled: 0
base CentOS-5 - Base enabled: 2,535
epel Extra Packages for Enterprise Linux 5 - i386 enabled: 4,257
extras CentOS-5 - Extras enabled: 327
pgdg83 PostgreSQL 8.3 5 - i386 enabled: 234
updates CentOS-5 - Updates enabled: 710
virtualmin Red Hat Enterprise 5 - i386 - Virtualmin enabled: 258
virtualmin-universal Virtualmin Distribution Neutral enabled: 102
repolist: 8,423

Howdy,

Well, let us know what specific error you’re getting… but, if you’re using any non-standard repos (including the epel one you mentioned), and they include ClamAV in their repository, that could potentially cause a conflict.

-Eric

This seems to be a common problem with virtualmin and centos. i have been trying for quite some time now to update the installed version to the latest clamav without any success.

i think the only way to do it is to uninstall all and any precompiled versions that virtualmin installs and install anew from source. that way i will have full control over any future updates that will need to be done.