Do a repair first, then try to uninstall.

Why do you want to uninstall Avast anyway?