From owner-freebsd-questions@freebsd.org Thu Mar 23 16:25:20 2017 Return-Path: Delivered-To: freebsd-questions@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 338CAD1A346 for ; Thu, 23 Mar 2017 16:25:20 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:c4ea:bd49:619b:6cb3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B715319F7 for ; Thu, 23 Mar 2017 16:25:19 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from zero-gravitas.local (unknown [85.199.232.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id 28CBA10D94 for ; Thu, 23 Mar 2017 16:25:16 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/28CBA10D94; dkim=none; dkim-atps=neutral Subject: Re: freebsd 10.3 to 11 release upgrade on a vps To: freebsd-questions@freebsd.org References: <58D3ECC0.1000001@gmail.com> <26f53955-835e-6dae-5154-32ad2fe06228@infracaninophile.co.uk> From: Matthew Seaman Message-ID: <74a663d5-4ee6-8c2f-6d20-10ec571c8cea@FreeBSD.org> Date: Thu, 23 Mar 2017 16:25:09 +0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <26f53955-835e-6dae-5154-32ad2fe06228@infracaninophile.co.uk> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="n0DMHWOkWKE41BsxCfnflEPfrbEiiltH8" X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00,RDNS_NONE, SPF_SOFTFAIL autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on smtp.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Mar 2017 16:25:20 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --n0DMHWOkWKE41BsxCfnflEPfrbEiiltH8 Content-Type: multipart/mixed; boundary="d4fS1okJMqiHNKRP0Ip5okG0qBfvFm1Dq"; protected-headers="v1" From: Matthew Seaman To: freebsd-questions@freebsd.org Message-ID: <74a663d5-4ee6-8c2f-6d20-10ec571c8cea@FreeBSD.org> Subject: Re: freebsd 10.3 to 11 release upgrade on a vps References: <58D3ECC0.1000001@gmail.com> <26f53955-835e-6dae-5154-32ad2fe06228@infracaninophile.co.uk> In-Reply-To: <26f53955-835e-6dae-5154-32ad2fe06228@infracaninophile.co.uk> --d4fS1okJMqiHNKRP0Ip5okG0qBfvFm1Dq Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2017/03/23 16:01, Matthew Seaman wrote: > That's why there is a > '--currently-running /release/' option in more recent freebsd-update(8)= =2E > If you haven't got a recent-enough freebsd-update then there's a trick= > -- so upgrading a 10.3 jail to 11.0 would looks like: >=20 > # env UNAME_r=3D10.3-RELEASE freebsd-update -r 11.0-RELEASE upgrade >=20 > and then do all the usuall 'freebsd-update install' steps similarly. >=20 Just to clarify, and for the sake of anyone tempted to take this too literally from the archives: 10.3-RELEASE actually does have the '--currently-running' option. The example I made up above is unnecessary (although it will work). For a 10.3 -> 11.0 upgrade of a jail: # freebsd-update --currently-running 10.3-RELEASE -r 11.0-RELEASE upgr= ade But for a 9.3 -> 10.3 upgrade of a jail: # env UNAME_r=3D9.3-RELEASE freebsd-update -r 10.3-RELEASE upgrade Also, one thing I forgot. When upgrading either the host or the jails, make sure that you're on the latest 10.3-RELEASE patchlevel before trying the upgrade to 11.0. There were changes in freebsd-update(8) itself that are required to upgrade to 11.0. If you're running older than 10.3-RELEASE, I believe the best advice is to upgrade to 10.3-RELEASE first, and then to 11.0-RELEASE. Cheers, Matthew --d4fS1okJMqiHNKRP0Ip5okG0qBfvFm1Dq-- --n0DMHWOkWKE41BsxCfnflEPfrbEiiltH8 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQJ8BAEBCgBmBQJY0/brXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTnNEwP/j0iBD9huKRzz1oqafY+lm+a TvGFJJdaMtSH3i7StihfbWM4mB5YVfamNbkTIfhKU3LbSdKgPhvY0DnRMzwe+L1s 4p7JZfAuBSPJd/cMr4GtbqdXaXR1X93kZ9pWmdnBGUkyGIHBmdCn0A6HSxW4Z8P6 64+pELAoxjAG/Le9QEN2cOFNK+ShW1n9XPAb9GJXWaBJP1AtQlw5i/1IAEWZ3kpo PDMPMI62yMiaYpMrbBP3ivj2xDEAa8KpsbwffKDwtkyZKeuHCT05n1YRYfsagEIB 3IEAJL023YhbdM3uA35j2WviFu+vpsAcVD0FdMIyUYMj4cJv5fvzeqdqEFS2gP7z cY2Ia6/T0TQXZJ7St+UhoWE907Ph3hWSnqzKNhZqxkNEwvlZnfDrK6lQ33MznlKB PvP7FCQTCxJ0hwMwG1aincyxYJphtuIrUZx8yS4vvrv8zazblwagWjR4dMK6/Edw xZYCpQkghrtzBI1ENrsAq5XFULBFZZj99SPempY84SO0yfV3NlfjHLO29DT3PC02 K/GPtpEeo6kivjtIQvh5LoYZyhCKDg0RVMEdDNokPtc0mJ0sK0M5X2GpB/0aKys/ DB9FTanggHOMsaKHzSOSMVJ7ctsNIH56UhnTS3TQ+TEUq++TALzL0YoP+An5QAiM B6eXbA4LahEGDfGbrmG+ =iKEa -----END PGP SIGNATURE----- --n0DMHWOkWKE41BsxCfnflEPfrbEiiltH8--