Del Merritt wrote:
Dag's FAQ at:

   http://dag.wieers.com/rpm/FAQ.php#D2

says:

   Most repositories should already work well together. If you do find
   a problem, the best thing to get this fixed is by reporting this to
   both repository maintainers. If it is a genuine problem, it will be
   fixed promptly.

   The repositories I mix myself are: FreshRPMS, Dries, NewRPMS and
   PlanetCCRMA.

I'm an apt-get user, and I'd like to have the "most complete" set of pointers to repositories that is reasonable. Dag's mix sounds good to me :-)

this is very obsolete info in terms of the repos.
Since you're using centos you should rather refer to:
http://wiki.centos.org/AdditionalResources/Repositories

I personally use rpmforge, with an occasional package from ATrpms or EPEL.

your current config seems good for centos + rpmforge, for each new repo that you want to use you should add a file in /etc/apt/sources.list.d/ such as:
$ cat /etc/apt/sources.list.d/kbsingh-CentOS-Extras.list
# rebuild of fedora extras from centos.karan.org
# repomd http://centos.karan.org/ el$(VERSION)/extras/stable/$(ARCH)/RPMS/
# repomd http://centos.karan.org/ el$(VERSION)/extras/testing/$(ARCH)/RPMS/

(single line for each repomd entry, uncomment if you want to use the repo, and I think KBS currently only has stuff in testing for centos5).

BUT:

<snip>
Sort of a related questions: in general I haven't been using yum, just because I prefer using apt. yum has an extension that supports a set of "priorities" that I don't completely comprehend. Does apt support "priorities"? Does it even need them? How do you properly configure yum so that, if you *have* to use it for some reason, you won't confuse/trash apt in the future?

you should definetely assign a priority to each repo, to avoid them stepping on each other's toes.
This is called pinning in apt.
As soon as you start mixing repos you should use it, whether with apt or yum doesn't change anything to the problem. To avoid any problems when occasionally using yum, I would recommend having only OS repos configured in yum. Since your OS repos should have highest priority anyways, it shouldn't mess up anything for apt.

apt pinning is tricky to configure (or poorly documented), I started a thread a while ago on this list for help doing it, and ended up posting a working example.
Let's see... here it is:
http://lists.rpmforge.net/pipermail/users/2008-June/001646.html


HTH,
Nicolas

PS: best wishes to all for 2009!
_______________________________________________
users mailing list
[email protected]
http://lists.rpmforge.net/mailman/listinfo/users

Reply via email to