From nobody Mon Oct 10 13:47:19 2022 X-Original-To: ports@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 4MmKxB2lQtz4fSqM for ; Mon, 10 Oct 2022 13:47:58 +0000 (UTC) (envelope-from ps.ports@smyrak.com) Received: from ipv6.s149.cyber-folks.pl (ipv6.s149.cyber-folks.pl [IPv6:2a02:1778:113::68:149]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4MmKx76gh0z40S9 for ; Mon, 10 Oct 2022 13:47:55 +0000 (UTC) (envelope-from ps.ports@smyrak.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=smyrak.com; s=x; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References: In-Reply-To:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=79q1vPZKXpsjQZyoOExd95S0HMLPtIbc3h7piOktvO4=; b=jeDVXvJWicUWzfA0PqzBDn5sW+ VWje+Z2fq3LMg8UTR0KCBCJMWVgusNbxjiVQw9GH/o4N3n3j+CiiZtKE091O30H5lloxlfMAulcYV QBQYEhQZFd0KAp6jiGmI/yig/GYYe6qsyE+8F9h84qfHXiNFNyVbQzo24B4g1u7fRKNNlF5JNqBPl 4tCC+H3r1t5kFqLAZVxRWlqL93+uqzL2oyQJQYy19nuAEKr1fMuwXLGy6e+jF69OfVXUT9sVHCrYR g68G/FXbe5E8c5pGhH9gCKmgkBZMYstBK+LT/MYP45jmEKlaD1hFiNBt8HOBwfJdEdhQuvzZmAuFe y0ceTeNA==; Received: from 93-181-165-201.internetia.net.pl ([93.181.165.201] helo=daleth.home) by s149.cyber-folks.pl with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1oht8L-0024aR-QB; Mon, 10 Oct 2022 15:47:53 +0200 Date: Mon, 10 Oct 2022 15:47:19 +0200 From: Piotr Smyrak To: ports@freebsd.org Cc: Dan Mahoney Subject: Re: Default versions and pkg (slight rant) Message-ID: <20221010154719.6a58fa5b@daleth.home> In-Reply-To: References: List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Authenticated-Id: piero@smyrak.com X-Rspamd-Queue-Id: 4MmKx76gh0z40S9 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none ("invalid DKIM record") header.d=smyrak.com header.s=x header.b=jeDVXvJW; dmarc=pass (policy=none) header.from=smyrak.com; spf=pass (mx1.freebsd.org: domain of ps.ports@smyrak.com designates 2a02:1778:113::68:149 as permitted sender) smtp.mailfrom=ps.ports@smyrak.com X-Spamd-Result: default: False [-3.74 / 15.00]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.996]; NEURAL_HAM_LONG(-0.95)[-0.946]; DMARC_POLICY_ALLOW(-0.50)[smyrak.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2a02:1778:113::/48]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; R_DKIM_PERMFAIL(0.00)[smyrak.com:s=x]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[ports@freebsd.org]; ASN(0.00)[asn:41079, ipnet:2a02:1778::/32, country:PL]; RCVD_VIA_SMTP_AUTH(0.00)[]; DKIM_TRACE(0.00)[smyrak.com:~]; RCVD_COUNT_TWO(0.00)[2]; ARC_NA(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_SOME(0.00)[]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On Sun, 9 Oct 2022 12:18:22 -0700 Dan Mahoney wrote: > Pkg remove only attempts to remove things, not fix a running system. > Pkg doesn't have any option to keep leaf packages installed at all > cost. Nor does it fire the solver when doing a pkg remove. You can remove a force package and keep the leaf packages. # pkg delete -f some_dep That would remove the some_dep package and keep its children intact. Then I would suggest a sanity check with: # pkg check --shlibs # pkg check --dependencies -- Piotr Smyrak