Re: Problem upgrading to 14

From: Doug Hardie <bc979_at_lafn.org>
Date: Thu, 23 Nov 2023 05:24:51 UTC
> On Nov 22, 2023, at 21:04, Kurt Hackenberg <kh@panix.com> wrote:
> 
> On 2023/11/22 23:42, Doug Hardie wrote:
> 
>> It gets more interesting.  pkg upgrade doesn't work. No idea what is causing the problem or how to fix it.
>> # pkg upgrade
>> Updating FreeBSD repository catalogue...
>> Fetching meta.conf: 100%    163 B   0.2kB/s    00:01
>> Fetching packagesite.pkg: 100%    7 MiB   6.9MB/s    00:01
>> pkg: Error extracting the archive: 'Write error'
>> pkg: No signature found
>> Unable to update repository FreeBSD
>> Error updating repositories!
> 
> Write error.  Filesystem full?  Or mounted read-only for some reason?

There lies the problem.  It's not obvious, but I found some info out on the web eventually.  /tmp is mounted as a very small tmpfs.  Apparently it is overflowing.  Increasing the size from 50m to 128 m solved the problem.  I believe the default value in the distribution needs to be changed.  I'll file a PR although none of mine have ever received any attention.

-- Doug