I am using CachyOS (Arch btw) and when I tried to update using paru
, it says some packages are in conflict, and asking to remove those. What should I do ?
I didn’t find the best help from searching by myself ?
❯ paru
:: Synchronizing package databases...
cachyos-v3 is up to date
cachyos-core-v3 is up to date
cachyos-extra-v3 2.5 MiB 484 KiB/s 00:05 [--------------------------------------------------------------------] 100%
cachyos is up to date
core is up to date
extra is up to date
multilib is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
:: wine-cachyos-2:9.0.20250126-2 and wine-mono-9.4.0-1 are in conflict. Remove wine-mono? [y/N] n
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: wine-cachyos-2:9.0.20250126-2 and wine-mono-9.4.0-1 are in conflict
~ 17s
Thank you.
Is this the case for every Conflicts ? ( I guess not )
You will always have to pick one or the other in a conflicts scenario, sometimes it’ll be harder to decide what to pick because you may have important programs that depend specifically on one of them. Ideally if there are conflicting packages, anything that depends on them will accept either but it’s possible that the conflicting packages will be different variants of a program, and that other packages that depend on them need a specific variant.
So for example you could have a situation where A and B conflict, and C depends on B but not A, and D depends on A but not B, so you’d have to decide whether you want to keep A and D or B and C. If you want both C and D then you’d have to install one via an alternate method, either flatpak or docker or a chroot or some other way that isn’t the conflicting system packages. That should be a rare scenario though and I mostly encounter it when I have an old package installed that hasn’t been updated to accept both conflicting packages so I just remove it to not deal with it.
Thank You.
Dependencies 😵💫