pimoroni / pirate-audio

Examples and documentation for the Pirate Audio range of Raspberry Pi add-ons
MIT License
248 stars 50 forks source link

NO_PUBKEY? #88

Open mundabiddi opened 1 year ago

mundabiddi commented 1 year ago

Sir, apparently the installer needs updating,. Amongst other errors when following the Pirate Audio instructions on the Pimoroni web site I get:- The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 78FD980E271D2943

Help please.... Thanks!

winitalia commented 1 year ago

Hi @mundabiddi Try these commands first and then restart the installation.

sudo mkdir -p /etc/apt/keyrings sudo wget -q -O /etc/apt/keyrings/mopidy-archive-keyring.gpg \ https://apt.mopidy.com/mopidy.gpg sudo wget -q -O /etc/apt/sources.list.d/mopidy.list https://apt.mopidy.com/bullseye.list

mundabiddi commented 1 year ago

Sorry, still not working!

This is the first part of the installation which shows the NO_PUBKEY errors.

Regards,

Michael.

@.***:~ $ sudo mkdir -p /etc/apt/keyrings

@.***:~ $ sudo wget -q -O /etc/apt/keyrings/mopidy-archive-keyring.gpg \ https://apt.mopidy.com/mopidy.gpg

@.***:~ $ sudo wget -q -O /etc/apt/sources.list.d/mopidy.list https://apt.mopidy.com/bullseye.list

@.***:~ $ git clone https://github.com/pimoroni/pirate-audio

Cloning into 'pirate-audio'...

remote: Enumerating objects: 349, done.

remote: Counting objects: 100% (63/63), done.

remote: Compressing objects: 100% (30/30), done.

remote: Total 349 (delta 38), reused 36 (delta 32), pack-reused 286

Receiving objects: 100% (349/349), 138.18 KiB | 516.00 KiB/s, done.

Resolving deltas: 100% (156/156), done.

@.***:~ $ cd pirate-audio/mopidy

@.***:~/pirate-audio/mopidy $ sudo ./install.sh

Updating apt and installing dependencies

Get:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease [15.0 kB]

Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease

Get:3 https://apt.mopidy.com bullseye InRelease [14.1 kB]

Err:3 https://apt.mopidy.com bullseye InRelease

The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 78FD980E271D2943

Reading package lists... Done

W: GPG error: https://apt.mopidy.com bullseye InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 78FD980E271D2943

E: The repository 'https://apt.mopidy.com bullseye 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.

On 29/04/2023 09:28, winitalia wrote:

|sudo wget -q -O /etc/apt/sources.list.d/mopidy.list https://apt.mopidy.com/bullseye.list|

helgibbons commented 1 year ago

The installer should be fixed as of #87 - I found I needed to delete my existing Mopidy sources for it to grab the correct ones though:

sudo rm /etc/apt/sources.list.d/mopidy.list

mundabiddi commented 1 year ago

Still not working!

Just in case I'm doing something different:

1) install Pi OS

2) follow instructions on https://shop.pimoroni.com/products/pirate-audio-line-out?variant=31189750546515

Same errors about missing keys etc.....

For info, I'm not a programmer. I can stumble through a set of instructions and maybe fix a few bugs on a good day but NO_PUBKEYS is beyond me!!

Michael.

On 10/05/2023 17:26, Hel Gibbons wrote:

The installer should be fixed as of #87 https://github.com/pimoroni/pirate-audio/pull/87 - I found I needed to delete my existing Mopidy sources for it to grab the correct ones though:

|sudo rm -r /etc/apt/sources.list.d/mopidy.list|

— Reply to this email directly, view it on GitHub https://github.com/pimoroni/pirate-audio/issues/88#issuecomment-1542487332, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7MW3WCTMEY6XBAQKSSKFNLXFO6BVANCNFSM6AAAAAAXJXLSBU. You are receiving this because you were mentioned.Message ID: @.***>

helgibbons commented 1 year ago

Ah yes - I'm getting the same with a fresh install from main.

You could try pulling the version from #89 - I think this contains a few more tweaks to the install script?

git clone -b patch-bullseye-and-spotify https://github.com/pimoroni/pirate-audio
cd pirate-audio/mopidy
sudo ./install.sh
helgibbons commented 1 year ago

(Just tried this and it still gives me an error about 'NO_PUBKEY', but Mopidy seems to install successfully.)

mundabiddi commented 1 year ago

Worked for me too!!

(Also with the NO-PUBKEY error mentioned below but I can live with that!!)

On 19/05/2023 11:04, Hel Gibbons wrote:

(Just tried this and it still gives me an error about 'NO_PUBKEY', but Mopidy seems to install successfully.)

— Reply to this email directly, view it on GitHub https://github.com/pimoroni/pirate-audio/issues/88#issuecomment-1554330195, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7MW3WER6H6RLVHLWHCRUFDXG5ABJANCNFSM6AAAAAAXJXLSBU. You are receiving this because you were mentioned.Message ID: @.***>

Gadgetoid commented 1 year ago

After playing another game of spot the difference, I found one small error: https://github.com/pimoroni/pirate-audio/pull/91