[CentOS] exclude in a repo file

Carl T. Miller carl at carltm.com
Tue Sep 3 13:21:01 UTC 2013


John R. Dennison wrote:
> On Tue, Sep 03, 2013 at 07:05:47AM -0400, Carl T. Miller wrote:
>>
>> Is there a way to set up this repo so that when I run
>> "yum upgrade" it will only check the firefox and
>> xulrunner packages from the remi repo?
>
> Add
>
> includepkgs=firefox xulrunner
>
> to the repo definition for remi.
>
> This will _only_ allow those specific packages from remi and exclude
> everything else.


Thanks.  That's exactly what I was looking for.  And I've
made a note to myself to not only search man page for the
a string, but to see if there is a separate man page for
the config file.

c





More information about the CentOS mailing list