Chapter 25. packages
- Lookup the details for packages with the given name, version, release, architecture label, and (optionally) epoch.
- string sessionKey
- string name
- string version
- string release
- string epoch - If set to something other than empty string, strict matching will be used and the epoch string must be correct. If set to an empty string, if the epoch is null or there is only one NVRA combination, it will be returned. (Empty string is recommended.)
- string archLabel
- Return Value
- struct - package
path- The path on that file system that the package resides
provider- The provider of the package, determined by the gpg key it was signed with.