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 -- Petr Kl?ma JIHOMILK a.s. Rudolfovsk? 246/83 370 50 ?esk? Bud?jovice Czech Rpublic phone: +420 389 136 209 e-mail: petr.klima at jihomilk.cz
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?If you're running CentOS 4, sure. yum 2.0.x doesn't support includepkgs IIRC. -- Ignacio Vazquez-Abrams <ivazquez at ivazquez.net> http://centos.ivazquez.net/ gpg --keyserver hkp://subkeys.pgp.net --recv-key 38028b72 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://lists.centos.org/pipermail/centos/attachments/20050520/9c146dbb/attachment-0004.sig>
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/dagYep. 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