Re: Upgrade from 14.3 to 15

From: Lexi Winter <ivy_at_freebsd.org>
Date: Tue, 09 Dec 2025 15:33:16 UTC
Jeff Lloyd wrote in <CAFzDrHLaqEtXJ35TFPFH77f9rrsMT4sfxUd45HhzC1Da2rXOtg@mail.gmail.com>:
> Now when I trying to update pkg or to re-install apps, I get multiple error
> lines like this:
> pkg: packagesite URL error for pkg+
> http://pkg.FreeBSD.org/FreeBSD:14:amd64/latest/data.pkg -- pkg+:// implies
> SRV mirror type
> Unable to update repository FreeBSD-kmods
> Error updating repositories!

this is usually caused by trying to override the URL for a repository
that doesn't exist.  in this case, "FreeBSD-kmods" has been renamed to
"FreeBSD-ports-kmods" in /etc/pkg/FreeBSD.conf; you probably have a
stale override in /usr/local/etc/pkg/repos for "FreeBSD-kmods".

the fix is to change your override to refer to "FreeBSD-ports-kmods"
instead -- but you should probably also look at why it's trying to
install FreeBSD 14 packages.