[Bug 190660] freebsd-update(8) erroneous message when "fetch install" used

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Feb 8 07:28:55 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=190660

--- Comment #2 from mail at ozzmosis.com ---
Created attachment 166733
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=166733&action=edit
Remove erroneous message when "fetch install" used

Exiting with zero status here when "fetch" has no updates seems reasonable,
instead of attempting to execute an "install" which will abort due to lack of
updates*.

* unless there are already updates pending that were previously fetched by the
user. This feels like unexpected behaviour to me, though.

freebsd-update's ability to chain commands seems like a design mistake to me.
For example it allows the admin to issue the commands:

freebsd-update install rollback
freebsd-update fetch rollback

Or even:

freebsd-update fetch fetch fetch fetch fetch fetch fetch fetch fetch fetch

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list