So I want to install obs studio browser, I got a pop up about conflicting package, and I want to replace it. But then it got me an error like this, how I can install it then? Or should I install flatpak obs?
looking for conflicting packages…
:: vlc-plugin-luajit-3.0.21-22 and vlc-plugin-lua-3.0.21-31.1 are in conflict. Remove vlc-plugin-lua? [y/N]
error: unresolvable package conflicts detected
:: vlc-plugin-luajit-3.0.21-22 and vlc-plugin-lua-3.0.21-31.1 are in conflict
error: failed to prepare transaction (conflicting dependencies)
Yes. if you try to uninstall a package, you will get an error if something requires it to function which requires you to uninstall that first too to uninstall it (only exceptions are optional dependencies)
However, the reason vlc-plugin-luajit-3.0.21-22 and vlc-plugin-lua-3.0.21-31.1 are in conflict. or indeed just about any other pair of packages conflict and cannot be installed at the same time, is because they provide the same function through different means.
E.g. you’re replacing vlc lua plugin with vlc luajit plugin here, this should not break anything that depends on it in almost every case you encounter this kind of situation.