Ok, uninstalled avast, rebooted, reinstalled and rebooted again and now the errors are gone.

And all seems well.