exit if packages cannot be installed