Este conteúdo não está disponível no idioma selecionado.

Chapter 25. Namespace: packages


Methods to retrieve information about the Packages contained within this server.
Namespace: packages

25.1. Method: findByNvrea

Description

Looks up the details for packages with the given name, version, release, architecture label, and optionally epoch.

Parameters

The following parameters are available for this method:

  • 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 and if the epoch is null or there is only one NVRA combination, the NVRA combination is returned (Empty string is recommended)
  • string archLabel
Returns

The following return values are available for this method:

  • array:
    • struct - package
      • string name
      • string version
      • string release
      • string epoch
      • int id
      • string arch_label
      • string path - The path on that file system that the package resides
      • string provider - The provider of the package, determined by the gpg key it was signed with
      • dateTime.iso8601 last_modified
Voltar ao topo
Red Hat logoGithubredditYoutubeTwitter

Aprender

Experimente, compre e venda

Comunidades

Sobre a documentação da Red Hat

Ajudamos os usuários da Red Hat a inovar e atingir seus objetivos com nossos produtos e serviços com conteúdo em que podem confiar. Explore nossas atualizações recentes.

Tornando o open source mais inclusivo

A Red Hat está comprometida em substituir a linguagem problemática em nosso código, documentação e propriedades da web. Para mais detalhes veja o Blog da Red Hat.

Sobre a Red Hat

Fornecemos soluções robustas que facilitam o trabalho das empresas em plataformas e ambientes, desde o data center principal até a borda da rede.

Theme

© 2025 Red Hat