Re: Missing quarterly current pkg files?

From: Mark Millard <>
Date: Tue, 12 Apr 2022 00:50:43 UTC
On 2022-Apr-11, at 16:46, Greg 'groggy' Lehey <> wrote:

> [Copying -ports; the issue could be interesting to others]
> On Monday, 11 April 2022 at  0:22:23 -0700, Mark Millard wrote:
>> From: Greg 'groggy' Lehey <>
>> Date: Mon, 11 Apr 2022 09:04:43 +1000 :
>>> I've checked both IPv4 sites, and
>>> only contains a "latest"
>>> directory, not "quarterly".
>>> What's the issue here?  This system was running fine until I tried the
>>> bootstrap.
>> main [so: 14 as things are, aka current] never has quarterly.
>> This is not a change.
>> My guess is that your /etc/pkg/FreeBSD.conf ended up no
>> longer looking like:
>> ...
>> FreeBSD: {
>>  url: "pkg+${ABI}/latest",
>> but ended up listing . . ./quarterly instead of . . ./latest .
>> Or a /usr/local/etc/pkg/repos/FreeBSD.conf was created that
>> referenced . . ./quarterly instead.
> Thanks.  That led to the solution.  In fact, FreeBSD.conf was
> unchanged since November 2019; the issue was that I originally
> installed -STABLE, and then upgraded to -CURRENT some months ago.  pkg
> appears only to have noticed this after the beginning of the quarter.
> Is there any warning about this somewhere?  I didn't see one.  It
> seems strange that the upgrade to -CURRENT went seamlessly, but that
> pkg failed as a result with messages that aren't immediately obvious.

Not exactly what you are asking for, but there is:

Towards the end it has notes about switching a Quarterly context
to use a Latest one (i.e. based on the ports git main branch),
including adjusting the .conf files and then running "pkg update -f".
(This can be done on a system that should, by, default, get
quarterly --if a matching latest is available.)

The "pkg update -f" is something that had probably also not been
done. There is a "man 8 pkg-update" that indicates what -f is for. reports what is available from FreeBSD for
various platform/FreeBSD-version combinations, including some
"only quarterly is updated" contexts. (So latest can be older than

It is not explicit about "only latest exists" contexts: For that you
have to click the link and see what is there --or just know the rule
that, for now, FreeBSD:14 is main (a.k.a. CURRENT) and main only gets
a latest , not a quarterly .

Mark Millard
marklmi at