Hi.
I am getting a 403 (forbidden) error while trying to add the APT repositories in the zymkey install script. Is this something with my setup/network/country or is there an issue with the AWS host?
My setup for context:
I am using this install script: https://zk-sw-repo.s3.amazonaws.com/apt-repo-bookworm
From this getting started guide: ZYMKEY4: Quickstart and Integration |
Hardware: raspberry pi zero 2
Hat: zymkey 4i
OS: Rasibian bookworm lite 32-bit (fresh install)
Region: UK
Here is the logs from the install script:
~ $ curl -G https://s3.amazonaws.com/zk-sw-repo/install_zk_sw.sh | sudo bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 8463 100 8463 0 0 14950 0 --:--:-- --:--:-- --:--:-- 14978
Installing prerequisites (this might take a few minutes)...Hit:1 http://raspbian.raspberrypi.com/raspbian bookworm InRelease
Hit:2 http://archive.raspberrypi.com/debian bookworm InRelease
Err:3 https://zk-sw-repo.s3.amazonaws.com/apt-repo-bookworm bookworm InRelease
403 Forbidden [IP: 16.15.202.41 443]
Reading package lists...
E: Failed to fetch https://zk-sw-repo.s3.amazonaws.com/apt-repo-bookworm/dists/bookworm/InRelease 403 Forbidden [IP: 16.15.202.41 443]
E: The repository 'https://zk-sw-repo.s3.amazonaws.com/apt-repo-bookworm bookworm InRelease' is not signed.
W: http://raspbian.raspberrypi.com/raspbian/dists/bookworm/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
Reading package lists...
Building dependency tree...
Reading state information...
libboost-thread-dev is already the newest version (1.74.0.3+b4).
lsb-release is already the newest version (12.0-1).
0 upgraded, 0 newly installed, 0 to remove and 30 not upgraded.
Distro set to: bookworm
gpio:x:993:ethicronics
Reading package lists...
Building dependency tree...
Reading state information...
apt-transport-https is already the newest version (2.6.1).
curl is already the newest version (7.88.1-10+rpi1+deb12u14).
libyaml-dev is already the newest version (0.2.5-1).
libssl-dev is already the newest version (3.0.18-1~deb12u1+rpt1).
libcurl4-openssl-dev is already the newest version (7.88.1-10+rpi1+deb12u14).
python3-pip is already the newest version (23.0.1+dfsg-1+rpt1).
python3-setuptools is already the newest version (66.1.1-1+deb12u2).
python3-pycurl is already the newest version (7.45.2-3).
i2c-tools is already the newest version (4.3-2+b2).
0 upgraded, 0 newly installed, 0 to remove and 30 not upgraded.
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: inotify in /usr/local/lib/python3.11/dist-packages (0.2.12)
Requirement already satisfied: progress in /usr/local/lib/python3.11/dist-packages (1.6.1)
Requirement already satisfied: python-gnupg in /usr/local/lib/python3.11/dist-packages (0.5.6)
Requirement already satisfied: build in /usr/local/lib/python3.11/dist-packages (from inotify) (1.4.0)
Requirement already satisfied: packaging>=24.0 in /usr/local/lib/python3.11/dist-packages (from build->inotify) (26.0)
Requirement already satisfied: pyproject_hooks in /usr/local/lib/python3.11/dist-packages (from build->inotify) (1.2.0)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
done.
Importing Zymbit Packages gpg key... done.
Installing /etc/apt/sources.list.d/zymbit.list...done...Updating now.
Hit:1 http://raspbian.raspberrypi.com/raspbian bookworm InRelease
Hit:2 http://archive.raspberrypi.com/debian bookworm InRelease
Err:3 https://zk-sw-repo.s3.amazonaws.com/apt-repo-bookworm bookworm InRelease
403 Forbidden [IP: 16.15.183.112 443]
Reading package lists...
E: Failed to fetch https://zk-sw-repo.s3.amazonaws.com/apt-repo-bookworm/dists/bookworm/InRelease 403 Forbidden [IP: 16.15.183.112 443]
E: The repository 'https://zk-sw-repo.s3.amazonaws.com/apt-repo-bookworm bookworm InRelease' is not signed.
W: http://raspbian.raspberrypi.com/raspbian/dists/bookworm/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
Installing Zymkey Packages...Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package libzymkeyssl
E: Unable to locate package zkbootrtc
E: Unable to locate package zkifc
E: Unable to locate package zkapputilslib
E: Unable to locate package zksaapps
E: Unable to locate package zkpkcs11
Any help would be welcome! I would install these manually, but I cannot find sources for them.
