[CentOS] Selectively updating protected repos

Fri Jun 30 23:59:19 UTC 2006
Robert Spangler <lazydog at zoominternet.net>

On Thu June 29 2006 16:20, Bart Schaefer wrote:

>  I've been trying out the protectbase plugin for yum, and haven't yet
>  determined the best way to selectively update a package.  E.g. I'd
>  like to mark the base repo as protected, but get the latest firefox
>  from the centosplus repo.
>
>  What's the correct incantation for this?

Goto your /etc/yum.repos.d and edit CentOS-Base.repo and do the following;

under [base] add
exclude=firefox

Under [centosplus] add
includepkgs=firefox


-- 

Regards
Robert

Smile... it increases your face value!