Welcome, Guest
Please Login or Register.
Lost Password?
ClamAV wont update (1 viewing)
Post Reply

TOPIC: ClamAV wont update

#9321
SteveHeinsch (User)
Posts: 81
graphgraph
ClamAV wont update 2007/12/30 15:45  
I tried to update clamav via virtualmin and got an error, which isnt obvious from the message:

Now updating clamav ..

Installing package(s) with command yum -y install clamav ..

Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package clamav.x86_64 0:0.92-1.vm.el5 set to be updated
--> Running transaction check
--> Processing Dependency: libclamav.so.1()(64bit) for package: clamd
--> Processing Dependency: clamav = 0.88.1-2.vm for package: clamd
--> Processing Dependency: data(clamav) for package: clamav
--> Processing Dependency: clamav-lib = 0.92-1.vm.el5 for package: clamav
--> Processing Dependency: libclamav.so.3()(64bit) for package: clamav
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package clamav-lib.x86_64 0:0.92-1.vm.el5 set to be updated
---> Package clamav-data.x86_64 0:0.92-1.vm.el5 set to be updated
--> Running transaction check
--> Processing Dependency: libclamav.so.1()(64bit) for package: clamd
--> Processing Dependency: clamav = 0.88.1-2.vm for package: clamd
--> Processing Dependency: clamav-filesystem = 0.92-1.vm.el5 for package: clamav-data
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package clamav-filesystem.x86_64 0:0.92-1.vm.el5 set to be updated
--> Running transaction check
--> Processing Dependency: libclamav.so.1()(64bit) for package: clamd
--> Processing Dependency: clamav = 0.88.1-2.vm for package: clamd
--> Finished Dependency Resolution

.. install failed!


# service clamd status
clamd (pid 2937) is running...

any suggestions?
Running on CentOS4.4
Thanks

Post edited by: SteveHeinsch, at: 2007/12/30 16:01
  The administrator has disabled public write access.
#9360
siteomatic (User)
Posts: 11
graphgraph
Re:ClamAV wont update 2008/01/01 13:04  
same problem here (different output). I'm running the following:

Webmin version 1.380
Virtualmin version 3.50 (Pro)

CentOS Linux 5.1
Perl version 5.008008
Postfix version 2.3.3
BIND version 9.3.3
Apache version 2.2.3
PHP version 5
Webalizer version 2.01-10
Logrotate version 3.7.4
MySQL version 5.0.22
PostgreSQL version 8.1.9
ProFTPd version 1.31
SpamAssasssin version 3.2.3
ClamAV version 0.91.2


Now updating clamav ..

Installing package(s) with command yum -y install clamav ..

Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package clamav.i386 0:0.92-1.vm.el5 set to be updated
--> Running transaction check
--> Processing Dependency: clamav-lib = 0.92-1.vm.el5 for package: clamav
--> Processing Conflict: clamav-filesystem conflicts clamav > 0.91.2-2.vm.el5
--> Processing Dependency: libclamav.so.3 for package: clamav
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package clamav-filesystem.i386 0:0.92-1.vm.el5 set to be updated
---> Package clamav-lib.i386 0:0.92-1.vm.el5 set to be updated
--> Running transaction check
--> Processing Dependency: clamav-filesystem = 0.91.2-2.vm.el5 for package: clamav-data
--> Processing Dependency: clamav-filesystem = 0.91.2-2.vm.el5 for package: clamav-server
--> Processing Dependency: clamav-lib = 0.91.2-2.vm.el5 for package: clamav-server
--> Processing Dependency: libclamav.so.2 for package: clamav-update
--> Processing Dependency: libclamav.so.2 for package: clamav-server
--> Processing Dependency: clamav-filesystem = 0.91.2-2.vm.el5 for package: clamav-update
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package clamd.i386 0:0.92-1.el5.rf set to be updated
---> Package clamav-db.i386 0:0.92-1.el5.rf set to be updated
--> Running transaction check
--> Processing Dependency: clamav-server = 0.91.2-2.vm.el5 for package: clamav-server-sysv
--> Processing Dependency: data(clamav) for package: clamav-lib
--> Processing Dependency: data(clamav) for package: clamav
--> Processing Dependency: clamav = 0.92-1.el5.rf for package: clamd
--> Processing Dependency: /usr/bin/freshclam for package: virtualmin-base
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package clamav-data.i386 0:0.92-1.vm.el5 set to be updated
--> Running transaction check
--> Processing Dependency: clamav-server = 0.91.2-2.vm.el5 for package: clamav-server-sysv
--> Processing Dependency: clamav = 0.92-1.el5.rf for package: clamd
--> Processing Dependency: /usr/bin/freshclam for package: virtualmin-base
--> Finished Dependency Resolution

