How to fix has sum mismatch error in cydia?

To fix the mismatch error in Cydia try rebooting the jailbroken iPhone and restart the Cydia.