From nobody Thu Sep 11 03:40:43 2025 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4cMjyZ22Lbz67XTn for ; Thu, 11 Sep 2025 03:41:10 +0000 (UTC) (envelope-from freebsd@gushi.org) Received: from prime.gushi.org (prime.gushi.org [IPv6:2620:137:6000:10::142]) (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-signature ECDSA (secp384r1) client-digest SHA384) (Client CN "prime.gushi.org", Issuer "E6" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cMjyY5SmYz3p0j; Thu, 11 Sep 2025 03:41:09 +0000 (UTC) (envelope-from freebsd@gushi.org) Authentication-Results: mx1.freebsd.org; none Received: from smtpclient.apple ([IPv6:2001:500:6b:200:8000:0:0:113]) (authenticated bits=0) by prime.gushi.org (8.18.1/8.18.1) with ESMTPSA id 58B3f0KS093898 (version=TLSv1.2 cipher=ECDHE-ECDSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 11 Sep 2025 03:41:00 GMT (envelope-from freebsd@gushi.org) DKIM-Filter: OpenDKIM Filter v2.10.3 prime.gushi.org 58B3f0KS093898 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gushi.org; s=prime2014; t=1757562060; bh=7Rag6qe4AUXqEtJiXh3KPQ7bTYX8XlShDP7zk1XuRNA=; h=From:Subject:Date:In-Reply-To:Cc:To:References; z=From:=20"Dan=20Mahoney=20(Ports)"=20|Subject:= 20Re:=20pkg-static:=20Warning:=20Major=20OS=20version=20upgrade=20 detected.|Date:=20Wed,=2010=20Sep=202025=2020:40:43=20-0700|In-Rep ly-To:=20|Cc:=20FreeBSD=20C urrent=20|To:=20Lexi=20Winter=20|References:=20<6dedf742-48bf-4b67-9993-67933104ba67@gmail.com >=0D=0A=20<7C4AA985-2F06-4580-93C8-374A75EC4965@hausen.com>=0D=0A= 20=0D=0A=20=0D=0A=20=0D=0A=20=0D=0A=20<31F247DA-DAA9-468F-9D9C-36F33E4F5C5D@gus hi.org>=0D=0A=20=0D=0A=20=0D=0A=20; b=QASwIhuGFc6IPN0BiFc8JAV8Mdru8TyRXNJofq2jqrE73KRJ5MyKrojfP9Rgm0arU v6Kk9gYnPlKLWE1g2BjhiOzScrZolF9gSrnn91SiQVQpVuqY1FY75swmdNJ7fq4uPg 9fiOjU1kPC22Rjkvj0HJgH/8A9G7NjahJWY+pjo1RFmAgtj5wZ+ZRfmkj6bk5JoAQV TJIvYsAbEl0Vp0kmq6bnNmZ8L/aRNQVCYcIUyjEEQTWwLlaycSAogaV4Mw37G8N23G A14HItdiiauLoLFaZYYE0t+Upa9EYhxB4592yJGGZWgXZZqUzvBTUuHP3mf81g6g0D 7Cm45bcQum4qw== X-Authentication-Warning: prime.gushi.org: Host [IPv6:2001:500:6b:200:8000:0:0:113] claimed to be smtpclient.apple From: "Dan Mahoney (Ports)" Message-Id: Content-Type: multipart/alternative; boundary="Apple-Mail=_8C1348F4-4E83-4905-A3CF-E1C140C3305D" List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3864.100.1.1.5\)) Subject: Re: pkg-static: Warning: Major OS version upgrade detected. Date: Wed, 10 Sep 2025 20:40:43 -0700 In-Reply-To: Cc: FreeBSD Current To: Lexi Winter References: <6dedf742-48bf-4b67-9993-67933104ba67@gmail.com> <7C4AA985-2F06-4580-93C8-374A75EC4965@hausen.com> <31F247DA-DAA9-468F-9D9C-36F33E4F5C5D@gushi.org> X-Mailer: Apple Mail (2.3864.100.1.1.5) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.6.4 (prime.gushi.org [IPv6:2620:137:6000:10:0:0:0:142]); Thu, 11 Sep 2025 03:41:01 +0000 (UTC) X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:393507, ipnet:2620:137:6000::/44, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Queue-Id: 4cMjyY5SmYz3p0j --Apple-Mail=_8C1348F4-4E83-4905-A3CF-E1C140C3305D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Sep 10, 2025, at 11:49=E2=80=AFAM, Lexi Winter = wrote: >=20 > 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? >=20 > two things to check: >=20 > - did you actually rebuild pkg itself, i.e. is ports-mgmt/pkg listed = in > your poudriere ports list? Yes. = https://poudriere-src.isc.org/packages/freebsd:16:x86:64-pkgbase-default_g= it/ > - do you have any FreeBSD.org repository enabled for a previous = release? I did, and then I disabled them. Right now the only thing enabled is = the one I built myself, which is pointing at my 16 directory via a = symlink. > it would be easier to diagnose the issue if you could show the entire > output from 'pkg update'. root@poudriere-src:/home/dmahoney # pkg update -f pkg: Warning: Major OS version upgrade detected. Running "pkg bootstrap = -f" recommended Updating MyRepo repository catalogue... Fetching meta.conf: 100% 179 B 0.2kB/s 00:01 Fetching data.pkg: 100% 137 KiB 140.6kB/s 00:01 Processing entries: 100% MyRepo repository update completed. 387 packages processed. All repositories are up to date. root@poudriere-src:/home/dmahoney # pkg bootstrap -f The package management tool is not yet installed on your system. Do you want to fetch and install it now? [y/N]: y Bootstrapping pkg from = file:///usr/local/poudriere/data/packages/FreeBSD:16:amd64/, please = wait... pkg-static: Warning: Major OS version upgrade detected. Running "pkg = bootstrap -f" recommended Installing pkg-2.2.2... package pkg is already installed, forced install Extracting pkg-2.2.2: 100% root@poudriere-src:/home/dmahoney # pkg update -f pkg: Warning: Major OS version upgrade detected. Running "pkg bootstrap = -f" recommended Updating MyRepo repository catalogue... Fetching meta.conf: 100% 179 B 0.2kB/s 00:01 Fetching data.pkg: 100% 137 KiB 140.6kB/s 00:01 Processing entries: 100% MyRepo repository update completed. 387 packages processed. All repositories are up to date. root@poudriere-src:/home/dmahoney # cat /usr/local/etc/pkg/repos/MyRepo.conf MyRepo: { url: "file:///usr/local/poudriere/data/packages/${ABI}/", enabled: yes }= --Apple-Mail=_8C1348F4-4E83-4905-A3CF-E1C140C3305D Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8

