Determining the origin repository of a rpm

Paul Smith phhs80 at gmail.com
Tue Oct 18 18:10:18 UTC 2005


On 10/18/05, Mike McGrath <mmcgrath at iesabroad.org> wrote:
> > Is there some way of knowing from which repository a
> > specified rpm was installed?
>
> You can look up the name and find out whether it came from a specific
> repository type (like base or updates).  The default yum config uses
> mirrors and to the best of my knowledge there's no way to figure out
> which mirror it came from.  You wouldn't happen to be using a HTTP Proxy
> for yum would you?

Thanks, Mike. I do not want to know which was the mirror, but only the
name of the repository, i.e., livna, base, etc. If the package is not
installed and if it exists in some repository,

yum list name_of_the_package

says in which repository the package is. However, if the package is
already installed, no information about the name of the repository is
given.

Paul




More information about the fedora-list mailing list