In newer versions of yum, this information is stored in "yumdb" when the package is installed. This is the only 100% accurate way to get information, and you can use:
yumdb search from_repo repoid
(or repoquery and grep - do not print grep yum). However, the find-repos-of-install command was part of yum-utils for a while, which was best guessed without this information:
http://james.fedorapeople.org/yum/commands/find-repos-of-install.py
As Floyd said, a lot of repos. include the unique "dist" tag in their release, and you can search for it ... however, from what you said, I think this is not the case for you?
James Antill Feb 08 '11 at 15:31 2011-02-08 15:31
source share