Kicad in Linux Mint issue

Hi all, I successfully installed Kicad (5.1.12-xxxxx-ubuntu20.04.1) on a Mint 20.2 MATE 64bit old ASUS laptop, using ppa:kicad/kicad-5.1-releases but I got the following error trying to install it on another laptop (same Mint installation). Any idea for help? Thanks

Can’t find a source to download version ‘4.0.7+e2-6376~61~ubuntu18.04.1’ of ‘kicad:amd64’

Can you post the output of

sudo add-apt-repository --yes ppa:kicad/kicad-5.1-releases
sudo apt update
sudo apt install --install-recommends kicad

and also

cat /etc/os-release
sudo add-apt-repository --yes ppa:kicad/kicad-5.1-releases

You are about to add the following PPA:
This PPA host version of KiCad 5.1

To use it:

sudo add-apt-repository ppa:kicad/kicad-5.1-releases
sudo apt-get update
sudo apt install kicad
to have a full install:
sudo apt install --install-recommends kicad kicad-demos kicad-locale-XX kicad-doc-XX

With “XX” as you language code.
Languages availables for locales: bg ca cs de el es fi fr hu id it ja ko lt nl pl pt ru sk sl sv zh
Languages availables for doc: ca de en es fr it ja nl pl ru zh

If you don’t do a “full installation” you should be interested to install also:

  • kicad-libraries: a virtual package that will recommend you to install footprints, symbols, templates and 3D
  • kicad-symbols, kicad-templates, kicad-footprints, kicad-packages3d: if you want to manually select what library to install.
  • kicad-locale-XX: locales for your language (XX is your contry code. see apt search kicad-locale to find available languages)
  • kicad-doc-XX: documentation in your language. Same remark than kicad-locale-XX

** If you are using daily build AND want to stay in 5.1: **
You must remove daily build ppa from your sources and remove any existing kicad packages before installing any 5.1 version.
Keep in mind that daily build package will be always more recent than any release packages.
More info: https://launchpad.net/~kicad/+archive/ubuntu/kicad-5.1-releases
Executing: /tmp/apt-key-gpghome.SuNvkHOrjn/gpg.1.sh --keyserver hkps://keyserver.ubuntu.com:443 --recv-keys FDA854F61C4D0D9572BB95E5245D5502FAD7A805
gpg: key 245D5502FAD7A805: “Launchpad PPA for KiCad” not changed
gpg: Total number processed: 1
gpg: unchanged: 1

########################################################

sudo apt update

Hit:1 http://ppa.launchpad.net/alessandro-strada/ppa/ubuntu focal InRelease
Get:2 http://ppa.launchpad.net/freecad-maintainers/freecad-daily/ubuntu focal InRelease [17,6 kB]
Get:3 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Hit:4 http://ppa.launchpad.net/inkscape.dev/stable/ubuntu focal InRelease
Hit:5 http://archive.ubuntu.com/ubuntu focal InRelease
Ign:6 http://packages.linuxmint.com uma InRelease
Get:7 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Hit:8 http://ppa.launchpad.net/kicad/kicad-5.1-releases/ubuntu focal InRelease
Hit:9 http://packages.linuxmint.com uma Release
Hit:10 http://ppa.launchpad.net/stebbins/handbrake-releases/ubuntu focal InRelease
Get:11 http://archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
Get:12 http://ppa.launchpad.net/freecad-maintainers/freecad-daily/ubuntu focal/main amd64 Packages [5.608 B]
Get:13 http://ppa.launchpad.net/freecad-maintainers/freecad-daily/ubuntu focal/main i386 Packages [1.368 B]
Get:15 http://archive.ubuntu.com/ubuntu focal-updates/main i386 Packages [572 kB]
Get:16 http://security.ubuntu.com/ubuntu focal-security/main amd64 DEP-11 Metadata [35,7 kB]
Get:17 http://security.ubuntu.com/ubuntu focal-security/universe amd64 DEP-11 Metadata [64,5 kB]
Get:18 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 DEP-11 Metadata [2.464 B]
Get:19 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [1.392 kB]
Get:20 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 DEP-11 Metadata [277 kB]
Get:21 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [881 kB]
Get:22 http://archive.ubuntu.com/ubuntu focal-updates/universe i386 Packages [652 kB]
Get:23 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 DEP-11 Metadata [362 kB]
Get:24 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 DEP-11 Metadata [940 B]
Get:25 http://archive.ubuntu.com/ubuntu focal-backports/main amd64 DEP-11 Metadata [7.976 B]
Get:26 http://archive.ubuntu.com/ubuntu focal-backports/universe amd64 DEP-11 Metadata [11,3 kB]
Hit:27 http://archive.canonical.com/ubuntu focal InRelease
Fetched 4.620 kB in 10s (447 kB/s)
Reading package lists… Done
Building dependency tree
Reading state information… Done

