server:~# dpkg -P avast4server --force-remove-reinstreq
dpkg: error processing avast4server (--purge):
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
dpkg - warning: ignoring request to remove --force-remove-reinstreq which isn't installed.
Errors were encountered while processing:
avast4server
that what are come out .. In this case it also error and error again .. what suppose i do now..
just do what it says - reinstall the avast4 server. does it claim other requirements? fullfillthem (libavastengine). some segfault during these ops? locate the segfault and get rid of it (= replace the segfaulting stuff with something benign).
well, packages can went wrong way and repairing the database might be annoying task, but - just fix what it reports as broken, step-by-step...
regards,
pc