If you get the package is broken, I would as a matter of course try a repair and if it still reports package broken, try a reboot. The final step a reinstall - uninstall, reboot, install, reboot.
A repair will validate avast and try to rectify any problem it might find (it may not find a problem), so successful repair report should resolve a package is broken, but nothing in life is guaranteed (except ***** and taxes) so you may have to take other steps.
There really are too many permutations to what may cause a package is broken, I'm just an avast user like you and I'm not privy to those.