New comment by ahesford on void-packages repository https://github.com/void-linux/void-packages/pull/28202#issuecomment-766795720 Comment: Upstream is doing this wrong. GPG2 provides `gpgconf` to provide a machine-readable way to discover the path to the gpg binary. If `gpgconf` is available, you query that for the full path to the `gpg` executable, which in Void returns `/usr/bin/gpg2`. If `gpgconf` is not available, then you fall back to looking for `gpg` in the path.