this post was submitted on 16 Feb 2025
8 points (100.0% liked)

linux4noobs

1745 readers
6 users here now

linux4noobs


Noob Friendly, Expert Enabling

Whether you're a seasoned pro or the noobiest of noobs, you've found the right place for Linux support and information. With a dedication to supporting free and open source software, this community aims to ensure Linux fits your needs and works for you. From troubleshooting to tutorials, practical tips, news and more, all aspects of Linux are warmly welcomed. Join a community of like-minded enthusiasts and professionals driving Linux's ongoing evolution.


Seeking Support?

Community Rules

founded 2 years ago
MODERATORS
 

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

top 4 comments
sorted by: hot top controversial new old
[–] [email protected] 6 points 4 weeks ago* (last edited 4 weeks ago) (1 children)

This is usually because both packages have files at identical locations and so allowing you to install both would mean one would partially get overwritten by the other.

I did a little searching and found that wine-cachyos now includes wine-mono, so you will want to uninstall wine-mono (as well as wine-gecko apparently according to this thread) by answering the prompt with "Y". I assume it will also prompt you about wine-gecko so you should be able to just answer the prompts with Y and it should work.

[–] [email protected] 1 points 2 weeks ago (1 children)

Thank you.

Is this the case for every Conflicts ? ( I guess not )

[–] [email protected] 2 points 2 weeks ago (1 children)

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.

[–] [email protected] 1 points 2 weeks ago

Thank You.

Dependencies 😵‍💫