Re: "yum --partial" feature as a bash line

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



cybernet@xxxxxxxxxx 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

--
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux