"yum --partial" feature as a bash line
Rahul Sundaram
sundaram at redhat.com
Sun Dec 11 11:34:46 UTC 2005
cybernet at interia.pl wrote:
> Since the yum "bug" topic flooded the mailing list, this is a new
> post. A few days ago someone proposed a "yum --partial" feature in
> order to have partial updates instead of no updates - e.g if eclipse
> is broken, then why shouldn't httpd get updated?
>
> Heres a quick "answer" :
>
> # get a list of items
> # remove 4 lines from top (tac/head/tac)
> # try to update one item at a time
> for k in `yum list updates | awk '{ print $1 }' | tac | head -n-4 |
> tac`; do yum -y update
> $k; done
This has been added long back to http://fedoraproject.org/wiki/Tools/yum
regards
Rahul
More information about the fedora-devel-list
mailing list