On Tue, Sep 23, 2008 at 01:54:20AM -0400, John wrote:
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of fred smith Sent: Monday, September 22, 2008 10:09 PM To: 'CentOS mailing list' Subject: Re: [CentOS] Update troubles for wxGTK apps
On Mon, Sep 22, 2008 at 08:19:37PM -0400, John wrote:
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of fred smith Sent: Monday, September 22, 2008 7:59 PM To: CentOS mailing list Subject: Re: [CentOS] Update troubles for wxGTK apps
<snip> <snip/>
So what's the proper workaround here? As far as I'm concerned, Dag has broken the update system on our Centos boxes. Is there any other way to allow my system to be updated than to disable using Dag's repo?
(not including removing Audacity--which I don't use a LOT, but I do use it.)
################################################### JohnStanley Writes:
Sure is, just use yum prioritys so when you do yum update it will exclude "DAGS-Repo". Just follow the tutorial on wiki.centos.org.
I've had that set up ever since I first added any repositories. I've got it set to a priority of 10, is there a better value to use?
# Name: RPMforge RPM Repository for Red Hat Enterprise 5 - dag # URL: http://rpmforge.net/ [rpmforge] name = Red Hat Enterprise $releasever - RPMforge.net - dag #baseurl = http://apt.sw.be/redhat/el5/en/$basearch/dag mirrorlist = http://apt.sw.be/redhat/el5/en/mirrors-rpmforge #mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge enabled = 1 protect = 0 gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag gpgcheck = 1 priority=10
JohnStanley Writes:
Where "protect = 0" in the above needs to be protect = 1 for all centos repos so then yum want pull in Updates from other repos that will break your install ans the centos repos need the highest priority. You may have to experiment with both installed, also however they may be conflicting against each other also. Therefor you may have to remove one. I know yum prioritys set to 1 in CentOSBase.repo will exclude any other repo when running yum update
This should help you understand it more, http://wiki.centos.org/PackageManagement/Yum/Priorities. Also there is the Protect Base yum pluging, http://wiki.centos.org/PackageManagement/Yum/ProtectBase.
HTH you, JohnStanley
Thanks John for the info.
As far as I know I'm NOT using the protect feature/plugin. I purposely set up priorities back when I first installed Centos5 and purposely did NOT set up the protect stuff. I read the documentation on the wiki about it and decided that priorities made a lot more sense.
here's the first part of yum output, wherein it says nothing about any protections other than via priority:
Loading "priorities" plugin Loading "fastestmirror" plugin Loading mirror speeds from cached hostfile * pidgin: rpm.pidgin.im * rpmforge: ftp-stud.fht-esslingen.de * base: updates.interworx.info * updates: mirror.trouble-free.net * addons: mirrors.unbornmedia.com * extras: mirror.trouble-free.net Excluding Packages in global exclude list Finished 412 packages excluded due to repository priority protections Setting up Update Process Resolving Dependencies
I've got priorities in CentOS-Base.repo set to 1 except for centosplus and contrib which are 2. pidgin.repo has all three items set to priority of 40, and rpmforge.repo is set to 10.
Anybody see anything wrong with that?