You are not logged in.

#1 2020-11-20 17:40:46

Stef9998
Member
From: de
Registered: 2019-01-13
Posts: 6

package conflicts

Hi you all, I got a package conflict, and I'm not sure how to proceed.
I wanted to do a normal system update and now got the problem. output below

$ sudo pacman -Syu
[...]
looking for conflicting packages...
:: opencascade74 and opencascade are in conflict. Remove opencascade? [y/N] n
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: opencascade74 and opencascade are in conflict
$ sudo pacman -Syu
[...]
looking for conflicting packages...
:: opencascade74 and opencascade are in conflict. Remove opencascade? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: removing opencascade breaks dependency 'opencascade' required by kicad

So 'opencascade' is required by kicad. And 'opencascade74' is required by freecad.
What would be the recommended way to handle this situation?

My guess would be to force remove opencascade and install opencascade74, cause that will be the older version and kicad should be able to use that one I guess. But I would like to hear from someone with more experience what the recommended way would be.
Thanks in advance


Arch Linux, it's not perfect, but it's where I stopped distro-hopping.

Offline

#2 2020-11-20 20:43:00

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: package conflicts


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#3 2020-11-20 20:50:51

Stef9998
Member
From: de
Registered: 2019-01-13
Posts: 6

Re: package conflicts

Thanks for sharing. My quick google search appearently wasn't good enough^^
I will just --ignore updating freecad then till the problem will be solved.


Arch Linux, it's not perfect, but it's where I stopped distro-hopping.

Offline

#4 2020-12-13 05:37:07

informagic
Member
Registered: 2020-12-13
Posts: 1

Re: package conflicts

At the moment (2020-12-13) FreeCAD 0.18 does not work correctly with opencascade-7.5.0-2 (current version). Neither does KiCad 5.1.8, even though installing KiCad 5.1.8 currently depends on opencascade-7.5.0-2.

For example opening KiCad's 3D Viewer complains about missing symbol _ZN14Quantity_ColoC1Ev in the shared library libs3d_plugin_oce.so.

However, both, FreeCAD and KiCad work just fine with only opencascade74 installed.
So, IMHO, you should --ignore KiCad during your update instead of FreeCAD.
If you have opencascade (aka opencascade-7.5.0-2) installed, you can get rid of it without removing KiCad via the command:
# sudo pacman -Rdd opencascade

Then, you can install or update opencascade74 and FreeCAD.

After that, both, KiCad and FreeCAD will work with no problem (at least to my experience).

To sum things up, here are the commands needed to have KiCad and FreeCAD working with everything else updated:

sudo pacman -R kicad
sudo pacman -R opencascade
sudo pacman -R freecad
sudo pacman -R opencascade74
sudo pacman -Syu # This updates everything
sudo pacman -S kicad
sudo pacman -Rdd opencascade
sudo pacman -S freecad
sudo pacman -Rdd opencascade
sudo pacman -S opencascade74

Good luck!

Last edited by informagic (2021-01-02 05:32:05)

Offline

Board footer

Powered by FluxBB