When updating licenses the following error is displayed:
Failed to install licenses. Unexpected Error occurred.
The error message above indicates that the license file is corrupt, and the Palo Alto Networks devices cannot install this license file automatically.
Refresh the page and the licenses should now be correct.