Re: yum.conf for FC3?

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

 




On Tue, 16 Nov 2004, Eric Tanguy wrote:

> Ok but i have a problem with yum (i'm in fc2) : i have some packages
> from at and newrpms (about 20) and all others are from fedora, dag and
> freshrpms. In standard, i comment the part concerning at and newrpms
> repo in /etc/yum.conf and do night updates with yum. But when i want to
> update the packages from at and newrpms, i have to uncomment the part
> concerning these repos and i have to launch yum update followed by the
> names of the 20 packages. i can't just launch yum update because in this
> case a lot of fedora, dag and freshrpms packages would be updated too.
> Is there a mean to do this simplier in fc2 and will it be possible in
> fc3.

You can avoid the 'edit' step before doing the updates by doing the
following: (on FC2)

cp /etc/yum.conf /etc/yum.conf.at-newrpms
uncomment 'at, newrpms in /etc/yum.conf.at-newrpms
Now to do the updates for these packages - you do (perhaps with an alias)
yum -c /etc/yum.conf.at-newrpms update pkg1 pkg2 etc...

With yum-2.1 (FC3) - this is possible with
yum --enablerepo=atrpms --enablerepo=newrpms update

And in the repository listing for these - you'll specify the
specific packages you want with:

includepkgs=pkg1,pkg2,...

Satish



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux