diff --git a/app/views/unattended/provisioning_templates/snippet/subscription_manager_setup.erb b/app/views/unattended/provisioning_templates/snippet/subscription_manager_setup.erb index 182f234e714..f94507f6bd6 100644 --- a/app/views/unattended/provisioning_templates/snippet/subscription_manager_setup.erb +++ b/app/views/unattended/provisioning_templates/snippet/subscription_manager_setup.erb @@ -65,7 +65,7 @@ if ! [ -x "$(command -v subscription-manager)" ] ; then else echo "subscription-manager is already installed!" <% if @subman_setup_scenario == 'registration' -%> - $PKG_MANAGER_UPGRADE subscription-manager > /dev/null 2>&1 + $PKG_MANAGER_UPGRADE --setopt=obsoletes=0 subscription-manager > /dev/null 2>&1 <% end %> fi