Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Sep 2025 05:13:04 -0400
From:      "Alexey Volodin" <me@allatar.ru>
To:        "Dan Mahoney (Ports)" <freebsd@gushi.org>
Cc:        "Lexi Winter" <ivy@freebsd.org>, "Ian FREISLICH" <ianfreislich@gmail.com>, "Kyle Evans" <kevans@freebsd.org>, =?utf-8?q?Patrick_M=2E_Hausen?= <pmh@hausen.com>, "FreeBSD Current" <current@freebsd.org>
Subject:   =?utf-8?q?Re=3A?==?utf-8?q?_pkg-static=3A?==?utf-8?q?_Warning=3A?= Major OS  version upgrade =?utf-8?q?detected=2E?=
Message-ID:  <659-68c14100-d-7f4ed080@115898840>
In-Reply-To: <F754CC1A-8D13-475B-98D7-AB0C632D462B@gushi.org>

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

[-- Attachment #1 --]

Hi Dan,
The https://pkg.freebsd.org/FreeBSD:16:amd64/ link was added just yesterday. I think its comletion with "latest/Latest/pkg*" will do the trick at bootstrap -f. Several days, mb.
---
WBR,
Alexey


Среда, Сентябрь 10, 2025 10:55 MSK, "Dan Mahoney (Ports)" <freebsd@gushi.org> писал(а):
 

> On Sep 9, 2025, at 12:12 PM, Lexi Winter <ivy@freebsd.org> wrote:
>
> Dan Mahoney (Ports):
>> Okay, maybe coffee hasn't hit yet, I've tried both:
>>
>> poudriere jail -c -j freebsd:16:x86:64-pkgbase -m pkgbase=https://pkg.freebsd.org/FreeBSD:16:amd64
>>
>> and
>>
>> poudriere jail -c -j freebsd:16:x86:64-pkgbase -m pkgbase=/FreeBSD:16:amd64 -U https://pkg.freebsd.org/
>>
>> (the manpage lacks an example for how to use -U and -m together)
>>
>> Neither works, what am I missing?
>
> i believe you want:
>
> poudriere jail -c -v 16 -j myjail -m pkgbase=base_latest -U https://pkg.freebsd.org
>
> -U should be the URL of the base repository, the argument to -m pkgbase
> is the repository name (base_latest in this case) and the ABI string is
> added automatically by poudriere itself.
>
> i've just tested this here and it seems to work.

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?

-Dan

[-- Attachment #2 --]
<html>Hi Dan,<br />The https://pkg.freebsd.org/FreeBSD:16:amd64/ link was added just yesterday. I think its comletion with "latest/Latest/pkg*" will do the trick at bootstrap -f. Several days, mb.<br />---<br />WBR,<br />Alexey<br /><br /><br />Среда, Сентябрь 10, 2025 10:55 MSK, "Dan Mahoney (Ports)" &lt;freebsd@gushi.org&gt; писал(а):<br />&nbsp;<blockquote type="cite" cite="F754CC1A-8D13-475B-98D7-AB0C632D462B@gushi.org"><br /><br />&gt; On Sep 9, 2025, at 12:12 PM, Lexi Winter &lt;ivy@freebsd.org&gt; wrote:<br />&gt;<br />&gt; Dan Mahoney (Ports):<br />&gt;&gt; Okay, maybe coffee hasn't hit yet, I've tried both:<br />&gt;&gt;<br />&gt;&gt; poudriere jail -c -j freebsd:16:x86:64-pkgbase -m pkgbase=https://pkg.freebsd.org/FreeBSD:16:amd64<br />&gt;&gt;<br />&gt;&gt; and<br />&gt;&gt;<br />&gt;&gt; poudriere jail -c -j freebsd:16:x86:64-pkgbase -m pkgbase=/FreeBSD:16:amd64 -U https://pkg.freebsd.org/<br />&gt;&gt;<br />&gt;&gt; (the manpage lacks an example for how to use -U and -m together)<br />&gt;&gt;<br />&gt;&gt; Neither works, what am I missing?<br />&gt;<br />&gt; i believe you want:<br />&gt;<br />&gt; poudriere jail -c -v 16 -j myjail -m pkgbase=base_latest -U https://pkg.freebsd.org<br />&gt;<br />&gt; -U should be the URL of the base repository, the argument to -m pkgbase<br />&gt; is the repository name (base_latest in this case) and the ABI string is<br />&gt; added automatically by poudriere itself.<br />&gt;<br />&gt; i've just tested this here and it seems to work.<br /><br />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?<br /><br />-Dan</blockquote></html>
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?659-68c14100-d-7f4ed080>