9
What to do if packages are in Conflict ?
(lemmy.today)
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.
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 😵💫