Red Hat Training

A Red Hat training course is available for Red Hat Satellite

34.44. Method: isNvreInstalled

Description

Check if the package with the given NVRE is installed on given system.

Parameters

The following parameters are available for this method:

  • string sessionKey
  • int serverId
  • string name - Package name
  • string version - Package version
  • string release - Package release
Returns

The following return values are available for this method:

  • 1 if package exists, 0 if not, and an exception is thrown if an error occurs