Project

General

Profile

Actions

Bug #35290

closed

Katello rpm search via nvra also

Added by Pavel Moravec over 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Repositories
Target version:
Fixed in Releases:
Found in Releases:

Description

Allow searching of RPM packages via NVRA also. That helps cases where filename does not follow NVRA pattern and thus nvra search fails to find the package.

Particular example (yet more confusing):

  1. rpm qp --queryformat '%{NAME}-{RELEASE}.%{ARCH}\n' ./google-chrome-stable_current_x86_64.rpm 2>/dev/null
    google-chrome-stable-103.0.5060.134-1.x86_64 #

searching "google-chrome-stable-103.0.5060.134-1.x86_64" fails. BUT, for the more confusion, searching "google-chrome-stable-103.0.5060.134-1" succeeds (as sourcerpm is google-chrome-stable-103.0.5060.134-1.src.rpm and scoped search checks sourcerpm but not nvra).

Actions

Also available in: Atom PDF