Re: pkg-static: Warning: Major OS version upgrade detected.

From: Lexi Winter <ivy_at_freebsd.org>
Date: Wed, 10 Sep 2025 18:49:54 UTC
Dan Mahoney (Ports):
> Okay, so, I've gone through and completely rebuilt all my packages
> (except the few that had errors), I've disabled my stock repos,
> pointed pkg at my temp ones with a file:///url, and even pkg delete -f
> pkg and pkg bootstrap -f, unfortunately, pkg still seems to want to
> complain that there's a major mismatch.  Is there a way to quell this
> error?

two things to check:

- did you actually rebuild pkg itself, i.e. is ports-mgmt/pkg listed in
  your poudriere ports list?

- do you have any FreeBSD.org repository enabled for a previous release?

it would be easier to diagnose the issue if you could show the entire
output from 'pkg update'.