From owner-freebsd-bugs@freebsd.org Fri Nov 18 06:44:28 2016 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 912D8C4769D for ; Fri, 18 Nov 2016 06:44:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6EA271EF2 for ; Fri, 18 Nov 2016 06:44:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id uAI6iSLC069950 for ; Fri, 18 Nov 2016 06:44:28 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 214619] freebsd-update fetch -F doesn't force fetch like I would expect Date: Fri, 18 Nov 2016 06:44:28 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 10.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ngie@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Nov 2016 06:44:28 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214619 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@FreeBSD.org Reporter: ngie@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 upd= ate, 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... do= ne. 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=20=20=20=20 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 $ freebsd-update=20 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=20 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-up= date.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 $ --=20 You are receiving this mail because: You are the assignee for the bug.=