Installing composer packages results in the following error: The checksum verification of the file failed
The issue happens because of the package checksum in your system cache and checksum on the remote repository are different.
To resolve this problem run the following command, before rerunning the regular composer command which is throwing the issue.
composer clearcache |