only remove and install the package if one is available