From nobody Fri Aug 8 13:47:34 2025 X-Original-To: freebsd-pkgbase@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 4bz52C0hkLz63sTL; Fri, 08 Aug 2025 13:47:47 +0000 (UTC) (envelope-from theraven@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bz52C04xSz3nfQ; Fri, 08 Aug 2025 13:47:47 +0000 (UTC) (envelope-from theraven@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1754660867; 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=3/Zdxs5PDDCk1BpZK5RRj24WhgMeXeMO/jACZd6YPZ0=; b=Dz1wRT9nKMrjhvdnvKCvUZCVZS0xMqs6WP/OOJcM09q0NcwTeWOjpkUqi/BJe9IQbLR8wf lxkelvfmdjHaIJ6Uqp5qo8o0ZSsaSnIdpvlt0VnC54oGEYe8gTsOGJAySLX+j0VuBO46O8 GbLkqXfZ4419pvlau9UsSBeX/Jwd1pEsSfjHReZPgHufBu3g26MH7yRSnQBKMYDA3IXMHe rp+bpsdUNLQ432bVYG0P2XQartuDN9DdHchXw+uLoeX7WAnHYII0PIbHGe10gfuTTzCKHk q4h6AUKjdu88yJdU7SlaWCSbqfMIUan3qJIcxVpZk9PnRv1T7pq9nBc2/cVO3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1754660867; 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=3/Zdxs5PDDCk1BpZK5RRj24WhgMeXeMO/jACZd6YPZ0=; b=E0KAOA0FAd3GSrfynbbYtB9iDnYjJfQ5uLnZGIIBjdc1Z4/1B8E3syG+ujU9zoQjKRDJdC isv3XBK/HpHOVAlQIYDB/7sSCnksAcaNBI0hlw1FJSQMncS+SXNuYAgLcKRY/aQV82M3nX BE/slcb4TfljcuhGxjpyC+de+BPQq1GcClBFDocg5bbTnhaUMIB+OKOZd/GqIAMyGdR8+b VCPm+GucAheegVrtc8Etbs6+W33BE9wD2li6pufcGI5i2HUsILUdtWlilbd8/jr9FBVDkh OUeMazwnkNLlV4pxiQbBv+TpfAWUnYktyBUKVwtshG+m4m5ZDXTDIiXuxWj7Ng== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1754660867; a=rsa-sha256; cv=none; b=qHylkzfIV/SfBDWTiOJ0gZAy6kN1CcO8yNMjnYdVO1PQwVKpzRHxCRuEs3sw7HgfAgZcCS tTMpKgE/J0YLGN5JMYkTZzJMGhRqpM5guc71Coxv4hcKITGTxXMCaTeCHRRbUafrksC7Vm knvZRHOA1KSohmIrIvHb5pg5h88lgniNjwxPFWpLEeGCaggUif0DS03PtW8g8oY7dfg5P/ bTfD4c5UtxMoHh0iQzBdji4V3lr+oKqlADebQu9Nx3ba21GRO1rsDOAXZwc8UZG6yXky5z sW5gAM2DxevQ6JSGNTSg/Vr+xi9mYB1mepLxGt1EIfsP5yLK9kKcaGk761aduw== Received: from smtp.theravensnest.org (smtp.theravensnest.org [45.77.103.195]) (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: theraven) by smtp.freebsd.org (Postfix) with ESMTPSA id 4bz52B6NsczJ7R; Fri, 08 Aug 2025 13:47:46 +0000 (UTC) (envelope-from theraven@FreeBSD.org) Received: from smtpclient.apple (host86-143-41-189.range86-143.btcentralplus.com [86.143.41.189]) by smtp.theravensnest.org (Postfix) with ESMTPSA id 08037BD2; Fri, 08 Aug 2025 14:47:45 +0100 (BST) Content-Type: text/plain; charset=utf-8 List-Id: Packaging the FreeBSD base system List-Archive: https://lists.freebsd.org/archives/freebsd-pkgbase List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkgbase@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3776.700.51.11.1\)) Subject: Re: PKGBASE Removes FreeBSD Base System Feature From: David Chisnall In-Reply-To: Date: Fri, 8 Aug 2025 14:47:34 +0100 Cc: vermaden , Sulev-Madis Silber , freebsd-current@freebsd.org, freebsd-stable@freebsd.org, freebsd-pkgbase@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <79429D6B-7948-4D27-9F14-664CC075547A@FreeBSD.org> References: To: Santiago Martinez X-Mailer: Apple Mail (2.3776.700.51.11.1) On 8 Aug 2025, at 14:20, Santiago Martinez wrote: >=20 > For example =E2=80=9Cpkg upgrade -t base=E2=80=9D, to act on FreeBSD = base and =E2=80=9Cpkg upgrade=E2=80=9D to perform actions on non-base = packages. You are assuming that there are two repositories. Since its = introduction, `pkg` has supported an unlimited number of repositories, = and in a pkgbase world, I=E2=80=99d expect large-scale systems to have = four: - Packages built from base. - Packages built from ports that are tied to the kernel version. - Packages built from ports that are expected to work across all of the = supported base systems in a major release series. - Packages built from other sources for local deployment. The last three exist today even without pkgbase. There may also be = other third-party (non-ports) package sets. You can already act on a specific repository by passing -r to `pkg`. = The thing you seem to want is for *some* actions to not apply to all = repositories. I think that will lead to far more confusion in the long = term. For example: If I do `pkg upgrade`, do you expect everything to be upgraded? I do. = And if it doesn=E2=80=99t, I expect there will be a lot of confusion = because a minor release dropping out of the support window will change = the minimum requirements for the base system and so failing to upgrade = base-system packages will cause breakage in packages built from ports. =20= So if we avoid that breakage, and say that `pkg upgrade` applies to all = packages, but `pkg delete -a` doesn=E2=80=99t. Now we have = inconsistency across subcommands. And that=E2=80=99s also confusing. David