Getting started with 1Password for your growing team, or refining your setup? Our Secured Success quickstart guide is for you.
Forum Discussion
XIII
4 years agoSuper Contributor
CLI 2.0 fails to install on Raspberry Pi: 403 Forbidden [IP: 18.64.103.58 443]
When following the Apt guide CLI 2.0 fails to install on Raspberry Pi:
➜ sudo apt update && sudo apt install 1password-cli
Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
Hit:3 https://deb.nodesource.com/node_16.x bullseye InRelease
Err:4 https://downloads.1password.com/linux/debian/armhf stable InRelease
403 Forbidden [IP: 18.64.103.58 443]
Reading package lists... Done
E: Failed to fetch https://downloads.1password.com/linux/debian/armhf/dists/stable/InRelease 403 Forbidden [IP: 18.64.103.58 443]
E: The repository 'https://downloads.1password.com/linux/debian/armhf stable InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
1Password Version: CLI 2.0.0
Extension Version: n/a
OS Version: Raspberry Pi OS (bullseye)
11 Replies
- Former Member
Happy to hear XIII !
- XIIISuper Contributor
Confirmed: it works for 2.0.1 now.
- Former Member
Hey XIII
Thank you for confirming.
For the next release, you can delete the
arm
architecture and the defaultarmhf
should work. - XIIISuper Contributor
Yes, this seems to work (though it now installs into
/usr/bin
, where I manually put it in/usr/local/bin
, so I might have to update some scripts). Thanks!Do I need to do anything additional when you change from
arm
toarmhf
in the next release?(Can/Should I delete architecture
arm
again?) - Former Member
Hey XIII
Just wanted to follow up on our findings.
The issue arose from a mis-naming of the 32-bit arm architecture as
arm
. It should have been labelled asarmhf
.For the time being, you can run the
dpkg --add-architecture arm
command just before runningapt install 1password-cli
in the last step so that it can download the package from the repo.For our next release, we will be setting up the Debian package for the
armhf
architecture instead ofarm
.Thanks for bringing this up, let us know if that step works for you, should you decide to try it. Otherwise, stay tuned for the fix in the next release!
- Former Member
Hey XIII
Agreed. This is a problem on our end, and the error was reproducible by multiple folks on our team. We will be looking at this over the next weeks.
- XIIISuper Contributor
Direct link works indeed, but I'd rather use
apt
. - Former Member
Hey XIII I think that's actually an issue on our end.. I've just tested this and received the same error.
Just to confirm, this is the repo I added from the modified version of step 2:
echo "deb [arch=arm signed-by=/usr/share/keyrings/1password-archive-keyring.gpg] https://downloads.1password.com/linux/debian/arm stable main" | tee /etc/apt/sources.list.d/1password.list
I'm going to look into this, because it was definitely passing a few days ago when we tested the repositories.
For the time being, it looks like you got installation on the Raspberry Pi sorted out using the direct downloads.
Thank you for reporting this.
- XIIISuper Contributor
Using
arm
I get a bit further, but no success yet:
➜ sudo apt update && sudo apt install 1password-cli
Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease
Hit:3 https://deb.nodesource.com/node_16.x bullseye InRelease
Get:4 https://downloads.1password.com/linux/debian/arm stable InRelease [4,240 B]
Get:5 https://downloads.1password.com/linux/debian/arm stable/main arm Packages [439 B]
Fetched 4,679 B in 2s (2,338 B/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
2 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package 1password-cli
(results are the same with
arm64
instead ofarm
) - XIIISuper Contributor
➜ echo $(dpkg --print-architecture)
armhf
and
➜ uname -m
armv7l
They only recently introduced a 64-bits version of the OS: https://www.raspberrypi.com/news/raspberry-pi-os-64-bit/
(I have not upgraded my Raspberry Pi 3 to that yet; I'm still running the 32 bit version of their OS)