Were you on-line at the time you tried to repair?
If yes and that didn’t work, then uninstall avast, reboot, install avast agsin and reboot.