Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KiCad version 8 is not being installed on Raspberry Pi 5 Bookworm #2690

Closed
3 tasks done
APShark opened this issue Dec 7, 2024 · 4 comments
Closed
3 tasks done

KiCad version 8 is not being installed on Raspberry Pi 5 Bookworm #2690

APShark opened this issue Dec 7, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@APShark
Copy link

APShark commented Dec 7, 2024

Confirmations

What happened?

Pi Apps does install Kicad, but version 6 not 8

Description

According to your documentation on KiCad, if you are running Bookworm on a Pi, PiApps will install KiCad version 8.1. This does not do this. Only version Application: KiCad
Version: 6.0.11+dfsg-1, release build
Libraries:
wxWidgets 3.2.2
libcurl/7.88.1 OpenSSL/3.0.15 zlib/1.2.13 brotli/1.0.9 zstd/1.5.4 libidn2/2.3.3 libpsl/0.21.2 (+libidn2/2.3.3) libssh2/1.10.0 nghttp2/1.52.0 librtmp/2.3 OpenLDAP/2.5.13

Platform: Linux 6.6.62+rpt-rpi-v8 aarch64, 64 bit, Little endian, wxGTK, LXDE-pi-labwc, wayland
Build Info:
Date: Jan 26 2023 05:35:43
wxWidgets: 3.2.1 (wchar_t,wx containers) GTK+ 3.24
Boost: 1.74.0
OCC: 7.6.3
Curl: 7.87.0
ngspice: 38
Compiler: GCC 12.2.0 with C++ ABI 1017

Build settings:
KICAD_USE_OCC=ON
KICAD_SPICE=ON

What are your system specs (run the following command in your terminal)?

OS: Debian GNU/Linux 12 (bookworm)
OS architecture: 64-bit
Last updated Pi-Apps on: 12/07/2024
Latest Pi-Apps version: 12/06/2024
Kernel: aarch64 6.6.62+rpt-rpi-v8
Device model: Raspberry Pi 5 Model B Rev 1.0
SOC identifier: bcm2712
Machine-id (hashed): c31fde821ab9ef17a74630d139b0bb2e541dc997
Serial-number (hashed): dab00c5e598188a2a0b6e2012053389ec9468c06
Cpu name: Cortex-A76
Ram size: 7.94 GB
Raspberry Pi OS image version: 2023-12-05
Language: en_US.UTF-8

(Recommended) Error log? Terminal output? Debug messages?

BEGINNING OF LOG FILE:
-----------------------

