Page 1 of 1

Clamav, Webmin and Yum update problem

Posted: Fri Mar 27, 2009 12:19 pm
by mdtiberi
I am attempting to yum update package libxslt.x86_64 but run into dependency errors with clam. The issue is that I installed ARTS clam packages in favor of Webmin's. Installed packages are:

[root@ns1 ~]# rpm -qa clam*
clamav-db-0.94.2-3.el5.art
clamav-0.94.2-3.el5.art
clamd-0.94.2-3.el5.art

when I run yum update I get the following errors:

Resolving Dependencies
--> Running transaction check
---> Package libxslt.x86_64 0:1.1.17-2.el5_2.2 set to be updated
---> Package clamav-server.x86_64 0:0.94.2-1.vm.el5 set to be updated
--> Processing Dependency: data(clamav) for package: clamav-server
--> Processing Dependency: clamav-filesystem = 0.94.2-1.vm.el5 for package: clamav-server
--> Processing Dependency: init(clamav-server) for package: clamav-server
--> Processing Dependency: clamav-lib = 0.94.2-1.vm.el5 for package: clamav-server
--> Processing Dependency: clamd >= 0.92.1-2 for package: asl
--> Running transaction check
---> Package clamav-data.x86_64 0:0.94.2-1.vm.el5 set to be updated
---> Package clamav-filesystem.x86_64 0:0.94.2-1.vm.el5 set to be updated
---> Package clamav-server-sysv.x86_64 0:0.94.2-1.vm.el5 set to be updated
--> Processing Dependency: clamd >= 0.92.1-2 for package: asl
---> Package clamav-lib.x86_64 0:0.94.2-1.vm.el5 set to be updated
--> Processing Conflict: clamav-filesystem conflicts clamav > 0.94.2-1.vm.el5
--> Finished Dependency Resolution
Error: clamav-filesystem conflicts with clamav > 0.94.2-1.vm.el5
Error: Missing Dependency: clamd >= 0.92.1-2 is needed by package asl

The thing is that none of the clam vm packages are installed yet the dependencies are there. So what to do? Rebuild the rpm database? remove ARTS clam packages, install vm's packages then update and reinstall ART? At a loss, thanks.

Re: Clamav, Webmin and Yum update problem

Posted: Fri Mar 27, 2009 1:10 pm
by scott
whose packages are .vm? Sounds like they use a conflicting design

Re: Clamav, Webmin and Yum update problem

Posted: Fri Mar 27, 2009 1:25 pm
by mdtiberi
They are webmin/virtualmins packages

Re: Clamav, Webmin and Yum update problem

Posted: Fri Mar 27, 2009 1:52 pm
by scott
Gotcha, you might need to exclude and remove those .vm packages for the time being. Until we can see what their design is.

Re: Clamav, Webmin and Yum update problem

Posted: Fri Mar 27, 2009 2:48 pm
by mdtiberi
None of the .vm packages are actually installed from what I can see with rpm-qa. How do I go about excluding the .vm dependencies from a yum update?

Re: Clamav, Webmin and Yum update problem

Posted: Fri Mar 27, 2009 3:37 pm
by mdtiberi
ok, got it:

yum update --exclude=*.vm.el5

worked fine, didn't know you could do this.

Thanks

Re: Clamav, Webmin and Yum update problem

Posted: Sat Mar 28, 2009 11:40 am
by scott
you could add exclude=clam* to that .repo file too