ceejay cervantes
2008-Jun-18 19:11 UTC
[CentOS] need advise on protect base and priorities plugin
Hi, Is it not ok to use both plugins at the same time? I have read from the wiki page of centos that you must use only either protect base or priorities plugin. I have been using the the config file below for months and did not encounter any problems. I used priority=1 and protect=1 on base and updates (addons,extras protect=1 ; set no priorities) for the CentOS-Base repo and on the rpmforge repo I used protect=0 and did not set any priority. Should I enable only one (protect base or priorities) and not both? Thanks. [base] name=CentOS-$releasever - Base mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os #baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/ gpgcheck=1 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5 priority=1 protect=1 #released updates [updates] name=CentOS-$releasever - Updates mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates #baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/ gpgcheck=1 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5 priority=1 protect=1 #packages used/produced in the build but not released [addons] name=CentOS-$releasever - Addons mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=addons #baseurl=http://mirror.centos.org/centos/$releasever/addons/$basearch/ gpgcheck=1 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5 protect=1 #additional packages that may be useful [extras] name=CentOS-$releasever - Extras mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras #baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/ gpgcheck=1 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5 protect=1 #additional packages that extend functionality of existing packages [centosplus] name=CentOS-$releasever - Plus mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus #baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/ gpgcheck=1 enabled=0 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5 protect=0 Send instant messages to your online friends http://uk.messenger.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20080618/f3ba733e/attachment-0002.html>
Ross S. W. Walker
2008-Jun-18 19:18 UTC
[CentOS] need advise on protect base and priorities plugin
ceejay cervantes wrote:> Is it not ok to use both plugins at the same time?No it isn't. Use priorities (newer) as it allows more flexible control over protectbase (older). Other then that your configs look fine. -Ross ______________________________________________________________________ This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender and permanently delete the original and any copy or printout thereof.
ceejay cervantes
2008-Jun-19 08:54 UTC
[CentOS] need advise on protect base and priorities plugin
Thank you very much. ----- Original Message ---- From: Ross S. W. Walker <RWalker at medallion.com> To: CentOS mailing list <centos at centos.org> Sent: Thursday, June 19, 2008 3:18:43 Subject: RE: [CentOS] need advise on protect base and priorities plugin ceejay cervantes wrote:> Is it not ok to use both plugins at the same time?No it isn't. Use priorities (newer) as it allows more flexible control over protectbase (older). Other then that your configs look fine. -Ross ______________________________________________________________________ This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender and permanently delete the original and any copy or printout thereof. _______________________________________________ CentOS mailing list CentOS at centos.org http://lists.centos.org/mailman/listinfo/centos Send instant messages to your online friends http://uk.messenger.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20080619/f23fe62a/attachment-0002.html>
Johnny Hughes
2008-Jun-19 12:54 UTC
[CentOS] need advise on protect base and priorities plugin
ceejay cervantes wrote:> Hi, > > Is it not ok to use both plugins at the same time? I have read from the wiki page of centos that you must use only either protect base or priorities plugin. I have been using the the config file below for months and did not encounter any problems. I used priority=1 and protect=1 on base and updates (addons,extras protect=1 ; set no priorities) for the CentOS-Base repo and on the rpmforge repo I used protect=0 and did not set any priority. Should I enable only one (protect base or priorities) and not both? Thanks. >Just for the record, basically protectbase is priorities with only 2 settings (0 and 1) So, if you have both installed, protectbase will override the priorities. So, you should pick one or the other, but not both. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 251 bytes Desc: OpenPGP digital signature URL: <http://lists.centos.org/pipermail/centos/attachments/20080619/5ea5e371/attachment-0002.sig>
ceejay cervantes
2008-Jun-19 13:19 UTC
[CentOS] need advise on protect base and priorities plugin
Thanks. ----- Original Message ---- From: Johnny Hughes <johnny at centos.org> To: CentOS mailing list <centos at centos.org> Sent: Thursday, June 19, 2008 20:54:09 Subject: Re: [CentOS] need advise on protect base and priorities plugin ceejay cervantes wrote:> Hi, > > Is it not ok to use both plugins at the same time? I have read from the wiki page of centos that you must use only either protect base or priorities plugin. I have been using the the config file below for months and did not encounter any problems. I used priority=1 and protect=1 on base and updates (addons,extras protect=1 ; set no priorities) for the CentOS-Base repo and on the rpmforge repo I used protect=0 and did not set any priority. Should I enable only one (protect base or priorities) and not both? Thanks. >Just for the record, basically protectbase is priorities with only 2 settings (0 and 1) So, if you have both installed, protectbase will override the priorities. So, you should pick one or the other, but not both. Send instant messages to your online friends http://uk.messenger.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20080619/c59548de/attachment-0002.html>
D Steward
2008-Jun-20 04:24 UTC
[CentOS] need advise on protect base and priorities plugin
> Just for the record, basically protectbase is priorities with only 2 > settings (0 and 1)Thanks for this. I was wondering if you could tell me the default priority for the 'priorities' plugin? I've made a point of ensuring that *every* repo gets a priority even if disabled. I'm wondering if it is necessary.