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