From nobody Mon May 25 07:50:07 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 4gP7Mj2Vfjz6drY5 for ; Mon, 25 May 2026 07:50:09 +0000 (UTC) (envelope-from des@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R12" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gP7Mj1c7gz3gtK; Mon, 25 May 2026 07:50:09 +0000 (UTC) (envelope-from des@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1779695409; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ZRW6szwjzX0mSV198cLqB/ojnhldCZdqjVia8vWyBuo=; b=m1OW1cBjKPyFEXueLKACm18LKXWSs7Mdhszqtr5A3bwvwTcKk4Tf9dpbH/RwShrak2njKA DMUT3FLvNbj23P4ziuF4mRWua3r4RYpT0G+cQhZK80qDwtTdGSK8+v31d8fUVVip02DkNv C4r4ZqEp1e1UJ43nU/2RfNTqiyeLYETutjX8dhn5WEZlEqRCciI1plT7bcPpPjYbF52rQi eeZSiG8Bg7Gteq4QfXgS0x0O2R8xD0Qok8+YAblR//nxjqXTpL+NDaG4IGMi5oElSyBgXt uF2hSet29kifrOaCGIa+Nz+jd4+L22WE7UJil+r0odV6SgeEETtbAFMcIp2DFg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1779695409; a=rsa-sha256; cv=none; b=h/1erhF7gkpezjD4xZZygP5CBVqgPLQ8tAzww+uW3q8+iVnZy7d/UYB7Dy0NKFDAEsx1R1 rit/U/PgVsrCihq3uTDM7K/fXbSMF7GXh/0SUo9q3/k1B/LQFxV9vwB/0aw9RKuVOstTN7 Ra60OFg2x9KzaLse0z41TIz/IVuJygegV4Z/WzXAr91H2STPLE5JTMqTkfGPhagMzl/DAK C2zohZO+tqUwOZTY8iL+aQ6QQ+2VQGV7YnO/QfOoA840nlWdGsoAS0LP/KvprahoLBnSCT UwC/n3og54eaSdytHaeaT4gVjsm9UG48d/YBtEoh0jcqF3VTH/ClSuRdvlW6JA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1779695409; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ZRW6szwjzX0mSV198cLqB/ojnhldCZdqjVia8vWyBuo=; b=gZLdlFdT0iX3eYP02QkwH34FTw6+gBMlYnL6tIPgZIzlCOWu3LznsJgYZpkY5rd0O9Uv1o a/e+GQJ0QCsDcfkxBjkbSoQEkxkRAXMY1A8dKE9cGa2LPQQACVgywHxZlxmhKgWGx28wJ5 NJ4fGRNxwflf32paCpknStsVlnRrJ4tTJVxfHDgX5nJhkOitWJEWirXShRM5eYzDdb5xWE miQjrJm4oYexe+Tu3NLqFjFq/n3IBqdoa/itobwVR7AaY8JWO9fbQ9oOWHL8/TrMoMeJVT to11YyYSQhJ64+d/NkcAvrRLzBItYQZiWfKZOgJE11gmkwYmqLzqJa67dgoBzw== Received: from ltc.des.dev (2a01cb0585070b00922e16fffef1acef.ipv6.abo.wanadoo.fr [IPv6:2a01:cb05:8507:b00:922e:16ff:fef1:acef]) (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 did not present a certificate) (Authenticated sender: des/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4gP7Mh73y4zNbw; Mon, 25 May 2026 07:50:08 +0000 (UTC) (envelope-from des@freebsd.org) Received: by ltc.des.dev (Postfix, from userid 1001) id EC8E271C37; Mon, 25 May 2026 09:50:07 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: "Bobb Shires" Cc: "Steve Rikli" , freebsd-questions@freebsd.org, ziaee@freebsd.org Subject: Re: Switching pkg from quarterly to latest In-Reply-To: (Bobb Shires's message of "Sun, 24 May 2026 23:46:23 -0400") References: <7cb31e23-dfd4-4009-b993-87f71d238ea3@app.fastmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Date: Mon, 25 May 2026 09:50:07 +0200 Message-ID: <861pf02aj4.fsf@ltc.des.dev> 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=utf-8 Content-Transfer-Encoding: quoted-printable "Bobb Shires" writes: > 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" } This would have worked on FreeBSD 15. Whoever updated that section of the handbook forgot that FreeBSD 14 still exists (and FreeBSD 13 still existed until a few weeks ago). I also strongly disagree with the idea of just giving a command for the user to run without explaining what it does. The pkg utility reads repository definitions from /etc/pkg first, then /usr/local/etc/pkg/repos. If it encounters a repository definition with the same name as an earlier one, the two definitions are merged: variables present in the new definition override those present in the old one, but variables found only in the old definition are preserved. What the handbook tells you to do is provide a partial definition for a package repository named =E2=80=9CFreeBSD-ports=E2=80=9D. This works if yo= u already have one, but if you don't, you end up with a new repository with incomplete information. > I've replaced it with what you provided and all appears well - > repositories updated without complaint. All is not well. You now have both quarterly and latest enabled simultaneously under different names. What you actually need to do is override the URL of the repository definition you already have: FreeBSD: { url: "pkg+https://pkg.FreeBSD.org/${ABI}/latest" } The repository was renamed from =E2=80=9CFreeBSD=E2=80=9D to =E2=80=9CFreeB= SD-ports=E2=80=9D in FreeBSD 15 to better distinguish it from the pkgbase repository, which is named =E2=80=9CFreeBSD-base=E2=80=9D. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@FreeBSD.org