check package status before installation in packages.install().
if you prefer skip this checking, use packages.install!() instead.