View Single Post
Old 19th February 2012, 12:47 AM
marko Offline
Registered User
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 7,097
Re: 'Batch' yum updates?

A hacky way to do that is to use yum list or yum check-update to see what packages would have updated then use yum update with a partial package name and wildcard to just do some of them by wildcarding against the first letter(s) of the names, for example:
yum check-update

odds are there will be a mixture of packages starting with particular letters so just look at the list
and do just a few depending on how many start with a particular letter (suppose 'a' 'b' and 'c' give you
about 20 matching packages):

yum update a* b* c*
later do some more and so on until done.

This isn't perfect, sometimes just a small number of package wildcards will pull in a lot more due to dependencies. So
you need to look at the number of packages that set of wildcards would pull in (yum update will show you and then wait at the "Y/n" prompt),
if it's more than you want exclude some more for example dropping the 'c' matches from the above to cut back:
yum update a* b*

Last edited by marko; 19th February 2012 at 12:50 AM.
Reply With Quote