LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   help with rpmforge on centos (https://www.linuxquestions.org/questions/linux-newbie-8/help-with-rpmforge-on-centos-687180/)

JRink 11-29-2008 09:23 PM

help with rpmforge on centos
 
I'm trying to install RPMForge on Centos5.2. I'm following the directions at: http://wiki.centos.org/AdditionalRes...ories/RPMForge


The directions say...
Edit the .repo files in /etc/yum.repos.d/ and set up priorities by adding the line:

priority=N

to a repository entry, where N is an integer number from 1 to 99.

The recommended settings are:

[base], [addons], [updates], [extras] ... priority=1
[centosplus],[contrib] ... priority=2
Third Party Repos such as rpmforge ... priority=N (where N is > 10 and based on your preference)

... I'm not sure I understand what it's asking me to do. I have (2)files in my /etc/yum.repos.d/ directory. CentOS-Base.repo and CentOS-Media.repo. I'm not sure if there should be more? If not, what priorities do I set on each one? Can someone supply a sample file to look at so I can better understand this?

jstephens84 11-29-2008 11:46 PM

try making the base priority a 2 and the media a priority a 12. Then just adjust the number until it works to your liking.


All times are GMT -5. The time now is 10:20 PM.