From nobody Fri Aug 8 15:00:58 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 4bz6fh6knKz6419P; Fri, 08 Aug 2025 15:01:00 +0000 (UTC) (envelope-from dim@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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bz6fh5SRfz3Gff; Fri, 08 Aug 2025 15:01:00 +0000 (UTC) (envelope-from dim@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1754665260; 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=dtpFr+WwDKf1Gukie9F3tjOb/uBsWAfvuAl5ATqdFL4=; b=iUM7EDKjs+yhW/pB91/azSvNhSq3qlrSdrxqZU2+ejYcIgVtuCc17bbgIcrKp8zLh1nUGf Ap7/47XKe3i4mmiEonXIVcqFQ7sFZHLmsnJJEDb0Shzt3VQpEYH3/2SGn+EbxAt+U4pkpH 023TWlG5b9E5xgzA0mfUykdb/0f2LulR1wSl1c3/uofv+uivmc+kU9F7DQoV3Tp1RutVRB cum5ZT4yiQmLwCi7S12vc6Z7IKr4YALC+XsjOpn/Cj0T8ej+93Y940V/3FnA0tO5gV9ZWQ /rWKYWddYZLzVNwrmWWTX23VleHBJqvjZQ5NjeTycki+ooVjRLhp605MrFXeEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1754665260; 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=dtpFr+WwDKf1Gukie9F3tjOb/uBsWAfvuAl5ATqdFL4=; b=Y5eKlx6m99Q/WfFFXFZgdfQc3f4fKjjWfavXVoXpK7i/ftt3uVK3j1hHFvBY9VFA6jz9lL FJAKgBqkm+DDRHLSq6rE0aV9HT7luYJTv4m/047Bee8KmZauysjE+J3whyMC6M/ohHlMdI fRAbXkuQ/nVOtoJf2e94dtscFpmuZdxNNg90UQehjtncdzjDFcHhmymYpU5Nx2GVC/i+Ha 5Whf0XG2rPwjcfCtK2Uqh5vO+7Ft933aoL/WdqY5XVs4gohQ8RbJbCgCOo6CPn7Jz82v9y azNlOHul1EQ2JOLEfQBe9QzYgP4QU5DbWXAiFf5qia/hjNCLpAIu2ZlktcOENQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1754665260; a=rsa-sha256; cv=none; b=mJAwEz7RoEdq79DyJDPw/3Qop2KAME8NWT86ty31uZiBnU0reNS5Wh7lmPhyCKecAUCnWZ UjlnptXnhynbfDsdRvAZn+mTuF+98ij+rVrRLcgCpwHSimKKTp1zIo16H0RNoS+iIyYTgN ryBXzAA/lUb7RL5S/L5hORR0O/oS70DFmQUshccBn1vUGbl4SC5T1nctVSxktlLz+Hx6vO sd9jAo0A8XsBDXFQyiEn9MbCgjMUme5MhMDfNR2TZJxdbRY21/DVS3SDOiD3h96LGK2RTw lQOjxC4hdzEkK6zBlPFW0uM6oOej25CQbSBZQAcimbyIGsPJeEQ3uLIf1spekA== Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (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 "tensor.andric.com", Issuer "R11" (verified OK)) (Authenticated sender: dim) by smtp.freebsd.org (Postfix) with ESMTPSA id 4bz6fh4TpHzKSk; Fri, 08 Aug 2025 15:01:00 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtpclient.apple (bladnoch-wifi.home.andric.com [192.168.0.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id C0C5E65E2C; Fri, 08 Aug 2025 17:00:58 +0200 (CEST) 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 \(3826.700.81\)) Subject: Re: PKGBASE Removes FreeBSD Base System Feature From: Dimitry Andric In-Reply-To: <0CC405ED-BCFC-41AD-A487-5261421BF8A6@FreeBSD.org> Date: Fri, 8 Aug 2025 17:00:58 +0200 Cc: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= , Tomek CEDRO , Colin Percival , vermaden , Sulev-Madis Silber , "freebsd-current@freebsd.org" , freebsd-stable@freebsd.org, freebsd-pkgbase@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <864iui3si5.fsf@ltc.des.dev> <86pld62alk.fsf@ltc.des.dev> <0CC405ED-BCFC-41AD-A487-5261421BF8A6@FreeBSD.org> To: David Chisnall X-Mailer: Apple Mail (2.3826.700.81) On 8 Aug 2025, at 15:56, David Chisnall wrote: >=20 > On 8 Aug 2025, at 14:42, Dag-Erling Sm=C3=B8rgrav = wrote: >>=20 >> Tomek CEDRO writes: >>> [...] from user perspective these changes were easy to adapt to :-) >>=20 >> So will this one. >=20 > Let=E2=80=99s remember the thing that started this entire thread: `pkg = delete -af` >=20 > This is an *incredibly* stupid thing to do. Long before pkg came = along, I did the equivalent of this and managed to lock myself out of a = headless box by doing this because I forgot that I was using the ports = version of openssh instead of the base one. I'm one of the people that regularly runs `pkg delete -af`, even with = `-y` added. :) That said, I only use this when I have completely = rebuilt a ports collection with poudriere against a newer base jail, and = then I'd like to start completely from scratch with freshly installed = packages. This also clears out any unnecessary non-leaf packages there = were pulled in by a previous package build. Obviously that is an outlier scenario! But does pkg have a way to = express "show me packages only from this particular repo", or "delete = only packages from this particular repo"? That would make it easy to do = "delete only the packages from ports, not from base". -Dimitry