From nobody Sun Oct 19 15:12:11 2025 X-Original-To: pkg@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 4cqMVM5PyPz6DKBS for ; Sun, 19 Oct 2025 15:12:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cqMVM4q39z3bSc for ; Sun, 19 Oct 2025 15:12:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1760886731; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=tKdvI7AWVWO+Ax8mPV5UTl3zckxSuIV2peHFdz5mc/k=; b=a0L+1IOptpMNV3R+k4AMOyjVxBaKzWEIqoOMw4PpRWzmX6L+bk9bNQUDdOa4vABuGIFXgl 07pAQHB6uu9Pn7Z5pKnjINY1ZND+Gyk5bGpofvzckHacmYHzEygw8yvhjPFcPAToNkZgA5 sIQorjwHIqqPo3mJZpGMvGm1zhBUAYaQfsud0Is+QB+Pj4SXO1YFAfAjaYikpPoE/5p/kC n2o4KAFgG4ocFh3RYu5tWvjapMHLEbIpAQm9BF/5oYAAdV2rgjrWVeNHMC8cw9L4Ev6jyA X994qrg4st0P/38QP/wDeGkIW/EhmHhFgnMIk41rtzMzkGEjyvRU2hdygB7ctg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1760886731; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=tKdvI7AWVWO+Ax8mPV5UTl3zckxSuIV2peHFdz5mc/k=; b=m3zPGM5vrR82f26z7f/ITDFKg9Q5fho/RQe6FDIXYJeqtCu/qtTvXK1LrTXkPksDs/xHPg Wf31sVwySCIs/3BTlYyPl/L4M+ma6PknFPMIKhpE2hNQf3T0Qc1Zogs0QNzmsPnXibpF/+ cNuIRNFiL+DfG/VOFAsHzjckEN+zVNLwiBXHK1VpsgdnhHvaR29MrjP7jLvIYlDHJzjLFh KR9HpqrVdWNeRsdq4k02djLg+QR8BH+WCwYmhjL3cbtzDvkRiO8EVkPNXP8xoUEytWJBRK 3wzQaZ2pmZLUqzWQ2fUj8sJYVQyusJvu6zhakbcO2pRCbRUv6JAImGxMrE5ycA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1760886731; a=rsa-sha256; cv=none; b=KN0HBUKGyM1ZNgSig2nzTVcub2GqbnKgnN86hhfHIiaKTJEQEC9u645yyNhNkK31hwVy8f ASVcJ0DyS3U4Nmhq6/BMe50SRwxJF7Nt4x1wlvaG7jKuP3m7yeRgNK5lbwsf5jNbj7AE6l Rb8nFZWSLvzHmfW25d9yzzjZFPkaD7IVPS4LuqHzfdmDYhsEfQlZ1C1Swg1Fiz+DDvN+dc bRu/xF8U4554way9qGsewNnE+3U7UGlZWu9AFyRMO726wx1lCtm/5N+4MzYJEEBRvaLhFo xr1PdpFPm6os/g3n4AwvwGs8KX6a8cm/50wQtXPFRZWHSL4F/0DxyxDc6xRnTg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4cqMVM4F61zZ50 for ; Sun, 19 Oct 2025 15:12:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 59JFCB5N083975 for ; Sun, 19 Oct 2025 15:12:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 59JFCBh5083974 for pkg@FreeBSD.org; Sun, 19 Oct 2025 15:12:11 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: [Bug 290344] Delete all installed packages on pkgbase system Date: Sun, 19 Oct 2025 15:12:11 +0000 X-Bugzilla-Reason: AssignedTo CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: pkgbase X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkg@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Binary package management and package tools discussion List-Archive: https://lists.freebsd.org/archives/freebsd-pkg List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkg@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D290344 --- Comment #3 from Mark Millard --- (In reply to gnath from comment #2) The existing way to avoid pkg delete -a and the like from including base packages is to have FreeBSD-base have enable: no instead of enable: yes . This will exclude FreeBSD-base from consideration by default. This still allows using -r FreeBSD-base to explicitly reference base packages for commands that allow such -r REPONAME command line options. Deleting base packages would require temporarily reenabling FreeBSD-base, but at least such is likely to be less common. Also, "pkg fetch" may not allow the use of the -r FreeBSD-base option when FreeBSD-base has enable: no in use. Its man page is worded differently for its -r REPONAME option description. My original note was more about making sure folks reading would know for sure that you were after just port-package deletion, not "all installed packages" being deleted as pkg defines things. Some folks might not make the same implicit definitions that you do and, instead, follow the definitions that pkg actually uses. So: Just a clarity suggestion. --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.=