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
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.
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.