Will install these packages: kicad kicad-libraries 
Creating an empty apt-package to install the necessary apt packages...
It will be named: pi-apps-0d5b51bd
Depends: kicad, kicad-libraries
Running sudo apt update...
Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease
Hit:3 https://Pi-Apps-Coders.github.io/box64-debs/debian ./ InRelease
Hit:4 http://deb.debian.org/debian bookworm-updates InRelease
Hit:5 http://archive.raspberrypi.com/debian bookworm InRelease
Hit:6 http://deb.debian.org/debian bookworm-backports InRelease
Hit:7 https://adoptium.jfrog.io/artifactory/deb bookworm InRelease
Hit:8 https://ppa.launchpadcontent.net/phoerious/keepassxc/ubuntu jammy InRelease
Get:9 http://deb.debian.org/debian bookworm-backports/contrib armhf Packages [4,748 B]
Get:10 http://deb.debian.org/debian bookworm-backports/contrib arm64 Packages [4,968 B]
Get:11 http://deb.debian.org/debian bookworm-backports/contrib Translation-en [5,448 B]
Get:12 http://deb.debian.org/debian bookworm-backports/non-free arm64 Packages [10.1 kB]
Get:13 http://deb.debian.org/debian bookworm-backports/non-free armhf Packages [1,516 B]
Get:14 http://deb.debian.org/debian bookworm-backports/non-free Translation-en [7,320 B]
Get:15 http://deb.debian.org/debian bookworm-backports/non-free-firmware arm64 Packages [3,852 B]
Get:16 http://deb.debian.org/debian bookworm-backports/non-free-firmware armhf Packages [3,660 B]
Get:17 http://deb.debian.org/debian bookworm-backports/non-free-firmware Translation-en [2,848 B]
Fetched 44.5 kB in 2s (27.1 kB/s)
135 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list.d/bookworm-backports.list:1 and /etc/apt/sources.list.d/raspi.list:4
W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/bookworm-backports.list:1 and /etc/apt/sources.list.d/raspi.list:4
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/bookworm-backports.list:1 and /etc/apt/sources.list.d/raspi.list:4
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/bookworm-backports.list:1 and /etc/apt/sources.list.d/raspi.list:4
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/bookworm-backports.list:1 and /etc/apt/sources.list.d/raspi.list:4
W: Target Translations (main/i18n/Translation-en_US.UTF-8) is configured multiple times in /etc/apt/sources.list.d/bookworm-backports.list:1 and /etc/apt/sources.list.d/raspi.list:4
W: https://ppa.launchpadcontent.net/phoerious/keepassxc/ubuntu/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list.d/bookworm-backports.list:1 and /etc/apt/sources.list.d/raspi.list:4
W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/bookworm-backports.list:1 and /etc/apt/sources.list.d/raspi.list:4
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/bookworm-backports.list:1 and /etc/apt/sources.list.d/raspi.list:4
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/bookworm-backports.list:1 and /etc/apt/sources.list.d/raspi.list:4
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/bookworm-backports.list:1 and /etc/apt/sources.list.d/raspi.list:4
W: Target Translations (main/i18n/Translation-en_US.UTF-8) is configured multiple times in /etc/apt/sources.list.d/bookworm-backports.list:1 and /etc/apt/sources.list.d/raspi.list:4
apt update complete.
Some packages can be upgraded. Please consider running sudo apt full-upgrade.
Installing the pi-apps-0d5b51bd package...
The following NEW packages will be installed:
  pi-apps-0d5b51bd
0 upgraded, 1 newly installed, 0 to remove and 135 not upgraded.
After this operation, 0 B of additional disk space will be used.
Get:1 /tmp/pi-apps-0d5b51bd.deb pi-apps-0d5b51bd all 1.0 [748 B]
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 270851 files and directories currently installed.)

Unpacking pi-apps-0d5b51bd (1.0) ...

Apt finished.
Package installation complete.
@APShark APShark added the bug Something isn't working label Dec 7, 2024
Copy link
Contributor

github-actions bot commented Dec 7, 2024

Hello there 👋
Thanks for submitting your first issue to the Pi-Apps project! We'll try to get back to you as soon as possible.
In the meantime, we encourage you join our Discord server, where you can ask any questions you might have.

Please respond as soon as possible if a Pi-Apps maintainer requests more information from you. Stale issues will be closed after a lengthy period of time with no response.

@Botspot
Copy link
Owner

Botspot commented Dec 7, 2024

What happened here is that you already had KiCad installed prior to installing it from Pi-Apps. So based on apt's safety mechanism to not auto-upgrade packages unless specifically requested, no upgrade took place.

For now, if you wanted to, you could solve this issue by running this command:

sudo apt purge -y --autoremove kicad kicad-libraries

And then install KiCad again from Pi-Apps.
I will try to see if there is a more elegant solution to this that does not require manual user intervention. Thanks for reporting.

@Botspot
Copy link
Owner

Botspot commented Dec 7, 2024

I have made some code changes now to improve the handling of the backports repo in this situation. See the changes here: 67e425f

Do note that updating Pi-Apps will NOT auto-update KiCad to version 8. You will need to install it from Pi-Apps again.

@Botspot Botspot closed this as completed Dec 7, 2024
@APShark
Copy link
Author

APShark commented Dec 8, 2024

Thank you so much for your incredible support! The KiCad version 8 was installed successfully! I used the purge option, then did an uninstall in PiApps and then reinstalled KiCad.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants