Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Oct 2021 13:33:58 +0200
From:      Mark Tinka <mark@tinka.africa>
To:        freebsd-questions@freebsd.org
Subject:   Re: Upgrade without Internet access
Message-ID:  <e2004a90-5971-3e4e-2104-de68994a2990@tinka.africa>
In-Reply-To: <CAKX4Vk97DgtmTkNjcBVHNPDykJ-Bv-9NXr7TANPqrYa0y3uHNw@mail.gmail.com>
References:  <CAKX4Vk97DgtmTkNjcBVHNPDykJ-Bv-9NXr7TANPqrYa0y3uHNw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help


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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e2004a90-5971-3e4e-2104-de68994a2990>