There may be common errors that can happen when using Software distribution to perform OTA upgrades, which can be due to multiple reasons. Please see the steps below for a step by step approach to troubleshoot and fix this error.
Step-by-step guide
Make sure that the Target version is set to the version you are upgrading to, if it is NOT the right version you will most probably get the error
Please review the MG90 /oMG release notes on the right upgrade step, or transitional upgrade step, and please pay more attention if your current software release on the MG90 is 4.1.x, 4.2.0 or 4.2.1 because these releases will require a transitional software
Here is the link for the release notes on Sierra Source
https://source.sierrawireless.com/resources/airlink/software_reference_docs/release-notes/mg-release-notes/#sthash.K7u7mkUS.dpbs
Check if the device is in sync, by navigating the AMM menu to Configuration →Configuration Control and setting the state to "In Sync"
Please check article named (how to set the AMM repository state to sync for an oMG/MG90 device)
This issue (firmware installation failed) can also be attributed to a timeout in the download process because of a slower cellular (or WAN) link, you can workaround this by setting the timeout to a longer value, by Navigating the LCI to General tab →Auto Software Updates and setting the "(Download Timeout (seconds)" to a higher value (i.e. 2500 Seconds) and clicking "Submit".