The X means the package is completely missing, the ! means that you have a different version on your system than the one used in the script. Using the Workspace References tab (in the screenshot you shared) you can decide to install to keep your version or the version in the script. You can also download the missing package(s).