G M wrote:
> Just tried on my 2.1 test box and it seems to work, but take care that I was 
> already running 0.90-0, so it maybe fails with previous vers.
> I got an error during Upgrade error:
> rpm -Uvh clamav-0.90.2-0.endian5.i386.rpm 
> clamav-db-0.90.2-0.endian5.i386.rpm
> Preparing...                ########################################### 
> [100%]
>    1:clamav-db              warning: /usr/share/clamav/daily.cvd created as 
> /usr/share/clamav/daily.cvd.rpmnew
> ########################################### [ 50%]
>    2:clamav                 ########################################### 
> [100%]
> error: %postun(clamav-0.90.1-0.endian6.i386) scriptlet failed, exit status 
> 127
> 
> maybe while trying to remove an old package that does not exists ??
> not a linux expert


Hmm... in the SPEC file I'm using post is just this

%post
grep -qEe "/var/log/clamav/clamd\.log" /etc/syslog.conf || \
     echo "local4.*       /var/log/clamav/clamd.log" >> /etc/syslog.conf
if [ -e /var/run/syslogd.pid ]; then
     kill -HUP $(cat /var/run/syslogd.pid)
fi
touch /var/log/clamav/clamd.log
chmod 644 /var/log/clamav/*.log
exit 0

Which is really just making sure the logging is good. Maybe Peter added 
something to their SPEC file when the did 0.90+ [I assume you got it 
from the BUGS site.]

For those that missed it there is was a exchange on the bug site that 
includes updates for clamav, efw-clamav, amavis for Endian 2.1

http://bugs.endian.it/view.php?id=117

I suggest reading it. I understand that there is a new HAVP out [0.86] 
which I'm going to build now against clamav 0.90.2 and post shortly.

-Mike


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Efw-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/efw-user

Reply via email to