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:
Vaclav Mocek <[log in to unmask]>
Reply To:
Vaclav Mocek <[log in to unmask]>
Date:
Mon, 4 Apr 2011 20:52:05 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (47 lines)
On 04/01/2011 03:49 PM, Orion Poplawski wrote:
> On 04/01/2011 07:06 AM, 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!
>
> You can also specify only the packages you want in the repo file, e.g.:
>
> [rpmforge-extras]
> name = Red Hat Enterprise $releasever - RPMforge.net - dag
> baseurl=http://rpmforge.cora.nwra.com/redhat/el$releasever/en/$basearch/extras/ 
>
> enabled = 1
> protect = 0
> gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
> gpgcheck = 1
> includepkgs = clam* subversion* mod_dav_svn *fuse*
>
>
Another possibility is to use plugin yum-priorities 
(yum-plugin-priorities.noarch), which basically does the same thing, but 
enable you to set priorities of all repositories.


1: sl, sl-testing, sl-updates ..
2: epel ...
3: elrepo ...
4: ....

[epel]
name=Extra Packages for Enterprise Linux 6 - $basearch
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
priority=2

BR

Vaclav M.

ATOM RSS1 RSS2