Date: Mon, 11 Apr 2022 17:50:43 -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: <5B2A420D-8814-4DB8-9F96-56A95C4D5984@yahoo.com> In-Reply-To: <20220411234610.GD5990@eureka.lemis.com> References: <DED88E88-C1A6-45CB-AF8A-BFD047D61B57.ref@yahoo.com> <DED88E88-C1A6-45CB-AF8A-BFD047D61B57@yahoo.com> <20220411234610.GD5990@eureka.lemis.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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. 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?5B2A420D-8814-4DB8-9F96-56A95C4D5984>