New comment by TeusLollo on void-packages repository https://github.com/void-linux/void-packages/issues/41209#issuecomment-1362923545 Comment: I'm still not very familiar with `xbps`, but it looks to me also that having some of kind of pre-transaction hooking mechanism to issue special commands to would also simplify things when such potential conflicts occur. This `xbps` fork, for example, claims to have both a pre-transaction and post-transaction hooking mechanism akin to, I speculate, `pacman`. https://github.com/pandom79/xbps/tree/new-xbps-pkgkit-2.0 Mind you I haven't tested nothing of it, nor I have audited the actual coding quality, nor I know anything about this user. Compared to Arch, I'm actually impressed at how hooking mechanisms are scarcely necessary overall, and how `xbps` is more resilient than `pacman` overall. Still, if such edge cases become relevant enough, I guess transaction hooks may become more of a necessity. Otherwise, sticking to template-based checks as it's been done here may also work in most cases, I guess.