return error when the package do not exists.