34.5. Method: comparePackages
Compares the packages installed on two systems.
The following parameters are available for this method:
- string
sessionKey - int
thisServerId - int
otherServerId
The following return values are available for this method:
- array:
- struct - Package Metadata
- int
package_name_id - string
package_name - string
package_arch - string
this_system- Version of package on this system - string
other_system- Version of package on the other system - int
comparison0- No difference1- Package on this system only2- Newer package version on this system3- Package on other system only4- Newer package version on other system

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.