With SL5x I invoked the repository protection feature in yum. The required yum plugin was yum-protectbase.
I protected the SL repositories to keep dag and epel from messing things up. I expect that the same approach would work with SL6x. Haven't installed it yet. -- Jon Ruth Kent, Ohio On 1 Apr 2011 at 15:06, Urs Beyerle wrote: > On 04/01/2011 01:02 PM, Bluejay Adametz wrote: > > > > I keep these generally disabled and do a > > > > yum list --enablerepo=\* > > I would also strongly recommend to disable all external repos per > default! What I would do: > > 1. Install extra repo config files with > > yum install yum-conf-elrepo yum-conf-epel yum-conf-adobe > yum-conf-atrpms yum-conf-rpmforge > > 2. Disable all repos (enabled=0). But not the sl ones! > > cd /etc/yum.repos.d > find . -name "*.repo" ! -name "sl*.repo" -exec sed -i.bak > "s|^enabled.*|enabled=0|" {} \; > > For example search now for flash-plugin: > > yum --enablerepo=\* list | grep flash-plugin > > Install flash-plugin > > yum --enablerepo=rpmforge install flash-plugin > > One important remark: > > If you have disabled rpmforge, flash-plugin will not be updated by > > yum update > > In order to update flash-plugin you have to run > > yum --enablerepo=rpmforge update flash-plugin > > Cheers, > > Urs