Looks like I am seeing the same old bug. I cant seem to install Kicad 9 on Ubuntu 24.04 due to a package dependencies issue. Upgrading throughout version 8 has been flawless.
So far I have uninstalled KiCad v8, and removed the ppa from sources. I do not have FreeCad installed (not sure if this would be related). Here is what I am seeing:
$ sudo apt -f install --install-recommends kicad --fix-broken
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.
Yeah, this is always an annoying issue that seems to pop up with major KiCad upgrades that nobody tells you about.
My own solution, upon seeing the error, is to simply uninstall all the āocctā nonsense, and let apt install whatever KiCad wants when I install the new version of KiCad.
Unless I was not following the correct method of uninstalling occt-misc aboveā¦
I assumed uninstalling occt-misc using the command above and allowing apt to install kicad would mean that the correct version of occt-misc would be installedā¦ But what I saw was that the kicad installer still would not allow me to install the correct version of occt-misc, resulting in the error above.
Uninstalling occt-misc alone did not seem to correct this. I needed to uninstall occt-misc and manually install the correct occt-misc version ā7.6.3+dfsg1-7.1build1ā first, then let apt install kicad.
try looking what you have under /etc/apt/sources.list.d/
i had a lot of old stuff that was messing with the installation.
cleaning it up and following this this i managed to complete the install. (Ubuntu 24.04)
Did you add the Ubuntu PPAs for KiCad as explained on the download page Install on Linux | KiCad EDA ? The packages are not in the official Ubuntu repos and wonāt automatically upgrade an existing installation. Also remove any out of date repos from your configuration.