Subject: Re: CVS commit: pkgsrc/pkgtools/pkg_install/files/admin
To: None <pkgsrc-changes@NetBSD.org>
From: Greg Troxel <gdt@ir.bbn.com>
List: pkgsrc-changes
Date: 08/10/2007 18:49:45
Joerg Sonnenberger <joerg@britannica.bec.de> writes:

> On Fri, Aug 10, 2007 at 10:39:14PM +0000, Greg Troxel wrote:
>> Log Message:
>> Reword description of rebuild-tree, and point to pkg_delete -f as a
>> possible cause of inconsistencies. Remove comment about make replace,
>> since it does not, absent pkgsrc/mk bugs, result in incorrect
>> dependency records.
>
> I'm not sure. If it creates a conflict, that might actually happen for
> make replace.

Hmm.  I haven't seen it.  What make replace does is save the
+REQUIRED_BY, remove the package, put the new package in place, and then
+restore +REQUIRED_BY, and then patch up every depending package to
+point to the new place.  I'm not sure wha you mean by conflict - I can
+believe, on reflection, that a failed make replace can leave things
+inconsistent.  I just didn't want to give the incorrect impression that
+normal make replace messes up +REQUIRED_BY files.