Hi, after updating 22.04, I can not install KiCAD 7, message about unmet dependencies:
The following packages have unmet dependencies:
libocct-data-exchange-7.6 : Breaks: libocct-data-exchange-7.5 but 1:7.5.2+dfsg1-0~202107020155~ubuntu22.04.1 is to be installed
libocct-foundation-7.6 : Breaks: libocct-foundation-7.5 but 1:7.5.2+dfsg1-0~202107020155~ubuntu22.04.1 is to be installed
libocct-modeling-algorithms-7.6 : Breaks: libocct-modeling-algorithms-7.5 but 1:7.5.2+dfsg1-0~202107020155~ubuntu22.04.1 is to be installed
libocct-modeling-data-7.6 : Breaks: libocct-modeling-data-7.5 but 1:7.5.2+dfsg1-0~202107020155~ubuntu22.04.1 is to be installed
libocct-ocaf-7.6 : Breaks: libocct-ocaf-7.5 but 1:7.5.2+dfsg1-0~202107020155~ubuntu22.04.1 is to be installed
libocct-visualization-7.6 : Breaks: libocct-visualization-7.5 but 1:7.5.2+dfsg1-0~202107020155~ubuntu22.04.1 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
It seems that you have installed another software that makes use of Open CASCADE stuffs version 7.6.
However, Ubuntu 22.04 itself only provides them up-to version 7.5. And these two versions are not compatible with each others.
So, that might come from an external PPA for instance.
Try getting reverse dependencies on some of those packages to see from which software it comes.
Eg. with: apt-cache rdepends --installed libocct-visualization-7.6
In any case, the cure will probably be to uninstall that other software unfortunately…
Otherwise, try installing either KiCad or that other software using a “containerized” form like a Snap, or a Flatpack, if that exists for one of them. But that usually means greater pains in the end…
@craftyjon this was not fixed with the 7.0.11 release.
7.0.11 depends on libocct-*-7.6, which “breaks” 7.5, which is what the freecad package depends on in 22.04 (0.19.2+dfsg1-3ubuntu1, not a PPA).
That’s a different problem. You will have to use FreeCAD from PPA rather than from Ubuntu if you also want to use KiCad from PPA. We’re trying to keep our PPA in sync with their PPA, so that people who want to run the newer versions of both have compatible OCC.