You are not logged in.
I haven't been able to find a clean way to install two packages that have a valid conflict with a way to prioritize one over another on updates. Currently I just manually install the "higher priority" package every time I do a system update, but I feel like there should be some (perhaps janky or advanced) way to configure pacman and/or an AUR helper to manage it automatically. In my specific case I use renameutils mainly for qmv, but I also use imv for image viewing. There's an obvious conflict since renameutils also provides imv. Is there any way to install renameutils and imv in such a way that the imv executable is from imv, but the rest of the renameutils executables are still available?
Offline
No, you'd have to repackage one of them, removing or renaming the file.
But renameutils also hasn't been updated in 3 years? So how frequent is this problem?
Offline
Its less renameutils that's the problem, more imv. I just install renameutils once, but have to keep manually re-installing imv whenever there's an update. You might be right that its best to manually repackage renameutils instead, and just not install imv with it. If no better solution is found I'll mark it as solved in a few days. Thanks.
Offline
Is the problem that you're trying to install a package that is marked as conflicting or that you run into the file collision?
For the former you could just remove renameutils from the database "pacman -R --dbonly renameutils"
Last edited by seth (2026-03-22 16:08:59)
Offline