Only deactivate the repo, leave packages installed
If u remove the packages before upgrade it will fail