I tried the following:
larry@larry-MS-7693:~$ sudo apt update && sudo apt install --upgrade kicad
Hit:1 Index of /ubuntu jammy InRelease
Hit:2 Index of linux/ubuntu/ jammy InRelease
Get:3 Index of /ubuntu jammy-updates InRelease [128 kB]
Hit:4 https://dl.google.com/linux/chrome/deb stable InRelease
Get:5 https://packages.mozilla.org/apt mozilla InRelease [1,526 B]
Get:6 Index of /ubuntu jammy-security InRelease [129 kB]
Get:7 Index of /ubuntu jammy-backports InRelease [127 kB]
Hit:8 Index of /kicad/kicad-8.0-releases/ubuntu jammy InRelease
Get:9 https://packages.mozilla.org/apt mozilla/main amd64 Packages [105 kB]
Hit:10 Index of /kicad/kicad-9.0-releases/ubuntu jammy InRelease
Get:11 Index of /ubuntu jammy-updates/main amd64 DEP-11 Metadata [103 kB]
Get:12 Index of /ubuntu focal-security InRelease [128 kB]
Hit:13 Index of /ondrej/apache2/ubuntu jammy InRelease
Hit:14 Index of /ondrej/php/ubuntu jammy InRelease
Get:15 https://packages.mozilla.org/apt mozilla/main i386 Packages [103 kB]
Get:16 Index of /ubuntu jammy-updates/restricted amd64 DEP-11 Metadata [212 B]
Err:17 https://packages.mozilla.org/apt mozilla/main all Packages
400 Bad Request [IP: 34.160.78.70 443]
Get:18 Index of /ubuntu jammy-updates/universe amd64 DEP-11 Metadata [359 kB]
Get:19 Index of /ubuntu jammy-security/main amd64 DEP-11 Metadata [43.2 kB]
Get:20 Index of /ubuntu jammy-security/restricted amd64 DEP-11 Metadata [208 B]
Get:21 Index of /ubuntu jammy-security/universe amd64 DEP-11 Metadata [126 kB]
Get:22 Index of /ubuntu jammy-security/multiverse amd64 DEP-11 Metadata [208 B]
Get:23 Index of /ubuntu focal-security/main amd64 DEP-11 Metadata [65.3 kB]
Get:24 Index of /ubuntu jammy-updates/multiverse amd64 DEP-11 Metadata [940 B]
Get:25 Index of /ubuntu jammy-backports/main amd64 DEP-11 Metadata [7,016 B]
Get:26 Index of /ubuntu jammy-backports/restricted amd64 DEP-11 Metadata [212 B]
Get:27 Index of /ubuntu jammy-backports/universe amd64 DEP-11 Metadata [17.9 kB]
Get:28 Index of /ubuntu jammy-backports/multiverse amd64 DEP-11 Metadata [212 B]
Fetched 1,442 kB in 3s (493 kB/s)
Reading package listsā¦ Done
E: Failed to fetch https://packages.mozilla.org/apt/dists/mozilla/main/binary-all/Packages 400 Bad Request [IP: 34.160.78.70 443]
E: Some index files failed to download. They have been ignored, or old ones used instead.
larry@larry-MS-7693:~$
What is the problem? I also tried āsudo add-apt-repository ppa:kicad/kicad-9.0-releasesā, followed by āsudo apt updateā, then āsudo apt install kicadā and that didnāt work either!
I am running Ubuntu 22.04 on a desktop computer.
āRegards, Larry
Okay, I went to the kicad.org website and tried the download (update) of my version 8 to version 9 according to the instructions given for Ubuntu (I am using 22.04). This is what I got:
larry@larry-MS-7693:~$ sudo add-apt-repository ppa:kicad/kicad-9.0-releases
[sudo] password for larry:
PPA publishes dbgsym, you may need to include āmain/debugā component
Repository: ādeb Index of /kicad/kicad-9.0-releases/ubuntu jammy mainā
Description:
Stable releases in the 9.0 series
More info: https://launchpad.net/~kicad/+archive/ubuntu/kicad-9.0-releases
Adding repository.
Press [ENTER] to continue or Ctrl-c to cancel.
Found existing deb entry in /etc/apt/sources.list.d/kicad-ubuntu-kicad-9_0-releases-jammy.list
Adding deb entry to /etc/apt/sources.list.d/kicad-ubuntu-kicad-9_0-releases-jammy.list
Found existing deb-src entry in /etc/apt/sources.list.d/kicad-ubuntu-kicad-9_0-releases-jammy.list
Adding disabled deb-src entry to /etc/apt/sources.list.d/kicad-ubuntu-kicad-9_0-releases-jammy.list
Adding key to /etc/apt/trusted.gpg.d/kicad-ubuntu-kicad-9_0-releases.gpg with fingerprint FDA854F61C4D0D9572BB95E5245D5502FAD7A805
Get:1 Index of /ubuntu jammy-security InRelease [129 kB]
Hit:2 Index of linux/ubuntu/ jammy InRelease
Hit:3 Index of /ubuntu jammy InRelease
Get:4 https://dl.google.com/linux/chrome/deb stable InRelease [1,825 B]
Get:5 Index of /ubuntu jammy-updates InRelease [128 kB]
Get:6 https://packages.mozilla.org/apt mozilla InRelease [1,522 B]
Get:7 Index of /ubuntu focal-security InRelease [128 kB]
Get:8 https://dl.google.com/linux/chrome/deb stable/main amd64 Packages [1,210 B]
Get:9 Index of /ubuntu jammy-backports InRelease [127 kB]
Hit:10 Index of /kicad/kicad-8.0-releases/ubuntu jammy InRelease
Get:11 https://packages.mozilla.org/apt mozilla/main i386 Packages [97.4 kB]
Hit:12 Index of /kicad/kicad-9.0-releases/ubuntu jammy InRelease
Get:13 Index of /ubuntu jammy-security/main amd64 Packages [2,101 kB]
Get:14 Index of /ubuntu jammy-updates/main amd64 DEP-11 Metadata [103 kB]
Hit:15 https://ppa.launchpadcontent.net/ondrej/apache2/ubuntu jammy InRelease
Hit:16 Index of /ondrej/php/ubuntu jammy InRelease
Get:17 Index of /ubuntu jammy-updates/restricted amd64 DEP-11 Metadata [212 B]
Get:18 Index of /ubuntu jammy-updates/universe amd64 Packages [1,191 kB]
Get:19 https://packages.mozilla.org/apt mozilla/main amd64 Packages [99.1 kB]
Err:20 https://packages.mozilla.org/apt mozilla/main all Packages
400 Bad Request [IP: 34.160.78.70 443]
Get:21 Index of /ubuntu jammy-security/main i386 Packages [592 kB]
Get:22 Index of /ubuntu jammy-security/main amd64 DEP-11 Metadata [43.1 kB]
Get:23 Index of /ubuntu jammy-security/restricted amd64 DEP-11 Metadata [208 B]
Get:24 Index of /ubuntu jammy-security/universe amd64 Packages [965 kB]
Get:25 Index of /ubuntu jammy-security/universe i386 Packages [652 kB]
Get:26 Index of /ubuntu jammy-security/universe Translation-en [206 kB]
Get:27 Index of /ubuntu jammy-security/universe amd64 DEP-11 Metadata [125 kB]
Get:28 Index of /ubuntu jammy-security/multiverse amd64 DEP-11 Metadata [208 B]
Get:29 Index of /ubuntu focal-security/main amd64 Packages [3,412 kB]
Get:30 Index of /ubuntu jammy-updates/universe i386 Packages [758 kB]
Get:31 Index of /ubuntu jammy-updates/universe Translation-en [292 kB]
Get:32 Index of /ubuntu jammy-updates/universe amd64 DEP-11 Metadata [359 kB]
Get:33 Index of /ubuntu jammy-updates/multiverse amd64 DEP-11 Metadata [940 B]
Get:34 Index of /ubuntu jammy-backports/main amd64 DEP-11 Metadata [7,032 B]
Get:35 Index of /ubuntu jammy-backports/restricted amd64 DEP-11 Metadata [212 B]
Get:36 Index of /ubuntu jammy-backports/universe amd64 DEP-11 Metadata [17.8 kB]
Get:37 Index of /ubuntu jammy-backports/multiverse amd64 DEP-11 Metadata [212 B]
Get:38 Index of /ubuntu focal-security/main i386 Packages [853 kB]
Get:39 Index of /ubuntu focal-security/main amd64 DEP-11 Metadata [65.2 kB]
Fetched 12.5 MB in 29s (424 kB/s)
Reading package listsā¦ Done
E: Failed to fetch https://packages.mozilla.org/apt/dists/mozilla/main/binary-all/Packages 400 Bad Request [IP: 34.160.78.70 443]
E: Some index files failed to download. They have been ignored, or old ones used instead.
larry@larry-MS-7693:~$
How do I clear the errors stated so that I can get V9.0 to load??? Someone please work with me and I will make a donation to KiCad. Otherwise I will get on āJust Answerā and pay them.
āRegards, Larry
Remove the failing https://packages.mozilla.org/apt mozilla/main
repositories from your system.
This is not related to KiCad.
This is problem with one of your apt source files for Mozilla. Itās failing trying to get a update which is then causing the whole apt to fail and therefore KiCad not to install.
E: Failed to fetch https://packages.mozilla.org/apt/dists/mozilla/main/binary-all/Packages 400 Bad
This looks like a issue with the mozilla.org site returning a 400 so something wrong on their side. Maybe after some time it might fix itself.
You could, if you know your way around linux, temporarily comment out the repo in /etc/apt/sources.list.d/ so that apt can update correctly and thereby install KiCad
Yes, I used the octothorpe ā#ā symbol to comment out the Mozilla line and this is what I got:
larry@larry-MS-7693:~$ sudo add-apt-repository ppa:kicad/kicad-9.0-releases
[sudo] password for larry:
PPA publishes dbgsym, you may need to include āmain/debugā component
Repository: ādeb Index of /kicad/kicad-9.0-releases/ubuntu jammy mainā
Description:
Stable releases in the 9.0 series
More info: https://launchpad.net/~kicad/+archive/ubuntu/kicad-9.0-releases
Adding repository.
Press [ENTER] to continue or Ctrl-c to cancel.
Found existing deb entry in /etc/apt/sources.list.d/kicad-ubuntu-kicad-9_0-releases-jammy.list
Adding deb entry to /etc/apt/sources.list.d/kicad-ubuntu-kicad-9_0-releases-jammy.list
Found existing deb-src entry in /etc/apt/sources.list.d/kicad-ubuntu-kicad-9_0-releases-jammy.list
Adding disabled deb-src entry to /etc/apt/sources.list.d/kicad-ubuntu-kicad-9_0-releases-jammy.list
Adding key to /etc/apt/trusted.gpg.d/kicad-ubuntu-kicad-9_0-releases.gpg with fingerprint FDA854F61C4D0D9572BB95E5245D5502FAD7A805
Hit:1 Index of /ubuntu jammy InRelease
Hit:2 https://dl.google.com/linux/chrome/deb stable InRelease
Hit:3 Index of linux/ubuntu/ jammy InRelease
Get:4 Index of /ubuntu jammy-updates InRelease [128 kB]
Get:5 Index of /ubuntu jammy-security InRelease [129 kB]
Get:6 Index of /ubuntu jammy-backports InRelease [127 kB]
Hit:7 Index of /kicad/kicad-8.0-releases/ubuntu jammy InRelease
Get:8 Index of /ubuntu jammy-updates/main amd64 Packages [2,341 kB]
Get:9 Index of /ubuntu focal-security InRelease [128 kB]
Hit:10 Index of /kicad/kicad-9.0-releases/ubuntu jammy InRelease
Hit:11 https://ppa.launchpadcontent.net/ondrej/apache2/ubuntu jammy InRelease
Hit:12 Index of /ondrej/php/ubuntu jammy InRelease
Get:13 Index of /ubuntu jammy-security/main i386 Packages [592 kB]
Get:14 Index of /ubuntu jammy-updates/main i386 Packages [757 kB]
Get:15 Index of /ubuntu jammy-updates/main amd64 DEP-11 Metadata [103 kB]
Get:16 Index of /ubuntu jammy-updates/restricted amd64 DEP-11 Metadata [212 B]
Get:17 Index of /ubuntu jammy-updates/universe i386 Packages [758 kB]
Get:18 Index of /ubuntu jammy-updates/universe amd64 Packages [1,191 kB]
Get:19 Index of /ubuntu jammy-updates/universe amd64 DEP-11 Metadata [359 kB]
Get:20 Index of /ubuntu jammy-updates/multiverse amd64 DEP-11 Metadata [940 B]
Get:21 Index of /ubuntu jammy-backports/main amd64 DEP-11 Metadata [7,024 B]
Get:22 Index of /ubuntu jammy-backports/restricted amd64 DEP-11 Metadata [212 B]
Get:23 Index of /ubuntu jammy-backports/universe amd64 DEP-11 Metadata [17.7 kB]
Get:24 Index of /ubuntu jammy-backports/multiverse amd64 DEP-11 Metadata [212 B]
Get:25 Index of /ubuntu jammy-security/main amd64 Packages [2,104 kB]
Get:26 Index of /ubuntu jammy-security/main Translation-en [328 kB]
Get:27 Index of /ubuntu jammy-security/main amd64 DEP-11 Metadata [43.3 kB]
Get:28 Index of /ubuntu jammy-security/restricted amd64 Packages [2,879 kB]
Get:29 Index of /ubuntu jammy-security/restricted Translation-en [505 kB]
Get:30 Index of /ubuntu jammy-security/restricted amd64 DEP-11 Metadata [208 B]
Get:31 Index of /ubuntu jammy-security/universe amd64 DEP-11 Metadata [125 kB]
Get:32 Index of /ubuntu jammy-security/multiverse amd64 DEP-11 Metadata [208 B]
Get:33 Index of /ubuntu focal-security/main amd64 DEP-11 Metadata [65.4 kB]
Fetched 12.7 MB in 33s (386 kB/s)
Reading package listsā¦ Done
larry@larry-MS-7693:~$ sudo apt update
Hit:1 Index of /ubuntu jammy InRelease
Hit:2 Index of /ubuntu jammy-updates InRelease
Hit:3 Index of /ubuntu jammy-backports InRelease
Hit:4 Index of linux/ubuntu/ jammy InRelease
Hit:5 https://dl.google.com/linux/chrome/deb stable InRelease
Hit:6 Index of /ubuntu jammy-security InRelease
Hit:7 Index of /kicad/kicad-8.0-releases/ubuntu jammy InRelease
Hit:8 Index of /kicad/kicad-9.0-releases/ubuntu jammy InRelease
Hit:9 https://ppa.launchpadcontent.net/ondrej/apache2/ubuntu jammy InRelease
Hit:10 Index of /ubuntu focal-security InRelease
Hit:11 Index of /ondrej/php/ubuntu jammy InRelease
Reading package listsā¦ Done
Building dependency treeā¦ Done
Reading state informationā¦ Done
8 packages can be upgraded. Run āapt list --upgradableā to see them.
larry@larry-MS-7693:~$ 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-data-exchange-7.6 : Breaks: libocct-data-exchange-7.5 but 7.5.1+dfsg1-2ubuntu1 is to be installed
libocct-foundation-7.6 : Breaks: libocct-foundation-7.5 but 7.5.1+dfsg1-2ubuntu1 is to be installed
libocct-modeling-algorithms-7.6 : Breaks: libocct-modeling-algorithms-7.5 but 7.5.1+dfsg1-2ubuntu1 is to be installed
libocct-modeling-data-7.6 : Breaks: libocct-modeling-data-7.5 but 7.5.1+dfsg1-2ubuntu1 is to be installed
libocct-ocaf-7.6 : Breaks: libocct-ocaf-7.5 but 7.5.1+dfsg1-2ubuntu1 is to be installed
libocct-visualization-7.6 : Breaks: libocct-visualization-7.5 but 7.5.1+dfsg1-2ubuntu1 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
larry@larry-MS-7693:~$
This one error now shows up. How do I take care of it?
āRegards, Larry
Try this:
[SOLVED] Everything working now. Thanks for good instructions.
āRegards, Larry