Unable to update clamav

Hi all
I’m still unable to update clamav (using VirtualMin update or ssh):

[root@london ~]# yum update Loaded plugins: fastestmirror Determining fastest mirrors * base: mirror.netrino.co.uk * extras: mirror.netrino.co.uk * updates: mirror.netrino.co.uk base | 2.1 kB 00:00 base/primary_db | 2.2 MB 00:00 extras | 2.1 kB 00:00 extras/primary_db | 260 kB 00:00 updates | 1.9 kB 00:00 updates/primary_db | 725 kB 00:00 virtualmin | 951 B 00:00 virtualmin/primary | 88 kB 00:00 virtualmin 347/347 virtualmin-bleed | 951 B 00:00 virtualmin-bleed/primary | 33 kB 00:00 virtualmin-bleed 168/168 virtualmin-universal | 951 B 00:00 virtualmin-universal/primary | 17 kB 00:00 virtualmin-universal 139/139 Setting up Update Process Resolving Dependencies --> Running transaction check --> Processing Dependency: libclamav.so.6()(64bit) for package: clamd --> Processing Dependency: libclamav.so.6()(64bit) for package: clamav --> Processing Dependency: libclamav.so.6(CLAMAV_PRIVATE)(64bit) for package: clamd --> Processing Dependency: libclamav.so.6(CLAMAV_PRIVATE)(64bit) for package: clamav --> Processing Dependency: libclamav.so.6(CLAMAV_PUBLIC)(64bit) for package: clamd --> Processing Dependency: libclamav.so.6(CLAMAV_PUBLIC)(64bit) for package: clamav --> Processing Dependency: clamav = 0.97.2-1.el5.rf for package: clamd ---> Package clamav.x86_64 0:0.97.2-1.vm.el5 set to be updated --> Processing Dependency: data(clamav) for package: clamav --> Running transaction check --> Processing Dependency: clamav = 0.97.2-1.el5.rf for package: clamd ---> Package clamav-data.x86_64 0:0.97.2-1.vm.el5 set to be updated --> Processing Dependency: clamav-filesystem = 0.97.2-1.vm.el5 for package: clamav-data ---> Package clamav-lib.x86_64 0:0.97.2-1.vm.el5 set to be updated --> Running transaction check --> Processing Dependency: clamav = 0.97.2-1.el5.rf for package: clamd ---> Package clamav-filesystem.x86_64 0:0.97.2-1.vm.el5 set to be updated --> Processing Dependency: fedora-usermgmt for package: clamav-filesystem --> Running transaction check --> Processing Dependency: clamav = 0.97.2-1.el5.rf for package: clamd ---> Package fedora-usermgmt.noarch 0:0.9-1.el5 set to be updated --> Processing Dependency: fedora-usermgmt-core = 0.9-1.el5 for package: fedora-usermgmt --> Processing Dependency: instance(fedora-usermgmt) for package: fedora-usermgmt --> Processing Dependency: setup(fedora-usermgmt) for package: fedora-usermgmt --> Running transaction check --> Processing Dependency: clamav = 0.97.2-1.el5.rf for package: clamd ---> Package fedora-usermgmt-core.noarch 0:0.9-1.el5 set to be updated ---> Package fedora-usermgmt-default-fedora-setup.noarch 0:0.9-1.el5 set to be updated ---> Package fedora-usermgmt-shadow-utils.noarch 0:0.9-1.el5 set to be updated --> Processing Dependency: /usr/bin/freshclam for package: virtualmin-base --> Restarting Dependency Resolution with new changes. --> Running transaction check --> Processing Dependency: clamav = 0.97.2-1.el5.rf for package: clamd ---> Package clamav-update.x86_64 0:0.97.2-1.vm.el5 set to be updated --> Finished Dependency Resolution clamd-0.97.2-1.el5.rf.x86_64 from installed has depsolving problems --> Missing Dependency: clamav = 0.97.2-1.el5.rf is needed by package clamd-0.97.2-1.el5.rf.x86_64 (installed) Error: Missing Dependency: clamav = 0.97.2-1.el5.rf is needed by package clamd-0.97.2-1.el5.rf.x86_64 (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

Please, note that I disabled rpmforge and centsplus repos.
I’m using an updated VirtualMin version, CentOS 5.6 on a 1768MB VPS.
Please, help!
Thank you.

Well, you’re getting a number of errors like this:

clamd-0.97.2-1.el5.rf.x86_64 from installed has depsolving problems
–> Missing Dependency: clamav = 0.97.2-1.el5.rf is needed by package clamd-0.97.2-1.el5.rf.x86_64 (installed)

That suggests that you have the RPMForge version of ClamAV installed, which clashes with the Virtualmin version.

In order to update that, you’d need to first remove the conflicting version you have installed. You’d then be able to install the Virtualmin version.

-Eric

Hello.
Thank you for replying.

I will try to “yum remove clamav*”, update, and re-enble rpmforge repos.

However, I’ve no idea about how avoid further conflicts once I re-enabled rpmforge repos…

However, I’ve no idea about how avoid further conflicts once I re-enabled rpmforge repos…

Well, you really can’t :slight_smile:

Having RPMForge enabled alongside the Virtualmin repository is known to cause problems.

The only way around that is to use the includepkgs and excludepkgs options in the .repo files to have it pull in just the packages you need from RPMForge.

-Eric

Well, you really can’t :slight_smile:

That’s really a good information :slight_smile:

As usual, thank you very much for helping me!

Cheers…

Carlo