.. install failed!



I also tried to clean the Yum cache, rebuild the rpm db and tried again. Here's the direct yum output from shell:

# yum update
Loading "installonlyn" plugin
Setting up Update Process
Setting up repositories
virtualmin 100% |=========================| 951 B 00:00
virtualmin-universal 100% |=========================| 951 B 00:00
rpmforge 100% |=========================| 1.1 kB 00:00
base 100% |=========================| 1.1 kB 00:00
updates 100% |=========================| 951 B 00:00
addons 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 27 kB 00:00
################################################## 91/91
primary.xml.gz 100% |=========================| 8.5 kB 00:00
################################################## 58/58
primary.xml.gz 100% |=========================| 1.5 MB 00:04
################################################## 5911/5911
primary.xml.gz 100% |=========================| 834 kB 00:02
################################################## 2400/2400
primary.xml.gz 100% |=========================| 87 kB 00:00
################################################## 158/158
primary.xml.gz 100% |=========================| 157 B 00:00
primary.xml.gz 100% |=========================| 61 kB 00:00
################################################## 196/196
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for net-snmp-libs to pack into transaction set.
net-snmp-libs-5.3.1-19.el 100% |=========================| 27 kB 00:00
---> Package net-snmp-libs.i386 1:5.3.1-19.el5_1.3 set to be updated
---> Downloading header for clamd to pack into transaction set.
clamd-0.92-1.el5.rf.i386. 100% |=========================| 6.2 kB 00:00
---> Package clamd.i386 0:0.92-1.el5.rf set to be updated
---> Downloading header for clamav-server-sysv to pack into transaction set.
clamav-server-sysv-0.92-1 100% |=========================| 15 kB 00:00
---> Package clamav-server-sysv.i386 0:0.92-1.vm.el5 set to be updated
---> Downloading header for net-snmp to pack into transaction set.
net-snmp-5.3.1-19.el5_1.3 100% |=========================| 50 kB 00:00
---> Package net-snmp.i386 1:5.3.1-19.el5_1.3 set to be updated
---> Downloading header for clamav-filesystem to pack into transaction set.
clamav-filesystem-0.92-1. 100% |=========================| 15 kB 00:00
---> Package clamav-filesystem.i386 0:0.92-1.vm.el5 set to be updated
---> Downloading header for clamav-lib to pack into transaction set.
clamav-lib-0.92-1.vm.el5. 100% |=========================| 16 kB 00:00
---> Package clamav-lib.i386 0:0.92-1.vm.el5 set to be updated
---> Downloading header for clamav to pack into transaction set.
clamav-0.92-1.vm.el5.i386 100% |=========================| 18 kB 00:00
---> Package clamav.i386 0:0.92-1.vm.el5 set to be updated
---> Downloading header for mcstrans to pack into transaction set.
mcstrans-0.2.6-1.el5_1.1. 100% |=========================| 5.2 kB 00:00
---> Package mcstrans.i386 0:0.2.6-1.el5_1.1 set to be updated
---> Downloading header for clamav-db to pack into transaction set.
clamav-db-0.92-1.el5.rf.i 100% |=========================| 3.7 kB 00:00
---> Package clamav-db.i386 0:0.92-1.el5.rf set to be updated
--> Running transaction check
--> Processing Dependency: clamav-server = 0.92-1.vm.el5 for package: clamav-server-sysv
--> Processing Dependency: data(clamav) for package: clamav-lib
--> Processing Dependency: data(clamav) for package: clamav
--> Processing Dependency: clamav = 0.92-1.el5.rf for package: clamd
--> Processing Dependency: /usr/bin/freshclam for package: virtualmin-base
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for clamav-data to pack into transaction set.
clamav-data-0.92-1.vm.el5 100% |=========================| 15 kB 00:00
---> Package clamav-data.i386 0:0.92-1.vm.el5 set to be updated
---> Downloading header for clamav-server to pack into transaction set.
clamav-server-0.92-1.vm.e 100% |=========================| 17 kB 00:00
---> Package clamav-server.i386 0:0.92-1.vm.el5 set to be updated
--> Running transaction check
--> Processing Dependency: clamav = 0.92-1.el5.rf for package: clamd
--> Processing Dependency: /usr/bin/freshclam for package: virtualmin-base
--> Finished Dependency Resolution
Error: Missing Dependency: clamav = 0.92-1.el5.rf is needed by package clamd

Post edited by: sales@siteomatic.net, at: 2008/01/01 13:10
  The administrator has disabled public write access.
