You should not have to remove clam, just upgrade. that's what the "U" means in rpm -Uhv packagename

Then restart qmail with qmailctl restart





senthil vel wrote:
Dear List,
I am in need to update the clamav toaster. While searching the archives, i found two set of procedures.

first one is

/# rpmbuild --rebuild --with $DIST clamav-toaster-xxxxxx.src.rpm
# qmailctl stop
# rpm -e clamav-toaster
# rpm -Uhv /usr/src/redhat/RPMS/$ARCH/clamav-toaster*.rpm
# /var/qmail/bin/simscanmk -g

# qmailctl start/


another one is
cd /tmp/
wget 
http://qmailtoaster.com/download/stable/clamav-toaster-0.96.0-1.3.35.src.rpm

rpmbuild --rebuild --with cnt40 clamav-toaster-0.96.0-1.3.35.src.rpm
cd /usr/src/redhat/RPMS/i386/
rpm -qa|grep clamav-toaster
qmailctl stop
rpm -e --nodeps clamav-toaster-0.92.1-1.3.17
rpm -Uhv clamav-toaster-*.rpm

freshclam
qmailctl stat


In my server, i have compiled the new package without any problem. Only confusion is after installing the new rpm, what command to run ///var/qmail/bin/simscanmk -g// or freshclam. Please suggest the exact procedure.


Thanks a ton in advance.
Regards,
S.Senthilvel




---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
     If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
    Please visit qmailtoaster.com for the latest news, updates, and packages.
To unsubscribe, e-mail: [email protected]
    For additional commands, e-mail: [email protected]


Reply via email to