From owner-freebsd-questions@freebsd.org Sun Oct 3 11:34:11 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 BE0CC6B6025 for ; Sun, 3 Oct 2021 11:34:11 +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 4HMhZV1YH9z4qlB for ; Sun, 3 Oct 2021 11:34:10 +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=ltH9vMqJNe0jePHw0VOxlIHzZn6PZmnqpP7OJulhHbE=; b=tGxGn8rBGPoms439/uMuzXSOi5 UcZbxmNfcFSfTZmx95Zc46Pl3nFKhZYzs2ksBmgdJFKF1vkuZ7nl3uMu08fGTRKLxOTti7SZEr/10 ZXih8WfXPSHqeFliZD19FUw6wcN1JNf6pisSQ3ZSr5dX8u8PxPABFbSnmf1h61mJStci/3YPIPKBX KNEswer008Qkkc7hknHSvM/qoFvK+eCSGly67qqHPITPNQTG+g5+yk+brTw7pRkywFcu2aoOX+AzP yL3ojmAf1RKqZYG2kESyrzpCH4A3yiHCNp8uMgnLr4gFVwHA9PaDaj/IEhMQyrxnoyQWJqPvjz/nW x0ZO/EZA==; Received: from localhost ([127.0.0.1]) by the-host.tinka.africa with esmtp (Exim 4.94) (envelope-from ) id R0EG4N-000YWM-NZ for freebsd-questions@freebsd.org; Sun, 03 Oct 2021 13:33:59 +0200 Message-ID: Date: Sun, 3 Oct 2021 13:33:58 +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: From: Mark Tinka In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4HMhZV1YH9z4qlB X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=tinka.africa header.s=tinka header.b=tGxGn8rB; 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 11:34:11 -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. > > I am trying to upgrade two systems from 12.2 to 13.0. However, over > my very poor-quality satellite Internet connection, > sudo freebsd-update -r 13.0-RELEASE upgrade > always fails: > ....13160....13170....13180....13190....13200....13210....13220....13230....13240....13250....13260....13270....13280.... > gunzip: (stdin): unexpected end of file > 2354a6afb867bb4e6206b58be4804d4307b9048c8767ac52081be80c162cf8d1 has > incorrect hash. > > I don't know whether some sort of timeout kicks in or my provider is > causing enough interruptions that the connection dies, or..... who > knows? This is life with satellite Internet. > > Is there some way to upgrade an existing system without (or with > minimal use of) an Internet connection? Is there some way to > pre-fetch the files onto portable storage while using a stable > Internet connection elsewhere? Is there a way to upgrade from an > ISO/USB? I have a 13.0 USB img file, but booting ftom it only seems to > have the options to install or use the live cd, not upgrade. > > I have many OpenBSD machines. For them, I download the install files > once and use a local http server to make them available during > upgrades. Is there some way to do something similar with FreeBSD? This is actually a good question. I've never quite thought about it, but you might be right - doing an offline upgrade could be tricky. Someone with more clue would have the chime in here. It's been a while since I had to do a disc-only upgrade, and that was Linux. Mark.