You are not logged in.

#1 2026-03-21 22:43:10

Lambdabeta
Member
Registered: 2026-03-21
Posts: 2

Installing conflicting packages by overwriting conflicting files

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

#2 2026-03-22 08:19:02

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,257

Re: Installing conflicting packages by overwriting conflicting files

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

#3 2026-03-22 15:33:31

Lambdabeta
Member
Registered: 2026-03-21
Posts: 2

Re: Installing conflicting packages by overwriting conflicting files

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

#4 2026-03-22 16:08:41

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,257

Re: Installing conflicting packages by overwriting conflicting files

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

Board footer

Powered by FluxBB