X-packagename and check version before delete package