ARTIFACTORY: Upgrading Artifactory 6.x to 7.x Using the YUM Package Manager

Disha Meswania
2023-01-22 11:08

Subject

When using a YUM package manager, an upgrade from Artifactory 6.x to 7.x fails with aNothing to domessage as per below:

$ yum install jfrog-artifactory-pro-
Nothing to do.

This occurs because YUMdoes not recognize7.x as an upgrade over 6.x with YUM repository due to a change in architecture from "noarch" in Artifactory v6.x to "x86_64" in Artifactory v7.x.

Note: This behavior will not occur when you try to upgrade from 7.x to 7.x as the architecture is same.

Resolution

As a workaround, we can download the artifact and upgrade using rpm:

yumdownloader jfrog-artifactory-pro-
rpm -Uvh jfrog-artifactory-pro-.rpm

Note:yumdownloaderis part ofyum-utils(i.e., you may need to installyum-utilsbefore downloadingyumdownloader)