Mopidy Discourse

Appears to be a gpg key issue for mopidy

Environment:
x86_64
Pop OS 20.04 LTS

Issue:
Trying to add the gpg key and repo per the documention. Upon adding the key I get the following error…

shane@pop-os:~$ wget -q -O - https://apt.mopidy.com/mopidy.gpg | sudo apt-key add -
gpg: invalid key resource URL '/tmp/apt-key-gpghome.Xi5RLoKSZa/home:manuelschneid3r.asc.gpg'
gpg: keyblock resource '(null)': General error
gpg: key 1488EB46E192A257: 1 signature not checked due to a missing key
gpg: key 1488EB46E192A257: 1 signature not checked due to a missing key
gpg: key 3B4FE6ACC0B21F32: 3 signatures not checked due to missing keys
gpg: key D94AA3F0EFE21092: 3 signatures not checked due to missing keys
gpg: key 871920D1991BC93C: 1 signature not checked due to a missing key
gpg: Total number processed: 9
gpg:       skipped new keys: 9

Any ideas?

I think this is caused by a previous attempt to add a different signing key (manuelschneid3r) that has a colon character in the filename, rather than ours which does not. There’s a few reports of similar if you do a search online, such as https://github.com/openSUSE/software-o-o/issues/842

The fix seems to be to delete the file in the error message that that had a colon in the name (it’s not Mopidy’s). And then re-add the Mopidy key.

1 Like

Thanks! That did the trick. The file was no longer in /tmp/ so I had to go into /etc/apt as such. Removing the file resolved the issue and I was able to add the gpg key and repo successfully. Posting my steps below for the next guy.

shane@pop-os:/etc/apt/trusted.gpg.d$ ll
total 32
drwxr-xr-x 2 root root 4096 Jan  1 19:15 .
drwxr-xr-x 7 root root 4096 Jan  1 19:40 ..
-rw-r--r-- 1 root root 1117 Dec 23 17:20 home:manuelschneid3r.asc
-rw-r--r-- 1 root root  641 Jan  1 19:15 microsoft.gpg
-rw-r--r-- 1 root root 1127 Dec 29 18:15 system76_ubuntu_pop.gpg
-rw-r--r-- 1 root root 2796 Apr  9  2020 ubuntu-keyring-2012-archive.gpg
-rw-r--r-- 1 root root 2794 Apr  9  2020 ubuntu-keyring-2012-cdimage.gpg
-rw-r--r-- 1 root root 1733 Apr  9  2020 ubuntu-keyring-2018-archive.gpg
shane@pop-os:/etc/apt/trusted.gpg.d$ sudo rm -rf home\:manuelschneid3r.asc 
[sudo] password for shane: 
shane@pop-os:/etc/apt/trusted.gpg.d$ wget -q -O - https://apt.mopidy.com/mopidy.gpg | sudo apt-key add -
OK
shane@pop-os:/etc/apt/trusted.gpg.d$ sudo wget -q -O /etc/apt/sources.list.d/mopidy.list https://apt.mopidy.com/buster.list

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.