Packaging methods should not be used for this requirement. You should be using some system automation tools like Ansible or Puppet or Chef to make that transaction complete smoothly.

Openshift uses Ansible for their cluster upgrades.