Yum Question

seth vidal skvidal at linux.duke.edu
Sat Dec 2 21:42:04 UTC 2006


On Sat, 2006-12-02 at 16:33 -0500, Janina Sajka wrote:
> I want to configure yum to only retrieve kernels from a particular
> repository--and none other--because I want to insure my installed
> kernels always provide a certain module not provided by Fedora itself.
> Reading the yum.conf man page suggests to me that putting:
> 
> kernelpkgnames=kernel-*spk
> 
> in the relevant [repo-name].repo file/stanza might accomplish this.
> However, the man page also says, "This is really only here for the
> updating of kernel packages and should be removed out in the yum 2.1
> series." -- 
> 
> Is this correct? Is there some other way to insure kernels only come
> from a particular repo?
> 
> Thanks in advance for all suggestions.

Easiest ways to make sure certain packages only come from a specific
repo is just to exclude those packages from all other repos.

-sv





More information about the fedora-devel-list mailing list