Red Hat Training

A Red Hat training course is available for Red Hat Satellite

34.45. Method: isNvreInstalled

Description

Is the package with the given NVRE 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
  • string epoch - Package epoch
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