You can fix these errors by downloading the media creation tool for windows 10, download it, run it, and choose "upgrade now." Google the tool.
And you can still do a clean install if you upgraded from an activated copy of windows 7, 8, or 8.1 to win 10, just choose to skip the product key when doing the clean install and windows will be activated after you finish the installation.