check_broken_packages function

Check Broken Packages