sudo eopkg check
will display all packages OK or Broken
sudo eopkg check | grep Broken
will display all Broken packages
sudo eopkg check | grep Broken | awk '{print $4}' | xargs sudo eopkg it --reinstal
will reinstall all the Broken packages.
@andiskufi when you have time, try to do these commands to get the idea how they work.