* On 2025-03-27 at 17:23 GMT, Greg Troxel wrote:
Jonathan Perkin <jperkin%pkgsrc.org@localhost> writes:* On 2025-03-27 at 16:36 GMT, Greg Troxel wrote:Or is there some purge-harder mode invoked by pkgin when superceding? If so, I think that's a bug.pkgin only ever calls pkg_install, so any bugs are there, not in pkgin (unless I'm using the wrong flags, of course).What is the form of the call to pkg_add, for the case when pkgin wants to install php82 remove php update a bunch of php82-foo it seems likely then that the issue is in pkg_add.
It depends whether it's marked as SUPERSEDES or not. If a package is being superseded, the first pass is to remove it. Then upgrades are done in order of dependency levels, using pkg_add -DU for keep packages and -ADU for non-keep.
The order will be listed in the output as well as pkg_install-err.log.There are cases where the ordering is wrong, but I've as yet been unable to reproduce them in the test suite so that I can identify and fix.
-- Jonathan Perkin pkgsrc.smartos.org Open Source Complete Cloud www.tritondatacenter.com