From owner-freebsd-questions@FreeBSD.ORG Mon Jan 12 07:40:49 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9D3A9A7F for ; Mon, 12 Jan 2015 07:40:49 +0000 (UTC) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "ca.infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 3E4702CE for ; Mon, 12 Jan 2015 07:40:49 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.2.117.99]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.1/8.15.1) with ESMTPSA id t0C7eR6t004287 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Mon, 12 Jan 2015 07:40:36 GMT (envelope-from m.seaman@infracaninophile.co.uk) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=infracaninophile.co.uk DKIM-Filter: OpenDKIM Filter v2.9.2 smtp.infracaninophile.co.uk t0C7eR6t004287 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1421048436; bh=Iu3oT3l6+SGnkkZmKyx9npzKgnsesjPEDcz1JQBK1gM=; h=Date:From:To:Subject:References:In-Reply-To; z=Date:=20Mon,=2012=20Jan=202015=2007:40:15=20+0000|From:=20Matthew =20Seaman=20|To:=20freebsd-questi ons@freebsd.org|Subject:=20Re:=20freebsd-update=20questions|Refere nces:=20|In-Reply-To:=20; b=tzLxff6yNNa4v2MV6gJ3CpKR2SQUj1L3MJvMIO1vqtuj5mD3qfMJVSK2UkoWUkFIF a//CQJacyIv6htkE+i8o28t5cUAOdZUMvwcRtOCghqrQY241reY8zQpIFMbn/C91ch sHwsSePFRPqBBNmJDyoJN7bNvWnEwAQedgkCiTTU= Message-ID: <54B37A5F.5050302@infracaninophile.co.uk> Date: Mon, 12 Jan 2015 07:40:15 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: freebsd-update questions References: In-Reply-To: OpenPGP: id=E1ECF9BB Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="cNiMGsMWWf6fKLJtaPFmRv8d9pGmWETaa" X-Virus-Scanned: clamav-milter 0.98.5 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jan 2015 07:40:49 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --cNiMGsMWWf6fKLJtaPFmRv8d9pGmWETaa Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 12/01/2015 04:08, Andrew Gould wrote: > I ran 'freebsd-update fetch', but forgot to run 'freebsd-update install= '. > Later, I decided to upgrade, to 10.1, so I ran 'freebsd-update -r > 10.1-RELEASE upgrade'. So now I have fetched an update and an upgrade.= > What will happen if I run 'freebsd-update install'? >=20 > Is there a way to delete what has been fetched and start over? Yeah. 'freebsd-update fetch' or 'freebsd-update -r X.Y-RELEASE upgrade' prepare a set of patches to install in order to effect an update. If you run one of them but then subsequently omit the 'freebsd-update install' step, then run either of those commands again, if the target version has changed in the mean time (flipping between 'fetch' and 'upgrade' counts), it will download a new set of patches to update the installed system to the new desired version. This will take advantage of any patches already downloaded and sitting in freebsd-update's cache, but otherwise it recreates the update job from scratch. It will ignore any patches not relevant to the update you requested. So the way you start over is to rerun your 'fetch' or 'upgrade' command, but only if there are new patches to download. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey JID: matthew@infracaninophile.co.uk --cNiMGsMWWf6fKLJtaPFmRv8d9pGmWETaa Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.20 (Darwin) iQJ8BAEBCgBmBQJUs3prXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATM1EP/0u5sw43870Fsr+M9OzgHvv4 2ZYHSIiQ0+/Tm1cOWPztNM5zo9pwb3gGloNexND4MWN3QX7w7Imli7RT+9ROSi8s jiIRnbeJDKv3d2DdTiRiVQ37947kPevPN+r0g3b6uFIp3xYHSwzkk1UoDxW9Y0Ti E69Xi90J0wAzG+QXNI3pYA4mrMWVTqHmSSRsBWf037YkOoo69GOkT0FLshhP7MG0 x2JHSqo6vLSzaoDSoO0NCVDIiPQkV3WI+jyOHahlRnmcp/m0jBkUw191IfYB1JPL LFyrMkPT+X6GrRC9oTMTd2nqEdfWTqslBpbJcZuI60M5kEq/m1P5rSAgN+LnRWiA HZldU44c8TrIrKvo7uMg5i9s+Prxdus9bnK60WlMn9gS374uGGjzecisXnEuutv+ n5TbgpNyJZfG8MbNWj4Wu5SMKIyMR80shM+DNqMzAv28K215CrJMohBPDLOOEwv5 2DmuN1unZoc2WyW1a/8Sd7b/FbbRvPnYl5sy4+WPJV62pvNO/XTuMunvQ3y+TfxA CMbg12CSfX00eS+INWuMepExbrwxJMOBlKJ79ZWfG0I8Yn2wYqELkv+ZD6VqVBQC +iUhXdJ1peBo+R+TP0JA4sBO/9NETosZiuIGlykxV6sKWJumTXdJf0yX1Yq8iwdX POWtZK3lSMJj4jlyZnY5 =p1LY -----END PGP SIGNATURE----- --cNiMGsMWWf6fKLJtaPFmRv8d9pGmWETaa--