Kicad 9 - Ubuntu 24.04

I am installing Kicad 9 (from the PPA) on Ubuntu 24.04.
I always find issues like this when installing a new version. Why this always happens?
Can we have a solution that allows users to use newer Kicad versions in existing OS?

➜ sudo apt install kicad
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libocct-visualization-7.6t64 : Depends: occt-misc (= 7.6.3+dfsg1-7.1build1) but 1:7.6.3+dfsg1-8~ubuntu24.04.1 is to be installed
E: Unable to correct problems, you have held broken packages.

I could find a quick (dirty) solution… I am going to test this to see if it works.

1 Like

Ok, awesome. This seems to be working (installing it). Thanks.

1 Like

This does not solve anything, it just pushes the issue to another place.
It looks like it keeps fighting with Freecad

Kicad and Freecad should coexist.

Neither KiCad nor FreeCAD should put Opencascade in their PPA in my opinion if a usable version exists in the upstream Ubuntu repo; it just causes issues like this. This is why KiCad removed it from the PPA. In my opinion FreeCAD should be putting more warnings on their PPA about the fact that it installs an Opencascade that conflicts with any software that is built against the Ubuntu upstream. Ultimately, since FreeCAD is also distributed as an AppImage, that is what people on Ubuntu should use instead of a PPA in most situations, since it will prevent conflict with KiCad or any other application. KiCad also wants to move to AppImage distribution in the future so that we can use newer versions of libraries without getting into problems like this.

1 Like

For freecad I use AppImages which will solve this. The problem happens when we want to build things in our systems while installing dependencies globally.

KiCad also wants to move to AppImage distribution in the future so that we can use newer versions of libraries without getting into problems like this.

Oh, that is exactly what I was about to ask. Ok, that’s good.

In my observations, portable versions of programs have performance issues. Now there is flatpack and it is in an isolated environment with its libraries. A similar problem with Kicad and the built-in NGSpice if you install it from PPA it breaks the dependencies of other programs that use this library. It is enough to install the package in a separate folder with all the dependencies and this is a question for the PPA packer