How to check if yum tool is in latest version?

Description

You cannot proceed with scan/deployment if yum tool is not up-to-date. You can see the error message The version of YUM is lower than the required version. This process will be reinitiated in the next agent refresh cycle or try again after 20 minutes during a scan or deployment process.

Steps

The following steps will help in resolution:
Run the below mentioned command to check if the yum tool is up-to-date,
sudo yum --color=never --disableplugin=subscription-manager,search-disabled-repos --help | grep assumeno. By running the command, all the patches and dependency packages will be listed. This shows that the yum tool is in latest version. Else it needs to be upgraded.

Steps to upgrade

  • The tool gets automatically updated when the agent contacts the server during 90 minute refresh cycle, wait for the agent to complete the yum version upgrade internally.
  • You can also manually upgrade yum by running the command sudo yum install yum.

Once done, scan/deployment will be successful.

Kindly contact support for any queries.