Importing keys with gpg fails

When trying to update some packages I get this error.

:: (1/10) Parsing SRCINFO: python-pillow-simd
:: (2/10) Parsing SRCINFO: python2-mistune
:: (3/10) Parsing SRCINFO: python2-pygments
:: (4/10) Parsing SRCINFO: python2-m2r
:: (5/10) Parsing SRCINFO: python2-graphviz
:: (6/10) Parsing SRCINFO: python2-automat
:: (7/10) Parsing SRCINFO: python2-constantly
:: (8/10) Parsing SRCINFO: python2-hyperlink
:: (9/10) Parsing SRCINFO: python2-mutagen
:: (10/10) Parsing SRCINFO: python2-pyhamcrest

:: PGP keys need importing:
 -> 0EBF782C5D53F7E5FB02A66746BD761F7A49B0EC, required by: python2-mutagen
==> Import? [Y/n] 
:: Importing keys with gpg...
gpg: keyserver receive failed: No name
problem importing keys
~ $

Things I tried:

~ $ sudo pacman -Sc
~ $ sudo pacman-key --refresh-keys
~ $ sudo rm -rf /etc/pacman.d/gnupg
~ $ pacman-key --init
~ $ sudo pacman-key --populate archlinux

How should I proceed?


What do you need python2-mutagen for? Python 2 is dead and the python2-mutagen AUR package no longer has a maintainer.


Thanks, using gpg --keyserver --recv-key 0EBF782C5D53F7E5FB02A66746BD761F7A49B0EC worked

I had these python packages in my list for updates and assumed I should update them. I was having trouble with protonvpn-cli and it seemed to be a python issue.
edit: nvm, updating these packages didn’t help. you are right, these are python2 and protonvpn is using python3

protonvpn-cli does not depend on any Python 2 packages.

Let’s find out what depends on python2-mutagen. Please post the output of:

pacman -Qi python2-mutagen

We’ll be looking at Required By and Optional For.

Name            : python2-mutagen
Version         : 1.43.1-1
Description     : An audio metadata tag reader and writer (python2 library)
Architecture    : any
URL             :
Licenses        : GPL2
Groups          : None
Provides        : None
Depends On      : python2-setuptools
Optional Deps   : None
Required By     : None
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 2.02 MiB
Packager        : Unknown Packager
Build Date      : Sun 05 Sep 2021 01:04:08
Install Date    : Sun 05 Sep 2021 01:04:13
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : None

So I should probably delete it. Should I check all those python2 packages?

Should I create another thread for the protonvpn problem? I thought since its proprietary I should maybe bother their devs if I can’t fix it myself and if they can’t help then stop paying for it and find a better vpn…

I removed all the unnused python2 packages

Yes. It’s an AUR package, so it’s fine to create it in #support:aur.

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