Zypper search result ordering with overlapping package names
18.5K reputation · 01 Jan 2021, 02:54 UTC
When managing software repositories in openSUSE Leap or Tumbleweed, the zypper search command is used to filter packages by name or description. In environments where multiple active repositories contain packages with overlapping or identical names, the tool must determine the priority and sequence of the returned list.
Because Zypper streams results to the terminal rather than providing a paginated API, the order of these results is critical for identifying which repository is providing the primary candidate for installation.
Technical Uncertainty
It is unclear if the result ordering is strictly governed by the repository priority settings defined in zypper lr or if other metadata factors influence the sequence when names overlap across different sources.
- Does the search output consistently prioritize packages from higher-priority repositories?
- What determines the sort order for packages with identical names across repositories of the same priority level?