Save PackageStates before doing anything