On Sep 10, 2025, at 11:49=E2=80=AFAM, Lexi Winter = <ivy@freebsd.org> wrote:

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?

Yes.

<= /div>

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

I did, and then = I disabled them.  Right now the only thing enabled is the one I = built myself, which is pointing at my 16 directory via a = symlink.

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

root@poudriere-src:/ho= me/dmahoney # pkg update -f
pkg: Warning: Major OS version = upgrade detected.  Running "pkg bootstrap -f" = recommended
Updating MyRepo repository = catalogue...
Fetching meta.conf: 100%    179 B =   0.2kB/s    00:01
Fetching data.pkg: 100% =  137 KiB 140.6kB/s    00:01
Processing entries: = 100%
MyRepo repository update completed. 387 packages = processed.
All repositories are up to = date.
root@poudriere-src:/home/dmahoney # pkg bootstrap = -f
The package management tool is not yet installed on your = system.
Do you want to fetch and install it now? [y/N]: = y
Bootstrapping pkg from = file:///usr/local/poudriere/data/packages/FreeBSD:16:amd64/, please = wait...
pkg-static: Warning: Major OS version upgrade = detected.  Running "pkg bootstrap -f" = recommended
Installing pkg-2.2.2...
package pkg is = already installed, forced install
Extracting pkg-2.2.2: = 100%
root@poudriere-src:/home/dmahoney # pkg update = -f
pkg: Warning: Major OS version upgrade detected. =  Running "pkg bootstrap -f" recommended
Updating MyRepo = repository catalogue...
Fetching meta.conf: 100%   =  179 B   0.2kB/s    00:01
Fetching = data.pkg: 100%  137 KiB 140.6kB/s   =  00:01
Processing entries: 100%
MyRepo = repository update completed. 387 packages processed.
All = repositories are up to date.
root@poudriere-src:/home/dmahoney = #

cat = /usr/local/etc/pkg/repos/MyRepo.conf

MyRepo: = {
  url: = "file:///usr/local/poudriere/data/packages/${ABI}/",
  = enabled: yes
}
= --Apple-Mail=_8C1348F4-4E83-4905-A3CF-E1C140C3305D--