From nobody Sun Oct 9 16:06:36 2022 X-Original-To: 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 4Mln3l6dmqz4f0V4 for ; Sun, 9 Oct 2022 16:06:43 +0000 (UTC) (envelope-from doug@safeport.com) Received: from fledge.watson.org (fledge.watson.org [147.160.157.40]) (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 "A1-48603", Issuer "A1-48603" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Mln3k6QDhz3vJ2 for ; Sun, 9 Oct 2022 16:06:42 +0000 (UTC) (envelope-from doug@safeport.com) Received: from fledge.watson.org (doug@localhost [127.0.0.1]) by fledge.watson.org (8.16.1/8.16.1) with ESMTPS id 299G6anm004045 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Sun, 9 Oct 2022 16:06:36 GMT (envelope-from doug@safeport.com) Received: from localhost (doug@localhost) by fledge.watson.org (8.16.1/8.16.1/Submit) with ESMTP id 299G6aIS004042 for ; Sun, 9 Oct 2022 16:06:36 GMT (envelope-from doug@safeport.com) X-Authentication-Warning: fledge.watson.org: doug owned process doing -bs Date: Sun, 9 Oct 2022 16:06:36 +0000 (UTC) From: doug Reply-To: doug@safeport.com To: questions@freebsd.org Subject: Re: pkg upgrade vs building from source In-Reply-To: <20221009072514.8f0fa115a2fd21c4d071fc43@sohara.org> Message-ID: <25e14271-3e90-70b-8f88-d75d803b76de@safeport.com> References: <3da3d329-a19d-51cd-0f78-ef77dbf66bfe@holgerdanske.com> <99bb01a2-e099-4a52-808d-b1e4ec28385f@app.fastmail.com> <20221009072514.8f0fa115a2fd21c4d071fc43@sohara.org> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Rspamd-Queue-Id: 4Mln3k6QDhz3vJ2 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=fail (mx1.freebsd.org: domain of doug@safeport.com does not designate 147.160.157.40 as permitted sender) smtp.mailfrom=doug@safeport.com X-Spamd-Result: default: False [-2.09 / 15.00]; R_SPF_FAIL(1.00)[-all]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.998]; NEURAL_HAM_SHORT(-1.00)[-0.996]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[safeport.com]; MLMMJ_DEST(0.00)[questions@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; HAS_REPLYTO(0.00)[doug@safeport.com]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:6405, ipnet:147.160.157.0/24, country:US]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; RCPT_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; HAS_XAW(0.00)[]; REPLYTO_ADDR_EQ_FROM(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On Sun, 9 Oct 2022, Steve O'Hara-Smith wrote: > On Sat, 8 Oct 2022 16:25:24 -0700 > paul beard wrote: > >> It would be best to rely on one or the other, to be sure. Pkg handles the >> registration of ports/pkgs alike so not sure if I can query if a port was >> built from source or as a pkg. I don't think I have installed many from >> source, just postfix for certain. That may have been unduly hasty. > > One catch when mixing a few ports into a mostly package based setup > is that the port build often builds dependencies which can then get used by > packages installed later. The trick is to use make install-missing-packages > before building (I used to use pkg install -A `make missing` before I > discovered that). Then pkg lock the port. First I want to say pkg is vastly superior to the system it replaced. For us production servers are created with poudriere saving ports trees at each level we create a server. I am a FreeBSD workstation guy using only pkg. I use Xfce, firefox, and thunderbird which is a fairly toxic combination because of dynamic libraries and other dependencies among that set. When I install anything new if it ends up wanted to upgrade any of the major systems, I test it out on a jail. Finally there are some 150k+ ports and 80K modules comprising FreeBSD. The number of possible combination of interactions is pretty large.