Install avast-guard Error message

Hello all,

I’ve the below error message when tried to install avast-guard

[root@eglory Desktop]# rpm -i avast4guard-2.0.1-1.i586.rpm
error: %pre(avast4guard-2.0.1-1.i586) scriptlet failed, exit status 1
error: install: %pre scriptlet failed (2), skipping avast4guard-2.0.1-1
[root@eglory Desktop]#

Please help… ???

it’s hard to help if I don’t know, which distribution you use

avast4guard rpm package use PRE scriptlet to check if already installed avastguard is running during the installation
here’s what the scriptlet do:
[ -f /etc/init.d/avastguard ] && /sbin/service avastguard stop

to skip the scriptlet, simply use ‘–nopre’ switch when running ‘rpm’ command