[Bug 214619] freebsd-update fetch -F doesn't force fetch like I would expect

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Nov 18 06:44:28 UTC 2016


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

            Bug ID: 214619
           Summary: freebsd-update fetch -F doesn't force fetch like I
                    would expect
           Product: Base System
           Version: 10.3-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: ngie at FreeBSD.org

I was operating under the assumption that -F would actually force the fetch
operation to do something... it just notes that there isn't anything to update,
even though I'm one rev off of the latest version of 10.3-RELEASE.

$ sudo freebsd-update fetch -F
Looking up update.FreeBSD.org mirrors... 4 mirrors found.
Fetching metadata signature for 10.3-RELEASE from update4.freebsd.org... done.
Fetching metadata index... done.
Inspecting system... done.
Preparing to download files... done.

No updates needed to update system to 10.3-RELEASE-p12.
$ what -q /boot/kernel/kernel
FreeBSD 10.3-RELEASE-p11 #0: Mon Oct 24 18:49:24 UTC 2016
$ uname -a
FreeBSD picasso.local 10.3-RELEASE-p11 FreeBSD 10.3-RELEASE-p11 #0: Mon Oct 24
18:49:24 UTC 2016    
root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
$ freebsd-update 
usage: freebsd-update [options] command ... [path]

Options:
  -b basedir   -- Operate on a system mounted at basedir
                  (default: /)
  -d workdir   -- Store working files in workdir
                  (default: /var/db/freebsd-update/)
  -f conffile  -- Read configuration options from conffile
                  (default: /etc/freebsd-update.conf)
  -F           -- Force a fetch operation to proceed
  -k KEY       -- Trust an RSA key with SHA256 hash of KEY
  -r release   -- Target for upgrade (e.g., 6.2-RELEASE)
  -s server    -- Server from which to fetch updates
                  (default: update.FreeBSD.org)
  -t address   -- Mail output of cron command, if any, to address
                  (default: root)
  --not-running-from-cron
               -- Run without a tty, for use by automated tools
  --currently-running release
               -- Update as if currently running this release
Commands:
  fetch        -- Fetch updates from server
  cron         -- Sleep rand(3600) seconds, fetch updates, and send an
                  email if updates were found
  upgrade      -- Fetch upgrades to FreeBSD version specified via -r option
  install      -- Install downloaded updates or upgrades
  rollback     -- Uninstall most recently installed updates
  IDS          -- Compare the system against an index of "known good" files.
$ svn info freebsd-update.sh 
Path: freebsd-update.sh
Name: freebsd-update.sh
Working Copy Root Path: /usr/src
URL:
https://svn.freebsd.org/base/releng/10.3/usr.sbin/freebsd-update/freebsd-update.sh
Relative URL: ^/releng/10.3/usr.sbin/freebsd-update/freebsd-update.sh
Repository Root: https://svn.freebsd.org/base
Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revision: 308389
Node Kind: file
Schedule: normal
Last Changed Author: delphij
Last Changed Rev: 303304
Last Changed Date: 2016-07-25 08:04:17 -0700 (Mon, 25 Jul 2016)
Text Last Updated: 2016-07-31 13:38:57 -0700 (Sun, 31 Jul 2016)
Checksum: 2fe5a12eb864e11e4be5c247b317e9772fb784f9

$

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


More information about the freebsd-bugs mailing list