What I miss in yum.conf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Fri, 2005-05-20 at 07:59 +0200, Petr Kl?ma wrote:
> Is there an chance how to include an package from "checking" of repository?
> 
> I can do exclude, but especialy from so big repositories as DAG I want 
> include just a that few which are interesting for me.
> 
> Is there any way how to do it?
> 
> [dag]
> name=Dag RPMs for RHEL-3
> exclude=mozilla*
> baseurl=http://apt.sw.be/redhat/el3/en/$basearch/dag

Yep. You can use the includepkgs directives. Example to include the
madwifi packages from a repo (e.g. ATrpms), you would do add the
following line:

includepkgs=*madwifi*

This should work for the version of yum that comes with Centos 4. Based
on the man page from yum.conf from Centos 3.4, it doesn't appear to be
supported.

Hope that helps,

-- 
Sean


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux