V9.0 not working on Ubuntu 24.04

Looks like there is some issue on the Ubuntu builds for V9.0. Maybe effects all Ubuntu versions but I’ve tested on 24.04.

It installs but the .deb file is missing all the binaries.

image

Looking at deb files on the PPA for other Ubuntu version, it looks like they are all broken

image

Known issue, check back in several hours

2 Likes

Should be fixed now (for Noble and Plucky at least, the other series are lagging behind a few hours)

Getting a dependency issue now.

Was running stable 8.x and 9.x nightly before without issues. Have now tried removing both and re-installing 9.0.

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-9~ubuntu24.04.1 is to be installed
E: Unable to correct problems, you have held broken packages.

Getting this on both my Ubuntu 24.04 devices.

Seen a few references to this issue if you are running FreeCAD but I don’t have it installed.

2 Likes

Problem with updating libraries (occt and ngspice)

Removal and re-installation of occt-misc fixed the issue.

sudo apt-get remove occt-misc
sudo apt-get purge occt-misc
sudo apt-get install libocct-visualization-7.6

This is not a solution to the problem because all programs that use version 7.8 stop working

1 Like

Found this issue which was raised this this:

I had the same problem now with v9 and I had the same problem with v8. Back then, I solved the problem by installing the flatpak version. Unfortunately, as of this writing, I don’t think v9 is available from flatpak, at least not yet. And I agree, the suggestion to pin libocct-visualization to version 7.6 may help install KiCAD9 from the ppa aliright, but is not acceptable if it disables other programs! So, the solution checkmark, above, should be removed?

Try removing the other PPAs for KiCad (leave only the 9.0 stable one), then remove occt and install kicad (which should also install occt again)

@craftyjon, thank you for your advice, but it did not work. I deleted the kicad9 repo and made sure no other kicad repo was installed, I purged anything with ‘occt’ or ‘kicad’ in its name with sudo apt remove --purge '*occt*' '*kicad*' (I was shown a long list of matches of either glob but there was nothing to purge), then reinstalled the v9 repo with sudo add-apt-repository ppa:kicad/kicad-9.0-releases and then tried to install kicad. Strangely, I got the same error:

~$ 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.8.1+dfsg1-3~ubuntu24.04.1 is to be installed
E: Unable to correct problems, you have held broken packages.

So, there is a misconfiguration by the packagers, then? Why does apt insist on installing 1:7.8.1+dfsg1-3~ubuntu24.04.1 and not a compatible version? I am running stock 64-bit Ubuntu 24.04LTS, fully updated.

Do you have some other PPA that provides OCCT? Maybe FreeCAD?

1 Like

@craftyjon, you nailed it!!! Thank you! I had the ppa for the development version of FreeCAD active, but I don’t need it because I have installed both the stable and development version of FreeCAD as AppImages. Now, kicad installed properly. However, the plugin manager lists but cannot install some plugins, among them kicad-action-scripts and Replicate Layout. Strangely enough, kicad-action-scripts refers to the RF toolkit web page (both by @easyfw). The RF toolkit was not installable from the plugin manager, until the very recent versions of KiCAD8 and the current version of KiCAD9. Otherwise, I am eager to give KiCAD9 a spin! Thanks again!

1 Like

why not just update the library in ppa to version 7.8.? I reported this to the repository maintainer. This also applies to ngspice 44.

I’m not 100% sure, but I believe that the Replicate Layout plugin is deprecated since KiCad v9 now has “Multi-channel design support” natively.

Because it would break any other software that is built against the version of OCCT provided by Ubuntu. If you want a newer OCCT I recommend using the software from AppImage or Flatpak.