Nicolas Thierry-Mieg wrote:

I want to use pinning with apt on centos5, but I can't figure out the syntax. Most documentation is very debian-centric... I don't know what to use to identify my repos: Archive, Component, Origin, Label...? Basically I want my package to always come from centos if centos has it; otherwise if it's in rpmforge take it from there; and as a last resort get it in arrfab's repo, epel or other 3rd party repos. Does anybody have a working example of /etc/apt/preferences for this kind of scenario?

I don't use apt on CentOS, but you can use the yum priorities plugin for this scenario: http://wiki.centos.org/PackageManagement/Yum/Priorities

Nils Breunese.
_______________________________________________
users mailing list
[email protected]
http://lists.rpmforge.net/mailman/listinfo/users

Reply via email to