I am trying to install docker
on my Raspberry Pi 3
$ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
VERSION_CODENAME=stretch
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
Following Docker's own guide, I use the convenience script as follows
$ curl -fsSL https://get.docker.com -o get-docker.sh
$ sudo sh get-docker.sh
But the installation does not complete. Instead, I get this error:
# Executing docker install script, commit: 26ff363bcf3b3f5a00498ac43694bf1c7d9ce16c
+ sh -c apt-get update -qq >/dev/null
W: GPG error: http://httpredir.debian.org/debian jessie Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7638D0442B90D010 NO_PUBKEY CBF8D6FD518E17E1
W: The repository 'http://httpredir.debian.org/debian jessie Release' is not signed.
E: Failed to fetch http://httpredir.debian.org/debian/dists/jessie/main/i18n/Translation-en Could not open file /var/lib/apt/lists/partial/httpredir.debian.org_debian_dists_jessie_main_i18n_Translation-en.bz2 - open (13: Permission denied) [IP: 151.101.114.133 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
Any idea how I could solve this?
EDIT 1: I am not sure the problem lays in the install script, becuase if I run sudo apt-get update
I get a similar error (I added the "[--->]" for clarity)
Reading package lists... Done
W: GPG error: http://httpredir.debian.org/debian jessie Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7638D0442B90D010 NO_PUBKEY CBF8D6FD518E17E1
[--->] W: The repository 'http://httpredir.debian.org/debian jessie Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
N: Skipping acquire of configured file 'main/binary-armhf/Packages' as repository 'https://dl.packager.io/srv/deb/opf/openproject/stable/10/debian 9 InRelease' doesn't support architecture 'armhf'
[--->] E: Failed to fetch http://httpredir.debian.org/debian/dists/jessie/main/i18n/Translation-en Could not open file /var/lib/apt/lists/partial/httpredir.debian.org_debian_dists_jessie_main_i18n_Translation-en.bz2 - open (13: Permission denied) [IP: 151.101.114.133 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
cat /etc/os-release
,cat /etc/apt/sources.list
andcat /etc/apt/sources.list.d/raspi.list
.