Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jul 2024 13:54:03 +0000
From:      bugzilla-noreply@freebsd.org
To:        pkgbase@FreeBSD.org
Subject:   [Bug 259785] pkgbase installation order is underspecified
Message-ID:  <bug-259785-36141-eNo5kA6yL5@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-259785-36141@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259785

--- Comment #6 from Gleb Popov <arrowd@FreeBSD.org> ---
(In reply to Mark Johnston from comment #5)
> Look at e.g., release/packages/certctl.ucl.

I see, thanks. If certutil's reverse dependencies do not require running this
script to run for their own upgrading - then this post-install script can be
converted to a trigger and run at the end of the whole upgrade.

I think we should strive for this as much as possible.

> Splitting is necessary sometimes, but pkg has control over which package's upgrades are split.

Ah, right. I was hacking on the relevant code recently but in my case one
package was depending on another which is why the split order was defined.

> And, when a split is necessary, the solver should try to ensure that the install job is scheduled as early as possible.

Yes, this sounds like a proper solution. Thanks for explanations!

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

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-259785-36141-eNo5kA6yL5>