The message might say that an error occurred while downloading, preparing, or installing, or that the software is damaged, could not be verified, failed to personalize, or needs to be reinstalled. The cause of such messages can vary, and sometimes they're only temporary. Try these solutions.
support.apple.com