( SOLVED ) Problem installing avast4server

i downloaded the deb package from the avast site.

from synaptic i obtain this

t is impossible to install or remove any software. Please use the package manager “Synaptic” or run “sudo apt-get install -f” in a terminal to fix this issue at first.

from the terminal if i do apt-get install -f i obtain this error message and there is no way to solve…

blackdiamond@blackdiamond-desktop:~$ sudo -i
root@blackdiamond-desktop:~# apt-get install -f
Reading package lists… Done
Building dependency tree
Reading state information… Done
Correcting dependencies… Done
The following packages will be REMOVED:
avast4server
0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database … 205535 files and directories currently installed.)
Removing avast4server …
.: 93: Can’t open /etc/sysconfig/avastd
dpkg: error processing avast4server (–remove):
subprocess pre-removal script returned error exit status 2
.: 93: Can’t open /etc/sysconfig/avastd
invoke-rc.d: initscript avastd, action “restart” failed.
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
avast4server
E: Sub-process /usr/bin/dpkg returned an error code (1)

there is no way to remove it…others with the same problem? thanks from Italy

no one? there is no way to remove or to reinstall! ??? ??? ???

and obviously i can’t install other packages… >:( or upgrade… >:( >:(

I solved in this way

sudo gedit /var/lib/dpkg/status

in the document i find this

Package: avast4workstation
Status: install ok installed
Priority: extra
Section: alien
Installed-Size: 22144
Maintainer: root root@sinclair
Architecture: i386
Version: 1.0.8-2
Depends: libc6 (>= 2.3.2.ds1-21)
Description: avast! antivirus
avast! is an antivirus package that lets you do both on-demand and
on-access scanning. It combines excellent detection rates with
high speed and superior stability of the antivirus engine.
.
(Converted from a rpm package by alien version 8.52.)

and i cut it, then save and i solve the problem!!!
now the update manager works again!
this on ubuntu hardy
bye and thanks