Hi, I am using the yum priorities plugin and, for some reason, it is blocking all rpmforge updates, even for already installed rpmforge packages... I have priority=1 for CentOS repos. Is it the 'normal' behavior or is something wrong in my conf? Thx, JD
John Doe wrote:> Hi, > > I am using the yum priorities plugin and, for some reason, it is blocking all rpmforge > updates, even for already installed rpmforge packages... > I have priority=1 for CentOS repos. > Is it the 'normal' behavior or is something wrong in my conf?If CentOS repos are 1 and rpmforge is 2 (or higher), then yes it will PROTECT the CentOS repo from updated from rpmforge. This is the behavior regardless of if where the installed packages are from. If rsync is in both CentOS and RPMForge ... you will always get rsync from CentOS with yum (even if you manually installed the rsync from RPMForge ... yum will still use the one from the CentOS repos) If you want to get a file from RPMForge and not a REPO that has a priority number that is lower (ie 1 vs 2 in this case), then in the higher priority repo, you need to add an "exclude=" line in the CentOS-Base.repo file for that repo (in this case, in the base and updates sections). You would put this: exclude=rsync -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 252 bytes Desc: OpenPGP digital signature URL: <http://lists.centos.org/pipermail/centos/attachments/20090901/a5242413/attachment-0001.sig>
Hi, On Tue, Sep 1, 2009 at 09:07, John Doe<jdmls at yahoo.com> wrote:> I am using the yum priorities plugin and, for some reason, it is blocking all rpmforge > updates, even for already installed rpmforge packages...If you mean "blocking updates for already installed rpmforge packages that also exist in the main distro which is configured with a higher priority (lower number)", then yes, that is the expected from the priorities plugin. If you want to override packages that exist in the main distro and use the ones from a lower priority (higher number) repository instead, you should add "exclude=..." lines in the definitions of the base repos to be able to pick those from the other repo instead. HTH, Filipe
On Tue, Sep 1, 2009 at 7:07 AM, Johnny Hughes<johnny at centos.org> wrote:> John Doe wrote:> If CentOS repos are 1 and rpmforge is 2 (or higher), then yes it will > PROTECT the CentOS repo from updated from rpmforge. ?This is the > behavior regardless of if where the installed packages are from. ?If > rsync is in both CentOS and RPMForge ... you will always get rsync from > CentOS with yum (even if you manually installed the rsync from RPMForge > ... yum will still use the one from the CentOS repos) > > If you want to get a file from RPMForge and not a REPO that has a > priority number that is lower (ie 1 vs 2 in this case), then in the > higher priority repo, you need to add an "exclude=" line in the > CentOS-Base.repo file for that repo (in this case, in the base and > updates sections). ?You would put this: > > exclude=rsyncTo the OP, This is all well documented in the CentOS wiki. http://wiki.centos.org/AdditionalResources/Repositories http://wiki.centos.org/AdditionalResources/Repositories/RPMForge http://wiki.centos.org/PackageManagement/Yum/Priorities Akemi