From nobody Mon May 25 04:24:29 2026 X-Original-To: freebsd-questions@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 4gP2pb1Zkpz6dCmH for ; Mon, 25 May 2026 04:24:39 +0000 (UTC) (envelope-from sr@genyosha.net) Received: from ns1.genyosha.net (ns1.genyosha.net [50.39.243.221]) (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 RSA-PSS (2048 bits) client-digest SHA256) (Client CN "cerebus.home.genyosha.net", Issuer "cerebus.home.genyosha.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gP2pZ57vQz3sKZ for ; Mon, 25 May 2026 04:24:38 +0000 (UTC) (envelope-from sr@genyosha.net) Authentication-Results: mx1.freebsd.org; none Received: from dragon.home.genyosha.net (ops0.genyosha.net [50.39.243.219]) by ns1.genyosha.net (8.18.1/8.18.1) with ESMTPS id 64P4OYJp033801 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=FAIL); Sun, 24 May 2026 21:24:34 -0700 (PDT) (envelope-from sr@genyosha.net) Received: from dragon.home.genyosha.net (localhost [127.0.0.1]) by dragon.home.genyosha.net (8.18.1/8.18.1) with ESMTPS id 64P4OTtD007959 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Sun, 24 May 2026 21:24:29 -0700 (PDT) (envelope-from sr@dragon.home.genyosha.net) Received: (from sr@localhost) by dragon.home.genyosha.net (8.18.1/8.18.1/Submit) id 64P4OTvN007958; Sun, 24 May 2026 21:24:29 -0700 (PDT) (envelope-from sr) Date: Sun, 24 May 2026 21:24:29 -0700 From: Steve Rikli To: Bobb Shires Cc: freebsd-questions@freebsd.org Subject: Re: Switching pkg from quarterly to latest Message-ID: References: <7cb31e23-dfd4-4009-b993-87f71d238ea3@app.fastmail.com> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Greylist: inspected by milter-greylist-4.6.4 (ns1.genyosha.net [50.39.243.221]); Sun, 24 May 2026 21:24:34 -0700 (PDT) for IP:'50.39.243.219' DOMAIN:'ops0.genyosha.net' HELO:'dragon.home.genyosha.net' FROM:'sr@genyosha.net' RCPT:'' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.4 (ns1.genyosha.net [50.39.243.221]); Sun, 24 May 2026 21:24:34 -0700 (PDT) X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:20055, ipnet:50.39.128.0/17, country:US] X-Rspamd-Queue-Id: 4gP2pZ57vQz3sKZ X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated I suspect that Handbook command needs adjusting. E.g. I typically use /etc/pkg/FreeBSD.conf as a template to create a new /usr/local/etc/pkg/repos/FreeBSD.conf file, either modified manually if I'm doing something custom, or more typically created with 'sed' if I'm just switching repos like this. On Sun, May 24, 2026 at 11:46:23PM -0400, Bobb Shires wrote: > That was it, thanks Steve! > Contents of my /usr/local/etc/pkg/repos/FreeBSD.conf was the single line > FreeBSD-ports: { url: "pkg+https://pkg.FreeBSD.org/${ABI}/latest" } > I've replaced it with what you provided and all appears well - repositories updated without complaint. > > (that part of the handbook needs work? Or did I skip a crucial step elsewhere?) > > > On Sun, May 24, 2026, at 23:22, Steve Rikli wrote: > > For starters, let's do the simple thing and check what your new > > pkg config file actually ended up looking like. > > > > Fwiw I've usually had something like this for FreeBSD 14 and earlier: > > > > FreeBSD: { > > url: "pkg+https://pkg.FreeBSD.org/${ABI}/latest", > > mirror_type: "srv", > > signature_type: "fingerprints", > > fingerprints: "/usr/share/keys/pkg", > > enabled: yes > > } > > > > For FreeBSD 15 and newer, where there is new pkgbase as well as pkg, > > I have the same config except the repo name for pkg is "FreeBSD-ports". > > > > I'd expect the 2nd setup to work on 14 as well, but I suspect the > > additional lines after "url:" might be missing from your new file, and > > that may be giving trouble. > > > > > > On Sun, May 24, 2026 at 10:26:28PM -0400, Bobb Shires wrote: > >> I'm on 14.4-RELEASE-p5 and following instructions in section 4.4.2 of the handbook "To switch pkg(8) from Quarterly to Latest run the following commands:" > >> https://docs.freebsd.org/en/books/handbook/ports/#quarterly-latest-branch > >> > >> The two commands listed appeared to complete normally, however the command > >> # pkg update -f > >> > >> Gives me this... Help please? What does this mean? > >> Thanks! > >> > >> === root@monster ~ 2 -> # pkg update -f > >> Updating FreeBSD repository catalogue... > >> Fetching meta.conf: 100% 179 B 0.2 kB/s 00:01 > >> Fetching data: 100% 10 MiB 11.0 MB/s 00:01 > >> Processing entries: 100% > >> FreeBSD repository update completed. 37078 packages processed. > >> Updating FreeBSD-kmods repository catalogue... > >> Fetching meta.conf: 100% 179 B 0.2 kB/s 00:01 > >> Fetching data: 100% 36 KiB 37.0 kB/s 00:01 > >> Processing entries: 100% > >> FreeBSD-kmods repository update completed. 245 packages processed. > >> Updating FreeBSD-ports repository catalogue... > >> pkg: Repository FreeBSD-ports has a wrong packagesite, need to re-create database > >> pkg: packagesite URL error for pkg+https://pkg.FreeBSD.org/FreeBSD:14:amd64/latest/meta.conf -- pkg+:// implies SRV mirror type > >> pkg: packagesite URL error for pkg+https://pkg.FreeBSD.org/FreeBSD:14:amd64/latest/meta.txz -- pkg+:// implies SRV mirror type > >> repository FreeBSD-ports has no meta file, using default settings > >> pkg: packagesite URL error for pkg+https://pkg.FreeBSD.org/FreeBSD:14:amd64/latest/data.pkg -- pkg+:// implies SRV mirror type > >> pkg: packagesite URL error for pkg+https://pkg.FreeBSD.org/FreeBSD:14:amd64/latest/data.tzst -- pkg+:// implies SRV mirror type > >> pkg: packagesite URL error for pkg+https://pkg.FreeBSD.org/FreeBSD:14:amd64/latest/packagesite.pkg -- pkg+:// implies SRV mirror type > >> pkg: packagesite URL error for pkg+https://pkg.FreeBSD.org/FreeBSD:14:amd64/latest/packagesite.tzst -- pkg+:// implies SRV mirror type > >> Unable to update repository FreeBSD-ports > >> Error updating repositories!