ports, packages, jails
freebsd at qeng-ho.org
Wed May 20 11:14:08 UTC 2015
On 20/05/2015 11:14, Luca Ferrari wrote:
> Hi all,
> reading some recent discussions I start wondering what the real
> problem with mixing ports and packages is and why one should use jails
> to build ports (e.g., as poudriere does). What is the real advantage
> of using a building system with regard to a "normal" usage of ports
> and packages?
To answer your questions in reverse order, building in a jail has the
advantage that it doesn't affect the main host until everything has been
compiled successfully. In the past, when I used portmaster for updating,
on a few occasions it would would update some ports and then fail on one
with a buggy update, leaving my machine in mixed state that meant I
couldn't use a graphical desktop and/or some services didn't work.
Making the update of the running machine separate from rebuilding the
ports in poudriere means I don't get those problems.
As for mixing ports and packages, there are a couple of possible
problems. One is that using ports probably means you've changed some
options to non-default values. Packages are built with default options,
so clashes can occur. The other is that (re)building all the packages
takes time, so for a period a package may be at an earlier version than
the same software built from /usr/ports. This can also cause problems.
Those who do not learn from computing history are doomed to
More information about the freebsd-questions