From owner-freebsd-questions@freebsd.org Sun Oct 3 15:09:30 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1DF7F668FB3 for ; Sun, 3 Oct 2021 15:09:30 +0000 (UTC) (envelope-from 93ab.82.c37a00051716e3.64a5dd7b950d9df8522478cdeb864daa@email-od.com) Received: from s1-b515.socketlabs.email-od.com (s1-b515.socketlabs.email-od.com [142.0.181.21]) (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 4HMnLw2PV3z3L3q for ; Sun, 3 Oct 2021 15:09:28 +0000 (UTC) (envelope-from 93ab.82.c37a00051716e3.64a5dd7b950d9df8522478cdeb864daa@email-od.com) X-Thread-Info: OTNhYi4xMi5jMzdhMDAwNTE3MTZlMy5mcmVlYnNkLXF1ZXN0aW9ucz1mcmVlYnNkLm9yZw== Received: from r1.us-east-2.aws.in.socketlabs.com (r1.us-east-2.aws.in.socketlabs.com [142.0.189.1]) by mxh4.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Sun, 3 Oct 2021 11:09:21 -0400 Received: from oceanview.tundraware.com (oceanview.tundraware.com [45.55.60.57]) by r1.us-east-2.aws.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Sun, 3 Oct 2021 11:09:21 -0400 Received: from [192.168.0.2] (ozzie.tundraware.com [75.145.138.73]) (authenticated bits=0) by oceanview.tundraware.com (8.16.1/8.16.1) with ESMTPSA id 193F99WJ076458 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO) for ; Sun, 3 Oct 2021 10:09:10 -0500 (CDT) (envelope-from tundra@tundraware.com) Subject: Re: Upgrade without Internet access To: FreeBSD Mailing List References: From: Tim Daneliuk Message-ID: <175e70ff-318b-8380-80ec-cf3b98b6073a@tundraware.com> Date: Sun, 3 Oct 2021 10:09:04 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.6.4 (oceanview.tundraware.com [45.55.60.57]); Sun, 03 Oct 2021 10:09:10 -0500 (CDT) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: 193F99WJ076458 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-SpamCheck: not spam (whitelisted), SpamAssassin (not cached, score=-2.901, required 6, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_00 -1.90, NICE_REPLY_A -0.00) X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: No X-Rspamd-Queue-Id: 4HMnLw2PV3z3L3q X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.70 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[tundraware.com:s=slkey,email-od.com:s=dkim]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:142.0.176.0/20]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[4]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[tundraware.com:+,email-od.com:+]; DMARC_POLICY_ALLOW(-0.50)[tundraware.com,reject]; RCVD_IN_DNSWL_NONE(0.00)[142.0.181.21:from,142.0.189.1:received]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FORGED_SENDER(0.30)[tundra@tundraware.com,93ab.82.c37a00051716e3.64a5dd7b950d9df8522478cdeb864daa@email-od.com]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:53658, ipnet:142.0.180.0/22, country:US]; FROM_NEQ_ENVFROM(0.00)[tundra@tundraware.com,93ab.82.c37a00051716e3.64a5dd7b950d9df8522478cdeb864daa@email-od.com]; MAILMAN_DEST(0.00)[freebsd-questions]; DWL_DNSWL_NONE(0.00)[email-od.com:dkim] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Oct 2021 15:09:30 -0000 > On 10/3/21 07:19, Lee Nelson wrote: > >> I feel like this should be an easy question to find an answer to, but >> an evening of frustration and search has found me nothing. 1. Use git to fetch the relevant source tree. Move this to /usr/src on the target machine and do the required 'mergemaster', 'make kernel', and 'make world' steps outlined in the handbook. Do this AFTER you have a good system backup, just in case. You're effectively rebuilding the entire OS and related docs from source. 1A. There are binary upgrades for FreeBSD available but I've never used them so I cannot comment on how one might get them for later use elsewhere or whether the will work disconnected from the Net. 2. You can upgrade ports, but it's a little tricky. Again, you first use git to get the latest ports tree. Then you have to get all the source tarballs required to build your ports and put them into /usr/ports/distfiles. This is painful because of the way ports depend on other ports, so it make take you a while to figure out what the whole set of required tarballs might be. 3. It might be easier to directly download the required packages, but I've never done that either. HTH, -- ---------------------------------------------------------------------------- Tim Daneliuk tundra@tundraware.com PGP Key: http://www.tundraware.com/PGP/