Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Apr 2022 18:08:23 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        Greg 'groggy' Lehey <grog@FreeBSD.org>
Cc:        ports@freebsd.org
Subject:   Re: Missing quarterly current pkg files?
Message-ID:  <32231334-43C2-4C4D-8D49-9C23499C8EB0@yahoo.com>
In-Reply-To: <5B2A420D-8814-4DB8-9F96-56A95C4D5984@yahoo.com>
References:  <DED88E88-C1A6-45CB-AF8A-BFD047D61B57.ref@yahoo.com> <DED88E88-C1A6-45CB-AF8A-BFD047D61B57@yahoo.com> <20220411234610.GD5990@eureka.lemis.com> <5B2A420D-8814-4DB8-9F96-56A95C4D5984@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2022-Apr-11, at 17:50, Mark Millard <marklmi@yahoo.com> wrote:

> On 2022-Apr-11, at 16:46, Greg 'groggy' Lehey <grog@FreeBSD.org> 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 <grog_at_FreeBSD.org>
>>> Date: Mon, 11 Apr 2022 09:04:43 +1000 :
>>> 
>>>> I've checked both IPv4 sites, and
>>>> http://pkg.FreeBSD.org/FreeBSD:14:amd64/ 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+http://pkg.FreeBSD.org/${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:
> 
> https://wiki.freebsd.org/Ports/QuarterlyBranch
> 
> 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.

A more official/normal place for that information is:

https://docs.freebsd.org/en/books/handbook/ports/#ports-using

> http://pkg.freebsd.org 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
> quarterly.)
> 
> 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 yahoo.com




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?32231334-43C2-4C4D-8D49-9C23499C8EB0>