You are not logged in.

#1 2025-09-22 07:26:10

chieri
Member
Registered: 2025-09-22
Posts: 2

[SOLVED] Force install a package without removing packages it replaces

I'm woking with some 7z-zstd archives. This requires aur/p7zip-zstd-codec which only works with the legacy p7zip (aur/p7zip-full-bin). I still want to use extra/7zip for standard 7z archives, so I hope to install both packages.
I'v checked the files provided by the two package and found no conflect. However extra/7zip marks p7zip in Provides, Replaces, and Conflicts With.
Is there a way to make pacman install one without removing the other, just like how -Rdd works?

Last edited by chieri (2025-09-23 02:45:57)

Offline

#2 2025-09-22 08:55:57

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

Re: [SOLVED] Force install a package without removing packages it replaces

Edit the p7zip-full-bin and remove Provides and Conflicts?

Offline

#3 2025-09-23 02:34:58

chieri
Member
Registered: 2025-09-22
Posts: 2

Re: [SOLVED] Force install a package without removing packages it replaces

seth wrote:

Edit the p7zip-full-bin and remove Provides and Conflicts?

Thanks, that works.
Was only thinking about removing Replaces from 7zip and forgot I can just edit the aur one. Guess I used too much yay sad
This should do until anyone needs to do this with two official packages.

Offline

Board footer

Powered by FluxBB