Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Dec 2015 11:13:46 -0500
From:      "Michael B. Eichorn" <ike@michaeleichorn.com>
To:        Daniel Feenberg <feenberg@nber.org>, Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Migrating to FreeBSD from Debian
Message-ID:  <1449504826.1126.13.camel@michaeleichorn.com>
In-Reply-To: <alpine.LRH.2.11.1512071051450.29221@sas1.nber.org>
References:  <CAO-kBwffucnPVphm_ajbtAejjFiAv_Cp+v7jZ-xCTX7YTqk36w@mail.gmail.com> <86poyiuynx.fsf@gmail.com> <CAA2O=b_p-HPx+pPyFOgJMe02d5xrJe_aXJ8ZG9z+dHZCNwh91Q@mail.gmail.com> <56659FC8.8020904@FreeBSD.org> <CAA2O=b-dQMpnq=nJ6RMSvwBCa4kP4PB2k4c7nbTVrwtQkzStBg@mail.gmail.com> <444mfujmpd.fsf@be-well.ilk.org> <alpine.LRH.2.11.1512071051450.29221@sas1.nber.org>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Mon, 2015-12-07 at 10:54 -0500, Daniel Feenberg wrote:
> 
> On Mon, 7 Dec 2015, Lowell Gilbert wrote:
> 
> > > But we should warn then about not mixing ports & packages. I
> > > agree,
> > > pkg is a good choice [when pkg only].
> > 
> > That's gradually become a much smaller issue than it used to be.
> 
> What does the warning mean? That once I have installed a single
> package I 
> can never use ports? So if I want a port, and already have packages,
> I 
> have to uninstall all of the packages first and can never in the
> future 
> install any package? That seems extreme. Or is there a less
> restrictive 
> interpretation that is more correct?
> 
> daniel feenberg
> NBER

You can use them together, but you have to pay attention to make sure
that ports have options that are compatible with the options used to
create packages. Conversely you need to make sure that pkg doesn't
update a port with custom options back to a new package with the
default ones. Further it is important that the ports tree and the one
that packages are built off of stay in sync.

It can be done (with pkg lock, and the quartery ports branch), but it
tends to be fragile. For mixing in more than a handful of ports, using
poudriere (a personal repo builder) is usually better choice (esp. if
you have multiple systems).



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?1449504826.1126.13.camel>