##############################################################################

sudo apt install --install-recommends kicad

Reading package lists… Done
Building dependency tree
Reading state information… Done
The following additional packages will be installed:
kicad-doc-en
Suggested packages:
kicad-demo kicad-locale-ko | kicad-locale-ru | kicad-locale-pl | kicad-locale-pt | kicad-locale-ja
| kicad-locale-id | kicad-locale-ca | kicad-locale-it | kicad-locale-el | kicad-locale-zh
| kicad-locale-de | kicad-locale-sl | kicad-locale-cs | kicad-locale-bg | kicad-locale-sv
| kicad-locale-lt | kicad-locale-fi | kicad-locale-fr | kicad-locale-hu | kicad-locale-nl
| kicad-locale-es | kicad-locale-sk
Recommended packages:
kicad-library
E: Can’t find a source to download version ‘4.0.7+e2-6376~61~ubuntu18.04.1’ of ‘kicad:amd64’

##################################################################################

cat /etc/os-release

NAME=“Linux Mint”
VERSION=“20.2 (Uma)”
ID=linuxmint
ID_LIKE=ubuntu
PRETTY_NAME=“Linux Mint 20.2”
VERSION_ID=“20.2”
HOME_URL=“https://www.linuxmint.com/
SUPPORT_URL=“https://forums.linuxmint.com/
BUG_REPORT_URL=“http://linuxmint-troubleshooting-guide.readthedocs.io/en/latest/
PRIVACY_POLICY_URL=“https://www.linuxmint.com/
VERSION_CODENAME=uma
UBUNTU_CODENAME=focal

1 Like

Very odd. I think for some reason its not detecting your OS version. Looking at the top of the download page it says Linux mint is not officially supported so these links may/may not work :frowning:

You could try download the .deb file and manually install it. I’m not sure on the differences between Ubuntu and Mint, but since you have a working machine first have a look what version is installed:

dpkg -l | grep kicad

You should see something similar to

ii  kicad                                      5.1.12-202111050916+84ad8e8a86~92~ubuntu20.04.1 amd64        Electronic schematic and PCB design software

You can then have a look through

https://launchpad.net/~kicad/+archive/ubuntu/kicad-5.1-releases/+packages

to find the relevant .deb file, download it and manually install with
sudo dpkg -i filename.deb

You will probably run unto some dependency issues with a manual install which can be fixed with

sudo apt-get install -f

You will have to repeat the same sames to install the footprints, symbols, docs etc.

sudo dpkg -i kicad_5.1.12-202111050916+84ad8e8a86~92~ubuntu20.04.1_amd64.deb
dpkg: regarding kicad_5.1.12-202111050916+84ad8e8a86~92~ubuntu20.04.1_amd64.deb containing kicad:
kicad conflicts with liboce-foundation11
liboce-foundation11:amd64 (version 0.18.3-1build1) is present and installed.

dpkg: error processing archive kicad_5.1.12-202111050916+84ad8e8a86~92~ubuntu20.04.1_amd64.deb (–install):
conflicting packages - not installing kicad
Errors were encountered while processing:
kicad_5.1.12-202111050916+84ad8e8a86~92~ubuntu20.04.1_amd64.deb

########################################################################
Removed liboce (OpenCascade), then:

sudo dpkg -i kicad_5.1.12-202111050916+84ad8e8a86~92~ubuntu20.04.1_amd64.deb
(Reading database … 516348 files and directories currently installed.)
Preparing to unpack kicad_5.1.12-202111050916+84ad8e8a86~92~ubuntu20.04.1_amd64.deb …
Unpacking kicad (5.1.12-202111050916+84ad8e8a86~92~ubuntu20.04.1) …
dpkg: dependency problems prevent configuration of kicad:
kicad depends on libocct-data-exchange-7.5; however:
Package libocct-data-exchange-7.5 is not installed.
kicad depends on libocct-foundation-7.5; however:
Package libocct-foundation-7.5 is not installed.
kicad depends on libocct-modeling-algorithms-7.5; however:
Package libocct-modeling-algorithms-7.5 is not installed.
kicad depends on libocct-modeling-data-7.5; however:
Package libocct-modeling-data-7.5 is not installed.
kicad depends on libocct-ocaf-7.5; however:
Package libocct-ocaf-7.5 is not installed.
kicad depends on python3-wxgtk4.0; however:
Package python3-wxgtk4.0 is not installed.
kicad depends on libngspice-kicad | libngspice0; however:
Package libngspice-kicad is not installed.
Package libngspice0 is not installed.

dpkg: error processing package kicad (–install):
dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.31-0ubuntu9.3) …
Processing triggers for bamfdaemon (0.5.3+18.04.20180207.2-0ubuntu2) …
Rebuilding /usr/share/applications/bamf-2.index…
Processing triggers for desktop-file-utils (0.24+linuxmint1) …
Processing triggers for mime-support (3.64ubuntu1) …
Processing triggers for hicolor-icon-theme (0.17-2) …
Processing triggers for shared-mime-info (1.15-1) …
Errors were encountered while processing:
kicad

#############################################################################
sudo apt-get install -f
Reading package lists… Done
Building dependency tree
Reading state information… Done
Correcting dependencies… Done
The following packages were automatically installed and are no longer required:
libdxflib3 libgit2-28 libgl2ps1.4 libhttp-parser2.9 libmbedcrypto3 libmbedtls12 libmbedx509-0 libpodofo0.9.6
Use ‘sudo apt autoremove’ to remove them.
The following additional packages will be installed:
libngspice0 libocct-data-exchange-7.5 libocct-foundation-7.5 libocct-modeling-algorithms-7.5 libocct-modeling-data-7.5 libocct-ocaf-7.5
libocct-visualization-7.5 python3-wxgtk4.0
Suggested packages:
wx3.0-doc
The following NEW packages will be installed:
libngspice0 libocct-data-exchange-7.5 libocct-foundation-7.5 libocct-modeling-algorithms-7.5 libocct-modeling-data-7.5 libocct-ocaf-7.5
libocct-visualization-7.5 python3-wxgtk4.0
0 upgraded, 8 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
Need to get 28,3 MB of archives.
After this operation, 123 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ppa.launchpad.net/freecad-maintainers/freecad-daily/ubuntu focal/main amd64 libocct-foundation-7.5 amd64 1:7.5.2+dfsg1-0~202107020155~ubuntu20.04.1 [1.367 kB]
Get:2 http://archive.ubuntu.com/ubuntu focal/universe amd64 python3-wxgtk4.0 amd64 4.0.7+dfsg-2build1 [6.569 kB]
Get:3 http://ppa.launchpad.net/freecad-maintainers/freecad-daily/ubuntu focal/main amd64 libocct-modeling-data-7.5 amd64 1:7.5.2+dfsg1-0~202107020155~ubuntu20.04.1 [2.714 kB]
Get:4 http://archive.ubuntu.com/ubuntu focal/universe amd64 libngspice0 amd64 31.3-2 [1.863 kB]
Get:5 http://ppa.launchpad.net/freecad-maintainers/freecad-daily/ubuntu focal/main amd64 libocct-modeling-algorithms-7.5 amd64 1:7.5.2+dfsg1-0~202107020155~ubuntu20.04.1 [8.337 kB]
Get:6 http://ppa.launchpad.net/freecad-maintainers/freecad-daily/ubuntu focal/main amd64 libocct-visualization-7.5 amd64 1:7.5.2+dfsg1-0~202107020155~ubuntu20.04.1 [2.033 kB]
Get:7 http://ppa.launchpad.net/freecad-maintainers/freecad-daily/ubuntu focal/main amd64 libocct-ocaf-7.5 amd64 1:7.5.2+dfsg1-0~202107020155~ubuntu20.04.1 [1.224 kB]
Get:8 http://ppa.launchpad.net/freecad-maintainers/freecad-daily/ubuntu focal/main amd64 libocct-data-exchange-7.5 amd64 1:7.5.2+dfsg1-0~202107020155~ubuntu20.04.1 [4.170 kB]
Fetched 28,3 MB in 29s (988 kB/s)
Selecting previously unselected package libocct-foundation-7.5:amd64.
(Reading database … 516503 files and directories currently installed.)
Preparing to unpack …/0-libocct-foundation-7.5_1%3a7.5.2+dfsg1-0~202107020155~ubuntu20.04.1_amd64.deb …
Unpacking libocct-foundation-7.5:amd64 (1:7.5.2+dfsg1-0~202107020155~ubuntu20.04.1) …
Selecting previously unselected package libocct-modeling-data-7.5:amd64.
Preparing to unpack …/1-libocct-modeling-data-7.5_1%3a7.5.2+dfsg1-0~202107020155~ubuntu20.04.1_amd64.deb …
Unpacking libocct-modeling-data-7.5:amd64 (1:7.5.2+dfsg1-0~202107020155~ubuntu20.04.1) …
Selecting previously unselected package libocct-modeling-algorithms-7.5:amd64.
Preparing to unpack …/2-libocct-modeling-algorithms-7.5_1%3a7.5.2+dfsg1-0~202107020155~ubuntu20.04.1_amd64.deb …
Unpacking libocct-modeling-algorithms-7.5:amd64 (1:7.5.2+dfsg1-0~202107020155~ubuntu20.04.1) …
Selecting previously unselected package libocct-visualization-7.5:amd64.
Preparing to unpack …/3-libocct-visualization-7.5_1%3a7.5.2+dfsg1-0~202107020155~ubuntu20.04.1_amd64.deb …
Unpacking libocct-visualization-7.5:amd64 (1:7.5.2+dfsg1-0~202107020155~ubuntu20.04.1) …
Selecting previously unselected package libocct-ocaf-7.5:amd64.
Preparing to unpack …/4-libocct-ocaf-7.5_1%3a7.5.2+dfsg1-0~202107020155~ubuntu20.04.1_amd64.deb …
Unpacking libocct-ocaf-7.5:amd64 (1:7.5.2+dfsg1-0~202107020155~ubuntu20.04.1) …
Selecting previously unselected package libocct-data-exchange-7.5:amd64.
Preparing to unpack …/5-libocct-data-exchange-7.5_1%3a7.5.2+dfsg1-0~202107020155~ubuntu20.04.1_amd64.deb …
Unpacking libocct-data-exchange-7.5:amd64 (1:7.5.2+dfsg1-0~202107020155~ubuntu20.04.1) …
Selecting previously unselected package python3-wxgtk4.0.
Preparing to unpack …/6-python3-wxgtk4.0_4.0.7+dfsg-2build1_amd64.deb …
Unpacking python3-wxgtk4.0 (4.0.7+dfsg-2build1) …
Selecting previously unselected package libngspice0:amd64.
Preparing to unpack …/7-libngspice0_31.3-2_amd64.deb …
Unpacking libngspice0:amd64 (31.3-2) …
Setting up python3-wxgtk4.0 (4.0.7+dfsg-2build1) …
Setting up libocct-foundation-7.5:amd64 (1:7.5.2+dfsg1-0~202107020155~ubuntu20.04.1) …
Setting up libngspice0:amd64 (31.3-2) …
Setting up libocct-modeling-data-7.5:amd64 (1:7.5.2+dfsg1-0~202107020155~ubuntu20.04.1) …
Setting up libocct-modeling-algorithms-7.5:amd64 (1:7.5.2+dfsg1-0~202107020155~ubuntu20.04.1) …
Setting up libocct-visualization-7.5:amd64 (1:7.5.2+dfsg1-0~202107020155~ubuntu20.04.1) …
Setting up libocct-ocaf-7.5:amd64 (1:7.5.2+dfsg1-0~202107020155~ubuntu20.04.1) …
Setting up libocct-data-exchange-7.5:amd64 (1:7.5.2+dfsg1-0~202107020155~ubuntu20.04.1) …
Setting up kicad (5.1.12-202111050916+84ad8e8a86~92~ubuntu20.04.1) …
Processing triggers for libc-bin (2.31-0ubuntu9.3) …

##############################################################################
sudo dpkg -i kicad_5.1.12-202111050916+84ad8e8a86~92~ubuntu20.04.1_amd64.deb
(Reading database … 517189 files and directories currently installed.)
Preparing to unpack kicad_5.1.12-202111050916+84ad8e8a86~92~ubuntu20.04.1_amd64.deb …
Unpacking kicad (5.1.12-202111050916+84ad8e8a86~92~ubuntu20.04.1) over (5.1.12-202111050916+84ad8e8a86~92~ubuntu20.04.1) …
Setting up kicad (5.1.12-202111050916+84ad8e8a86~92~ubuntu20.04.1) …
Processing triggers for libc-bin (2.31-0ubuntu9.3) …
Processing triggers for bamfdaemon (0.5.3+18.04.20180207.2-0ubuntu2) …
Rebuilding /usr/share/applications/bamf-2.index…
Processing triggers for desktop-file-utils (0.24+linuxmint1) …
Processing triggers for mime-support (3.64ubuntu1) …
Processing triggers for hicolor-icon-theme (0.17-2) …
Processing triggers for shared-mime-info (1.15-1) …

Kicad installed :+1:

Now, which packages I have to install to have a complete Kicad suite?

These are the ones I have

ii  kicad                                      5.1.12-202111050916+84ad8e8a86~92~ubuntu20.04.1 amd64        Electronic schematic and PCB design software
ii  kicad-demos                                5.1.12-202111050916+84ad8e8a86~92~ubuntu20.04.1 all          Common files used by kicad
ii  kicad-doc-en                               5.1.12-202111050925+1701~29~ubuntu20.04.1       all          Kicad help files (English)
ii  kicad-footprints                           5.1.12-202111050920+b65732f8e~11~ubuntu20.04.1  all          Kicad footprints (modules)
ii  kicad-libraries                            5.1.12-202111050917+8~ubuntu20.04.1             all          meta-package for dep to all KiCad libraries (symbols, footprints, templates and 3D models)
ii  kicad-packages3d                           5.1.12-202111050952+0ddd5886~8~ubuntu20.04.1    all          Kicad packages3d (3d models for footprints)
ii  kicad-symbols                              5.1.12-202111050921+97c0bfdd~7~ubuntu20.04.1    all          Kicad symbols (schematic)
ii  kicad-templates                            5.1.12-202111050920+eca0f63~9~ubuntu20.04.1     all          Kicad templates

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.