On Fri, Feb 10, 2012 at 1:53 PM, Alfred von Campe <[email protected]> wrote:
> On Feb 10, 2012, at 1:08, Nico Kadel-Garcia wrote:
>
>> Won't an "exclude subversion >= 1.7" in your /etc/yum..conf do what you want?
>
> That sounds like what I need, but I couldn't get that syntax to work.  It 
> excluded all subversion packages from the rpmforge repo.  I tried it in 
> /etc/yum.conf and /etc/yum.repos.d/rpmforge.conf.

The manpage is a bit obscure about the syntax. Try this in /etc/yum.conf

          exclude=subversion-1.7.* subversion-*-1.7.* mod_dav_svn-1.7.*

>
> I've looked through the man pages and haven't found anything that mentions 
> excluding a package based on its version number.  If anyone has any working 
> examples (on CentOS 6), I'd love to see them.
>
> Alfred
>
>
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.repoforge.org/mailman/listinfo/users
_______________________________________________
users mailing list
[email protected]
http://lists.repoforge.org/mailman/listinfo/users

Reply via email to