I am installing the ClamAV package from Dag''s depository. Is it possible to configure Yum to get specific packages only from a particular depository? The reason that I ask this is that I do not want to get any updates from http://dag.wieers.com/packages other than for the particular packages that I install from there. I would love to be able to run yum update and pick up the new clamav packages but not if this also means updating things like webmin as well. -- *** e-mail is not a secure channel *** mailto:byrnejb.<token>@harte-lyne.ca James B. Byrne Harte & Lyne Limited vox: +1 905 561 1241 9 Brockley Drive fax: +1 905 561 0757 Hamilton, Ontario <token> = hal Canada L8E 3C3
James B. Byrne wrote:> I am installing the ClamAV package from Dag''s depository. Is it > possible to configure Yum to get specific packages only from a > particular depository? The reason that I ask this is that I do not > want to get any updates from http://dag.wieers.com/packages other > than for the particular packages that I install from there. I > would love to be able to run yum update and pick up the new clamav > packages but not if this also means updating things like webmin as > well.Sorry, I''m not helping, but just adding a "me too" to this question. I would like to selectively add packages from other repos without getting ALL of their updates. Right now I for clam I manually fetch dag''s package when a new version comes out. I sure would like an answer to this question. Thanks, Ajay
On Fri, 2005-03-04 at 16:45 -0500, James B. Byrne wrote:> I am installing the ClamAV package from Dag''s depository. Is it > possible to configure Yum to get specific packages only from a > particular depository? The reason that I ask this is that I do not > want to get any updates from http://dag.wieers.com/packages other > than for the particular packages that I install from there. I > would love to be able to run yum update and pick up the new clamav > packages but not if this also means updating things like webmin as > well.Just leave "enabled=0" in the section for dag and pass "--enablerepo=dag" to yum to temporarily enable it for when you want/need it. -- Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> http://centos.ivazquez.net/ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.caosity.org/pipermail/centos/attachments/20050304/feb40a6f/attachment.bin
Ignacio Vazquez-Abrams wrote:>On Fri, 2005-03-04 at 16:45 -0500, James B. Byrne wrote: > > >>I am installing the ClamAV package from Dag''s depository. Is it >>possible to configure Yum to get specific packages only from a >>particular depository? The reason that I ask this is that I do not >>want to get any updates from http://dag.wieers.com/packages other >>than for the particular packages that I install from there. I >>would love to be able to run yum update and pick up the new clamav >>packages but not if this also means updating things like webmin as >>well. >> >> > >Just leave "enabled=0" in the section for dag and pass >"--enablerepo=dag" to yum to temporarily enable it for when you >want/need it. > >Just to be clear, combine Ignacio''s technique with yum update <pgkname> to do what your describing. You could also technically do this with every single yum config so you would have to enable each repo explicitly if you wanted to ultimate in flexiblity (and annoyance). Jonathan
On Fri, 04 Mar 2005 18:08:36 -0500, Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> wrote:> On Fri, 2005-03-04 at 16:45 -0500, James B. Byrne wrote: > > I am installing the ClamAV package from Dag''s depository. Is it > > possible to configure Yum to get specific packages only from a > > particular depository? The reason that I ask this is that I do not > > want to get any updates from http://dag.wieers.com/packages other > > than for the particular packages that I install from there. I > > would love to be able to run yum update and pick up the new clamav > > packages but not if this also means updating things like webmin as > > well. > > Just leave "enabled=0" in the section for dag and pass > "--enablerepo=dag" to yum to temporarily enable it for when you > want/need it.I have two yum confs. One with just the standard repositories and one with extras and dags, etc. When want to install or update something from the other repositories I run a basic script that looks like this. yum -c /etc/yum-extra.conf $1 $2
On Fri, 2005-03-04 at 18:08 -0500, Ignacio Vazquez-Abrams wrote:> On Fri, 2005-03-04 at 16:45 -0500, James B. Byrne wrote: > > I am installing the ClamAV package from Dag''s depository. Is it > > possible to configure Yum to get specific packages only from a > > particular depository? The reason that I ask this is that I do not > > want to get any updates from http://dag.wieers.com/packages other > > than for the particular packages that I install from there. I > > would love to be able to run yum update and pick up the new clamav > > packages but not if this also means updating things like webmin as > > well. > > Just leave "enabled=0" in the section for dag and pass > "--enablerepo=dag" to yum to temporarily enable it for when you > want/need it. >man yum.conf look at the includepkgs option. you can specify which packages you want to use from a repository. -sv
> Sorry, I''m not helping, but just adding a "me too" to this question. I > would like to selectively add packages from other repos without getting > ALL of their updates. > > Right now I for clam I manually fetch dag''s package when a new version > comes out. I sure would like an answer to this question.includepkgs - per repo configuration. just list pkg names (or even wildcards) you want. [myrepo] includepkgs=foo bar* baz* -sv