[Yum] exclued regex help

Douglas Sievers dsievers at ucla.edu
Tue Mar 1 21:16:31 UTC 2005


Hi Earl,

Here is what I would recommend: use includepkgs in the second repo:

[$base]
...
exclude other-pkg-1 other-pkg-2....
[$other]
....
includepkgs other-pkg-1 other-pkg-2...


Best of luck,

Doug

Earl wrote:

>If I have 2 repos for updating all installed packages:
>$base_repo, $other_repo
>
>and want to update about 200 "base" packages
>exclusively with $base_repo and about 12-15 "other"
>packages exclusively with $other_repo
>
>and prefer to only make one call to 'yum update'.. Can
>I do it like this in yum.conf (or yum.repos.d/*):
>
>[$base]
>...
>exclude other-pkg-1 other-pkg-2....
>[$other]
>....
>exclude $(Regex describing everythign but other-pkg-1
>other-pkg-2...)
>
>Anyone have any ideas??
>Thanks!
>
>Earl
>
>
>		
>__________________________________ 
>Do you Yahoo!? 
>Yahoo! Mail - Find what you need with new enhanced search.
>http://info.mail.yahoo.com/mail_250
>_______________________________________________
>Yum mailing list
>Yum at lists.dulug.duke.edu
>https://lists.dulug.duke.edu/mailman/listinfo/yum
>
>  
>



More information about the Yum mailing list