#9365
tfunk (User)
Posts: 34
graphgraph
Re:ClamAV wont update 2008/01/02 04:23  
try installing clamav manually?

goto shell and type:
yum install clamav

Now go back and do that last step you did to see if it fixed it.
  The administrator has disabled public write access.
#9400
SteveHeinsch (User)
Posts: 81
graphgraph
Re:ClamAV wont update 2008/01/02 21:53  
# yum install clamav
Setting up Install Process
Setting up repositories
virtualmin 100% |=========================| 951 B 00:00
update 100% |=========================| 951 B 00:00
base 1.1 kB 00:00
virtualmin-universal 100% |=========================| 951 B 00:00
addons 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package clamav.x86_64 0:0.92-1.vm.el5 set to be updated
--> Running transaction check
--> Processing Dependency: libclamav.so.1()(64bit) for package: clamd
--> Processing Dependency: clamav = 0.88.1-2.vm for package: clamd
--> Processing Dependency: data(clamav) for package: clamav
--> Processing Dependency: clamav-lib = 0.92-1.vm.el5 for package: clamav
--> Processing Dependency: libclamav.so.3()(64bit) for package: clamav
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package clamav-lib.x86_64 0:0.92-1.vm.el5 set to be updated
---> Package clamav-data.x86_64 0:0.92-1.vm.el5 set to be updated
--> Running transaction check
--> Processing Dependency: libclamav.so.1()(64bit) for package: clamd
--> Processing Dependency: clamav = 0.88.1-2.vm for package: clamd
--> Processing Dependency: clamav-filesystem = 0.92-1.vm.el5 for package: clamav-data
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package clamav-filesystem.x86_64 0:0.92-1.vm.el5 set to be updated
--> Running transaction check
--> Processing Dependency: libclamav.so.1()(64bit) for package: clamd
--> Processing Dependency: clamav = 0.88.1-2.vm for package: clamd
--> Finished Dependency Resolution
Error: Missing Dependency: libclamav.so.1()(64bit) is needed by package clamd
Error: Missing Dependency: clamav = 0.88.1-2.vm is needed by package clamd
  The administrator has disabled public write access.
#9439
siteomatic (User)
Posts: 11
graphgraph
Re:ClamAV wont update 2008/01/05 07:58  
This is not a standard pkg.

clamav = 0.88.1-2.vm

This is a Virtualmin pkg. Can I just simply remove the VM pkg and go with a standard Centos pkg?
  The administrator has disabled public write access.
#9450
siteomatic (User)
Posts: 11
graphgraph
Re:ClamAV wont update 2008/01/06 10:10  
From searching I found this new thread that I believe acknowledges this issue.

http://www.virtualmin.com/index.php?option=com_fireboard&Itemid=77&func=view&id=9401&catid=5#9401
  The administrator has disabled public write access.
#9490
Joe (Admin)
Posts: 3796
graph
Re:ClamAV wont update 2008/01/08 13:49  
Can I just simply remove the VM pkg and go with a standard Centos pkg?

There is no standard CentOS ClamAV package. CentOS 5 should have the latest Clam package already. CentOS 4 has some dependency issues at the moment, as I've moved to a single Clam spec for all CentOS versions (the same one that Fedora provides, with a few modifications to build on CentOS), but they should be resolved in the next day or so.
  The administrator has disabled public write access.
#9527
ihistand (User)
Posts: 14
graphgraph
Re:ClamAV wont update 2008/01/10 11:53  
Thanks for the fix on this issue, Joe/team.... My CentOS 4.6 installation updated properly today.

--Ivan
  The administrator has disabled public write access.
#9528
Joe (Admin)
Posts: 3796
graph
Re:ClamAV wont update 2008/01/10 12:27  
Thanks for the update Ivan! Finally...That was ridiculous. Sometimes I'm amazed at how ornery RPM can be about dependencies--I ended up explicitly adding both an Obsoletes (to get rid of clamd) and a Provides (to convince RPM that the clamav-server package really does provide /usr/sbin/clamd, even though it's clearly in the package). And of course, this all happened after an upgrade of mock (the cross-version build tool for RPMs) that broke building for CentOS 4 and CentOS 3. ;-)
  The administrator has disabled public write access.
#9536
siteomatic (User)
Posts: 11
graphgraph
Re:ClamAV wont update 2008/01/11 02:59  
Yup, everything is good on my Centos 5 as well. Thanks Joe!
  The administrator has disabled public write access.
Post Reply
get the latest posts directly to your desktop

Talk and Get Help

Support
Forums
Bugs and Issues

Get Virtualmin

OS Support
Buy Online
Download
Copyright 2005-2007 Virtualmin, Inc. All rights reserved.