Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jul 2024 13:17:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        pkgbase@FreeBSD.org
Subject:   [Bug 259785] pkgbase installation order is underspecified
Message-ID:  <bug-259785-36141-DTASgT3xfx@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-259785-36141@https.bugs.freebsd.org/bugzilla/>
References:  <bug-259785-36141@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=3D259785

--- Comment #4 from Gleb Popov <arrowd@FreeBSD.org> ---
(In reply to Mark Johnston from comment #3)
> That would help, but it's possible that pkgbase packages will have some p=
ost-install scripts that rely on other packages.

I believe this is an extremely rare situation in Ports and if it happens th=
en
it is post-install scripts that should be fixed. By delaying the execution =
via
triggers, for example.

Anyways, I don't know much about pkgbase, why do pkgbase packages have
post-install scripts at all?

> IMO the right answer is that some packages must be marked such that the s=
olver does not split the upgrade job for them.

Hmm, pkg performs that splitting because it has to. We can't just disable i=
t,
otherwise there would be no splits at all. If a file belonging to one packa=
ges
is moved to an another on during the upgrade, but the dependence is the oth=
er
way around, we have to split and it can't be avoided. Or am I missing
something?

--=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-259785-36141-DTASgT3xfx>