o-marshmallow / PocketCHIP-pocket-home

PocketCHIP home screen: shows status, opens programs, changes settings
128 stars 32 forks source link

Adding gpg key fails with #35

Open pacmancoder opened 5 years ago

pacmancoder commented 5 years ago

Following command, described in the README.md fails with the error message:

sudo apt-key adv --keyserver hkp://pgp.mit.edu:80 --recv-keys 584F7F9F

Expected result: Commands finishes successfully. Actual result Command fails with the following error:

Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.nIzkBJLNRS --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-jessie-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-jessie-security-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-jessie-stable.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-stretch-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-stretch-security-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-stretch-stable.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-wheezy-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-wheezy-stable.gpg --keyserver hkp://pgp.mit.edu:80 --recv-keys 584F7F9F
gpg: requesting key 584F7F9F from hkp server pgp.mit.edu
gpgkeys: key 584F7F9F can't be retrieved
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0
lhsroot commented 3 years ago

Have to prefix the ID with 0x 0x584F7F9F sudo apt-key adv --keyserver hkp://pgp.mit.edu:80 --recv-keys 0x584F7F9F