From nobody Wed Dec 10 08:28:18 2025 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 4dR85947M3z6KBDg for ; Wed, 10 Dec 2025 08:29:01 +0000 (UTC) (envelope-from ivy@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 "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dR8593bWvz3G9B for ; Wed, 10 Dec 2025 08:29:01 +0000 (UTC) (envelope-from ivy@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765355341; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=FsdKg9ewb3ErKvPd+pZ2LOwyKcm9BN/6on7MTuYZ1Sw=; b=K0TM0EfCgUr94lr/PNAMY7RFaYh/yZwswpZIsY/onKWivozwNvoyB+6281eCesDHs1C4wS X4mWZWjeDSgmU3fykNQ6cp18k9eR8qXa1vQSLT1hAeQACdXytvmYetBksYvTtPO50/RHgu gJ4A9oUJOSgC4CSdtTutXG+oc5fNrqJwS7UOvXrqS0/1Vlv/EPh1xMgORkG0SQR/mdL3xC ImLattsGZpuDvcH9oCXXn5doVR7PAxynkLDtbcBnfbnYEcNEKTHILv+Y5ZFn+c7yX/o02S HYG3LxXah2tXSLIuRoI+OFMOjpfRhL9li6FCgN6GVyc81NjfJRizZ/kWm3uN5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765355341; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=FsdKg9ewb3ErKvPd+pZ2LOwyKcm9BN/6on7MTuYZ1Sw=; b=vZ8LfhRHwhhx9gaEyD+e61v5QtUEyAePIt0TMx9F9SCaXR7C5SIOg9ii4UTvz0GomaXrT/ rXec3dbpi039ClydVj8ihKq0tAQxBoo9E0K9UloctJBAgsj1a6GVDe3ORR0Gd//lxl8r+8 BNnmcd99lGXRRmRa3+MtOVXYGlWdPWJc7diAHvfSrnQXfv5kbT/ZAptJaGC22DF/DA7mjG AVewo0DARQPvxIlSP/isNo8JIefLMERD/FA5zBq87e9+NoA53/ailDGbBqrXvAaTbyN6r0 VCnj0o6xBAPUrJk0hp5/V4drwarkD5ovxdTfTjxpI0uJ8Or4sL/VYpaAFa+i+w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765355341; a=rsa-sha256; cv=none; b=AP+ZnAjs4eGAn2ErJJVQKqbYk6hi5J/q8ItrYk8sZU/IEoUeeZQNQUI5BjCnis0TjSsuY+ 0NkKpAN+27jAY9K4u5dzvV1GeLQnkASuSF8It9a2E3tlc4L+VdJr0AJtNr78NyqDrsTM57 gzt3qeuGAE18QBuV9K+Xfo3XzMiw0WvQoq3PQJ/w/VQsO74E2WP2wgecX7tokGxS5azRtO f3uE0t8kUFsQjwZLR4zFJjz+uWxhQEQ8xT+iFbh3T9hWHgVv//db2Gy7JgW7ONmLsREX+X H9xdm+8+30JHUA6ZapsxNpvV9c/4WOAsiXST0+ppxw8BTKIKgAdyfN7GHq/GAg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from amaryllis.le-fay.org (amaryllis.le-fay.org [IPv6:2a00:1098:6b:400::9]) (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: ivy/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4dR8591QGfz13Xb for ; Wed, 10 Dec 2025 08:29:01 +0000 (UTC) (envelope-from ivy@freebsd.org) Date: Wed, 10 Dec 2025 08:28:18 +0000 From: Lexi Winter To: FreeBSD questions Subject: Re: (2517) the error message when removing a dependency of a vital package is uninformative (was: Trying to understand base system packages) Message-ID: Mail-Followup-To: FreeBSD questions References: <20251205122830.cb88058f193987b47a95a77c@gmail.com> <20251205134510.6fae5caf@dorfdsl.de> <20251205143119.441cc1bd8722345d074a4480@gmail.com> <16e766b9-f442-4cef-a991-c940f6b8182a@gmail.com> <20251207081139.7e2f65b97b4c089ac0add431@gmail.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 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="B71M9ARuLmRxaFas" Content-Disposition: inline In-Reply-To: <20251207081139.7e2f65b97b4c089ac0add431@gmail.com> --B71M9ARuLmRxaFas Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Sad Clouds wrote in <20251207081139.7e2f65b97b4c089ac0add431@gmail.com>: > - I don't understand the design of base meta packages (sets?) and there > is no documentation that describes this well. The freebsd-base(7) > mentions briefly that some packages are grouped into sets, but does not > go deeper, does not explain about the "vital" dependency flag and does > not provide examples of how to view and manage packages sets. In fact > the pkg(8) man page is missing the new "sets" command. there is no "sets" command. you're right, this is not well documented. i was hoping someone would write Handbook content for this before release, but no one did, and i did not have time to do it myself. fwiw, we expect to replace these metapackages with proper package groups once pkg supports this; pkg developers are currently working on this. > - I'm still stuck with a system where I cannot delete individual > packages which I do not need. the procedure to remove a package which is part of an installed set is: - remove the installed set using pkg delete -f - mark all packages which were previously part of the set as manually installed, using pkg set -A0. (you may check "pkg autoremove" to see which packages need to be modified). this is to ensure that pkg doesn't unexpected autoremove these packages later. - remove the packages you actually want to remove, without using -f. (if you need -f here, something went wrong in a previous step.) > I'm sorry but the optional meta package and sendmail (which is part of > it) are not vital and there needs to be an easier way to remove them. > Isn't this the whole point of having base packages, so that the system > can be customised much easier by installing/removing individual > packages, instead of building custom release with custom src.conf > options for different use cases? =20 yes, this is precisely the point of pkgbase. however, pkgbase in 15.0 is shipped as a tech preview, and there are several features and edge cases which do not work as well as we would like. > The base set includes all other sets, why? because the base set means "the entire base system", which implies that it also installs all other sets. if you do not want to install "the entire base system", you should remove (or not install) the base set. --B71M9ARuLmRxaFas Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQSyjTg96lp3RifySyn1nT63mIK/YAUCaTkvHwAKCRD1nT63mIK/ YBFIAP90uRzdBmitgHaba5urMM6s001uF9yDt5bleJyw2JgoxQEAxsVpljRHWFS5 ZsQzlsDWAhtUqnT9okWJ8bdFdKYY4ww= =lTPT -----END PGP SIGNATURE----- --B71M9ARuLmRxaFas--