Guys, what is the best way of arranging the repos with regards to their priority? Any ideas, especially for all non base ones?
/etc/yum.repos.d/CentOS-Base.repo - priority = 1, 2
/etc/yum.repos.d/atrpms.repo
/etc/yum.repos.d/epel.repo
/etc/yum.repos.d/kbs-extras.repo /etc/yum.repos.d/kbs-misc.repo
/etc/yum.repos.d/rpmforge.repo
How would we position dags repo?
On 2/27/09, Linux Advocate linuxhousedn@yahoo.com wrote:
Guys, what is the best way of arranging the repos with regards to their priority? Any ideas, especially for all non base ones?
/etc/yum.repos.d/CentOS-Base.repo - priority = 1, 2
/etc/yum.repos.d/atrpms.repo
/etc/yum.repos.d/epel.repo
/etc/yum.repos.d/kbs-extras.repo /etc/yum.repos.d/kbs-misc.repo
/etc/yum.repos.d/rpmforge.repo
How would we position dags repo?
Check out this URL: http://wiki.centos.org/PackageManagement/Yum/Priorities
replies below...
On 2/27/09, Linux Advocate wrote:
Guys, what is the best way of arranging the repos with regards to their priority? Any ideas, especially for all non base ones?
/etc/yum.repos.d/CentOS-Base.repo - priority = 1, 2
/etc/yum.repos.d/atrpms.repo
/etc/yum.repos.d/epel.repo
/etc/yum.repos.d/kbs-extras.repo /etc/yum.repos.d/kbs-misc.repo
/etc/yum.repos.d/rpmforge.repo
How would we position dags repo?
Check out this URL: http://wiki.centos.org/PackageManagement/Yum/Priorities
have read it previously, the issue is
"Third Party Repos ... priority=N (where N is > 10 and based on your preference)"
i just wanted to get an idea of what other were doing, like for example, between the epel, dag, rpmforge, atrpm repos? any thoughts? or we do adjust the priorities according to various installation needs?
On Fri, Feb 27, 2009 at 9:09 AM, Lanny Marcus lmmailinglists@gmail.com wrote:
On 2/27/09, Linux Advocate linuxhousedn@yahoo.com wrote:
Guys, what is the best way of arranging the repos with regards to their priority? Any ideas, especially for all non base ones?
/etc/yum.repos.d/CentOS-Base.repo - priority = 1, 2
/etc/yum.repos.d/atrpms.repo
/etc/yum.repos.d/epel.repo
/etc/yum.repos.d/kbs-extras.repo /etc/yum.repos.d/kbs-misc.repo
/etc/yum.repos.d/rpmforge.repo
How would we position dags repo?
Check out this URL: http://wiki.centos.org/PackageManagement/Yum/Priorities
I'm not sure that was the question. I think the OP wants to know in what order he should prioritize all those repos. To which I say: What the heck do you need that many repos for in the first place? Mixing third party repos is usually problematic, even if properly prioritized. It becomes a dependency nightmare.
If you really need those repos, I would install them, but configure them with "enabled=0" and manually enable them on the yum command line only when needed.
Perhaps a little background would help. What services do you need from all of those repos? Are you running a do-everything desktop machine, or servers? Have you considered virtualization as a way to isolate the instances where third party packages are needed?
On Fri, Feb 27, 2009 at 9:09 AM, Lanny Marcus wrote:
On 2/27/09, Linux Advocate wrote:
Guys, what is the best way of arranging the repos with regards to their priority? Any ideas, especially for all non base ones?
/etc/yum.repos.d/CentOS-Base.repo - priority = 1, 2
/etc/yum.repos.d/atrpms.repo
/etc/yum.repos.d/epel.repo
/etc/yum.repos.d/kbs-extras.repo /etc/yum.repos.d/kbs-misc.repo
/etc/yum.repos.d/rpmforge.repo
How would we position dags repo?
Check out this URL: http://wiki.centos.org/PackageManagement/Yum/Priorities
I'm not sure that was the question. I think the OP wants to know in what order he should prioritize all those repos. To which I say: What the heck do you need that many repos for in the first place? Mixing third party repos is usually problematic, even if properly prioritized. It becomes a dependency nightmare.
If you really need those repos, I would install them, but configure them with "enabled=0" and manually enable them on the yum command line only when needed.
Perhaps a little background would help. What services do you need from all of those repos? Are you running a do-everything desktop machine, or servers? Have you considered virtualization as a way to isolate the instances where third party packages are needed?
jeff, your questions have created some clarity for me.
Linux Advocate wrote on Fri, 27 Feb 2009 06:52:13 -0800 (PST):
/etc/yum.repos.d/atrpms.repo
/etc/yum.repos.d/epel.repo
/etc/yum.repos.d/kbs-extras.repo /etc/yum.repos.d/kbs-misc.repo
/etc/yum.repos.d/rpmforge.repo
you can put rpmforge at 10 and epel and atrpms somewhere at 20, depends on what you need. I use rpmforge for maybe 98% of my extra packages on CentOS 5 and used EPEL and atrpms only for a few special packages, so i have them not enabled normally. I think I don't use kbs at all. I used it for CentoS 4, but for 5 I think rpmforge is better and I got the impression that Karanbir is pushing people towards it, anyway.
Kai
on 2-27-2009 10:31 AM Kai Schaetzl spake the following:
Linux Advocate wrote on Fri, 27 Feb 2009 06:52:13 -0800 (PST):
/etc/yum.repos.d/atrpms.repo
/etc/yum.repos.d/epel.repo
/etc/yum.repos.d/kbs-extras.repo /etc/yum.repos.d/kbs-misc.repo
/etc/yum.repos.d/rpmforge.repo
you can put rpmforge at 10 and epel and atrpms somewhere at 20, depends on what you need. I use rpmforge for maybe 98% of my extra packages on CentOS 5 and used EPEL and atrpms only for a few special packages, so i have them not enabled normally. I think I don't use kbs at all. I used it for CentoS 4, but for 5 I think rpmforge is better and I got the impression that Karanbir is pushing people towards it, anyway.
Kai
You can also set the "includepkgs=" line on the more obscure repos to only show the stuff that you install from there. That is what I did with atrpms, since I only get dovecot from there.
Thanx kal, and to all who replied. i have understood the issue better.
/etc/yum.repos.d/atrpms.repo
/etc/yum.repos.d/epel.repo
/etc/yum.repos.d/kbs-extras.repo /etc/yum.repos.d/kbs-misc.repo
/etc/yum.repos.d/rpmforge.repo
you can put rpmforge at 10 and epel and atrpms somewhere at 20, depends on what you need. I use rpmforge for maybe 98% of my extra packages on CentOS 5 and used EPEL and atrpms only for a few special packages, so i have them not enabled normally. I think I don't use kbs at all. I used it for CentoS 4, but for 5 I think rpmforge is better and I got the impression that Karanbir is pushing people towards it, anyway.
Kai
On 2/27/09, Linux Advocate linuxhousedn@yahoo.com wrote:
Guys, what is the best way of arranging the repos with regards to their priority? Any ideas, especially for all non base ones?
/etc/yum.repos.d/CentOS-Base.repo - priority = 1, 2
/etc/yum.repos.d/atrpms.repo
/etc/yum.repos.d/epel.repo
There have been some threads on this list, in the past, about EPEL. If I were going to use it, probably it would have the lowest priority, to protect my box. This comment may start a flame war, but I suggest you read the archives, to understand the possible issues that may be involved, if you use EPEL.
/etc/yum.repos.d/kbs-extras.repo /etc/yum.repos.d/kbs-misc.repo
/etc/yum.repos.d/rpmforge.repo
How would we position dags repo?