Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Oct 2022 16:06:36 +0000 (UTC)
From:      doug <doug@safeport.com>
To:        questions@freebsd.org
Subject:   Re: pkg upgrade vs building from source
Message-ID:  <25e14271-3e90-70b-8f88-d75d803b76de@safeport.com>
In-Reply-To: <20221009072514.8f0fa115a2fd21c4d071fc43@sohara.org>
References:  <CAMtcK2rPSxd0DignXvzw%2BnNc1U1iYpBjGpN%2BtqA4zevUO4qkQA@mail.gmail.com> <e4544587-50bb-55e8-3284-58a76b3a69f7@freebsd.org> <CAMtcK2rp2JLHpWJbQHv1DQBB8MS3=ro9hbJF0orUEK3rqJ5xLw@mail.gmail.com> <3da3d329-a19d-51cd-0f78-ef77dbf66bfe@holgerdanske.com> <CAMtcK2qLsodE2QSE7uLZkoRRo7ogHNmfHGJAHTR9g2ZP8HgpfQ@mail.gmail.com> <99bb01a2-e099-4a52-808d-b1e4ec28385f@app.fastmail.com> <CAMtcK2qfE=HLtYCMxF=0XW1bateO9Hv7N4bW%2BjQ34gBh4sAF_Q@mail.gmail.com> <20221009072514.8f0fa115a2fd21c4d071fc43@sohara.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 9 Oct 2022, Steve O'Hara-Smith wrote:

> On Sat, 8 Oct 2022 16:25:24 -0700
> paul beard <paulbeard@gmail.com> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?25e14271-3e90-70b-8f88-d75d803b76de>