Whichever you’re experiencing, you’ll probably fix it with one or more methods below. The path /System/Installation/Packages/OSinstall.mpkg appears to be missing or damaged. And below “macOS could not be installed on your computer” you’re prompted with more details, it could be one of the followings: You may probably encounter this error when reinstalling your macOS, installing updates or even just turn on your Mac.
Roll your sleeves up to follow this guide to troubleshoot the problem on your Mac. If you’re on macOS, and you’re seeing the warning saying macOS could not be installed on your computer that looks like the image above, it can be super frustrating.