SCIENTIFIC-LINUX-USERS Archives

April 2011

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Reply To:
Date:
Fri, 1 Apr 2011 10:18:10 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (57 lines)
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

ATOM RSS1 RSS2