Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Sep 2021 22:56:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        pkg@FreeBSD.org
Subject:   [Bug 258357] pkgbase upgrade leaves FreeBSD-utilities effectively uninstalled
Message-ID:  <bug-258357-32340-EJ6tKrPDLl@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-258357-32340@https.bugs.freebsd.org/bugzilla/>
References:  <bug-258357-32340@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258357

--- Comment #9 from Mark Johnston <markj@FreeBSD.org> ---
(In reply to Mark Johnston from comment #8)
... or not.  It still repros with cached packages, sometimes.  I have no id=
ea
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 separa=
te
install/delete jobs upon conflicts.  Conflicts are reported in this case, as
the new FreeBSD-utilities contains files from the old FreeBSD-libbsdxml etc=
..=20
There is some logic to update job priorities in this case (and presumably t=
he
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.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-258357-32340-EJ6tKrPDLl>