From owner-freebsd-questions@freebsd.org Sun Oct 3 15:24:06 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 C4C0C669603 for ; Sun, 3 Oct 2021 15:24:06 +0000 (UTC) (envelope-from mark@tinka.africa) Received: from the-host.tinka.africa (the-host.tinka.africa [105.22.37.14]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4HMngn2vCVz3Lk8 for ; Sun, 3 Oct 2021 15:24:05 +0000 (UTC) (envelope-from mark@tinka.africa) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tinka.africa; s=tinka; h=Content-Transfer-Encoding:Content-Type:In-Reply-To :From:References:To:Subject:MIME-Version:Date:Message-ID:Sender:Reply-To:Cc: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=uAhM1s7qEahk9EjqAZYi18DQ/sYw6W+mxMkzpY65b9E=; b=qWj9ZJIruToKKnVTxfqpsjS1kS HalYYmqC+cVW+FuWJIkjYp8vCkbgEMFV8LkAufL7UWMPR5CSCgveUtkH+F2bPnRDmn8tljyXrAlW7 mMkfzMMmdQGGwnurkdRG9MJHnN+6pRbs9arejb57n4UnBwpvxt36xXgM6wpo+Z2oWfMYXwM3ImaHD DZqYNw+1v0dYL8heQnjrfq9pEpo0I4is+5bkEDLVIfx5DXJfeAFTyXAGTuGSTAlZLL0owOGTgyrzF +jjmc1iVCC50/Mo/o+5WCGqaXlEFLDXoMFVdIy3OuSqRO8J+D4P52amVsm6yZ5xypcf1Ube3H+O7e 85MqnCYg==; Received: from localhost ([127.0.0.1]) by the-host.tinka.africa with esmtp (Exim 4.94) (envelope-from ) id R0EQS0-000ZIP-4K for freebsd-questions@freebsd.org; Sun, 03 Oct 2021 17:24:00 +0200 Message-ID: <29fc4432-9f33-df5b-7e9a-fce318e426ae@tinka.africa> Date: Sun, 3 Oct 2021 17:23:59 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.1.2 Subject: Re: Upgrade without Internet access Content-Language: en-US To: freebsd-questions@freebsd.org References: <175e70ff-318b-8380-80ec-cf3b98b6073a@tundraware.com> From: Mark Tinka In-Reply-To: <175e70ff-318b-8380-80ec-cf3b98b6073a@tundraware.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4HMngn2vCVz3Lk8 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=tinka.africa header.s=tinka header.b=qWj9ZJIr; dmarc=pass (policy=none) header.from=tinka.africa; spf=pass (mx1.freebsd.org: domain of mark@tinka.africa designates 105.22.37.14 as permitted sender) smtp.mailfrom=mark@tinka.africa X-Spamd-Result: default: False [-3.00 / 15.00]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[tinka.africa:s=tinka]; FREEFALL_USER(0.00)[mark]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:105.22.37.14]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; DKIM_TRACE(0.00)[tinka.africa:+]; HFILTER_HELO_2(1.00)[the-host.tinka.africa]; DMARC_POLICY_ALLOW(-0.50)[tinka.africa,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:37100, ipnet:105.16.0.0/12, country:MU]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] 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:24:06 -0000 On 10/3/21 17:09, Tim Daneliuk via freebsd-questions wrote: > 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. This was the old way of doing it. When I got on to FreeBSD, we'd moved on to "freebsd-update" :-). But I recall many painful memories of mates going toe-to-toe with "make world". > 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. "freebsd-update" is pretty good. Been running it for nearly a decade now, and it's only gotten better. > > 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. We use "portsnap" to update the Ports free, and "portmaster" to upgrade all affected ports. Is generally reliable; the only issue I've run into is if a Port is marked as deprecated, and then some manual work is needed. Otherwise, no major drama. > 3. It might be easier to directly download the required packages, but I've > never done that either. I'm not into the binary package management for FreeBSD. I'm old skool; I prefer managing Ports. That said, I'm not sure I've ever heard anyone running the binary packages without Internet. Mark.