Preupgrade Assistant and Upgrade Tool; choose target OS version

Latest response

Hi Redhat Community,

Because you always upgrade to the latest RHEL 6 packages with the latest Preupgrade Assistant version before running it, there seems to be no control over which version of the OS you upgrade to. Last month I was still able to upgrade to RHEL 7.2, but now I'm forced to upgrade to RHEL 7.3. The same issue would exist if you want to upgrade to RHEL 7.3, when RHEL 7.4 would be released. Then the upgrade tool would likely force us to upgrade to RHEL 7.4. For our software we would provide support for it running on RHEL 7.3, but not for RHEL 7.4.

Is there a way to select what version of RHEL you upgrade to with the Preupgrade Assistant and the Redhat Upgrade Tool?

# redhat-upgrade-tool --network 7.2 --instrepo http://yum.linux.example.com/iso/rhel-server-7.2/rhel-server-7.2-x86_64-dvd/ --cleanup-post --addrepo rhel-7-optional=http://yum.linux.example.com/repos/rhel-x86_64-server-optional-7/
...
You are trying to upgrade on system 7.2 which is not allowed.
Preupgrade-assistant assess the system for upgrade to 7.3 version

Responses

Hi Peter, how do you solve this problem at last?

Hi, Please downgrade your preupgrade assistant rpm that support RHEL 7.3 upgrade.

Hi,How to downgrade the preupgrade assistant rpm?

I had a vendor app that required 7.3 - I used the following rpms:

6.8 to 7.3
----------
preupgrade-assistant-2.3.3-2.el6.noarch.rpm
preupgrade-assistant-el6toel7-data-0.20170218-1.el6.noarch.rpm  
redhat-upgrade-tool-0.7.48-1.el6.noarch.rpm
preupgrade-assistant-el6toel7-0.6.66-3.el6.noarch.rpm  
preupgrade-assistant-ui-2.3.3-2.el6.noarch.rpm
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.