Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Dec 2014 17:26:18 -0500
From:      Brandon Allbery <allbery.b@gmail.com>
To:        Willem Jan Withagen <wjw@digiware.nl>
Cc:        "ports@freebsd.org" <stable@freebsd.org>
Subject:   Re: I do not quite understand why a BIND upgrade needs to touch soo much.
Message-ID:  <CAKFCL4UAzSXKoB%2BJo=a=nv%2BWaejcEXoDh2-yMauZxf_Dd8J4Eg@mail.gmail.com>
In-Reply-To: <548F5C6F.7040309@digiware.nl>
References:  <548F4F62.4020308@digiware.nl> <CAKFCL4WD7%2BSQthGQdwORwCzEYGTaO3Bjx-6ypwKNRGqNnWx7EQ@mail.gmail.com> <CAKFCL4XL16Mu3jhrMX7gRwnOoXOB63-_DHR2ufwJggzmQbH8bQ@mail.gmail.com> <548F5C6F.7040309@digiware.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Dec 15, 2014 at 5:10 PM, Willem Jan Withagen <wjw@digiware.nl>
wrote:
>
> Yup, more than true in the ultimate case.
> Although 'portupgrade bind99' in this case did not require any other
> packages to be upgraded too.
>

Hm; I'd expect it to notice the new gettext and build that as well, since
the new bind might depend on changes in it (it has no way of knowing that
in this case it's safe). OTOH this explains some of the screw cases that
portuprade used to get me into, which are why I use portmaster these
days....

Still leaves the point that 'pkg upgrade bind99' removes packages
> without reinstalling those. The only alternatives are:
>  -      pkg upgrade, and everything is upgraded
>  -      capture the list of deletion, and manually re-add them after
>         the upgrade
>

This comes of prebuilt packages. In theory, a poudriere setup could be
managed so that you updated only the bind99 Makefile. If you're relying on
the standard packages, or updating a poudriere ports tree without checking
/usr/ports/UPDATING first, you have no way to limit the update and get a
bind99 package built against the old gettext; you have little choice but to
upgrade everything.

Any other package manager would give you the same result. (Something like
nix gives you the option of the "In theory..." above about poudriere. The
*default* behavior won't differ.)

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b@gmail.com                                  ballbery@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKFCL4UAzSXKoB%2BJo=a=nv%2BWaejcEXoDh2-yMauZxf_Dd8J4Eg>