Just as info:
Let's see.
avast is installed on W8.1 and everything is fine.
If W10 is installed and you install avast everything is fine.
Guess where the problem is...
It is the update/upgrade process from Windows that fails.
Although the update/upgrade test says everything is fine and the update/upgrade will work, I've seen it fail many times and not just if avast is installed but with many applications and/or hardware.
After the first complaints MS said "No it is not us, it is that third party software".
Hmm, ok then why did your test tool didn't report even a possible problem ?
Yup, only silence from MS about it.
The problem is that anti-malware software nowadays often protects itself rather well against changes by other software including Windows (or for that matter any OS that is used)
Ofcourse MS and avast are testing things, but it is not possible to test every software(setting)hardware combination before releasing something.
With 100's of billions of possible system configurations, it would be a real big surprise if there is none that experience a problem.