On Tuesday 28 December 2021, Andrei Borzenkov wrote:
On Mon, Dec 27, 2021 at 8:20 AM Michael Hamilton <michael@actrix.gen.nz> wrote:
Problem: it doesn't contain repository information, for installations with things coming from different repos.
Rpm can report any tag.
Package repository is not in RPM metadata. Zypper simply shows you all repositories that provide a package with a given name and assumes the package comes from the repository if the installed version is the same as the version in the repository. So there is no reliable way to have it.
Sometimes the "vendor" tag contains reference to the OBS repository, but e.g. in Leap 15.3 you will see openSUSE and SUSE as vendors.
That's a useful/disturbing piece of info. I guess things kind of work, but it's something to bear in mind when I see those "with vendor change" messages.