[Bug 258357] pkgbase upgrade leaves FreeBSD-utilities effectively uninstalled

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 09 Sep 2021 22:56:53 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258357

--- Comment #9 from Mark Johnston <markj_at_FreeBSD.org> ---
(In reply to Mark Johnston from comment #8)
... or not.  It still repros with cached packages, sometimes.  I have no idea
why it is intermittent.

In any case, based on debug logs the problem is related to
pkg_jobs_set_execute_priority(), which may split an upgrade job into separate
install/delete jobs upon conflicts.  Conflicts are reported in this case, as
the new FreeBSD-utilities contains files from the old FreeBSD-libbsdxml etc.. 
There is some logic to update job priorities in this case (and presumably the
problem would not occur if the new FreeBSD-utilities is installed after the old
one is deleted), but I don't quite understand the code yet, or in particular
this "remote"/"local" package abstraction.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Thu Sep 09 2021 - 22:56:53 UTC

Original text of this message