Linux 正在尝试更新GPG。我的系统给了我相互矛盾的结果

Linux 正在尝试更新GPG。我的系统给了我相互矛盾的结果,linux,gnupg,openpgp,Linux,Gnupg,Openpgp,我正在尝试更新我的GPG user@linuxmint ~/Downloads $ whereis gpg gpg: /usr/bin/gpg /usr/share/man/man1/gpg.1.gz user@linuxmint ~/Downloads $ gpg --version gpg (GnuPG) 1.4.20 Copyright (C) 2015 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or

我正在尝试更新我的GPG

user@linuxmint ~/Downloads $ whereis gpg
gpg: /usr/bin/gpg /usr/share/man/man1/gpg.1.gz

user@linuxmint ~/Downloads $ gpg --version
gpg (GnuPG) 1.4.20
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Home: ~/.gnupg
Supported algorithms:
Pubkey: RSA, RSA-E, RSA-S, ELG-E, DSA
Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
        CAMELLIA128, CAMELLIA192, CAMELLIA256
Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2
哇!看来我已经更新了。但该体系的想法并非如此。 我需要获取密钥,而旧版本不支持从https获取密钥

user@linuxmint ~/Downloads $ gpg --fetch-keys https://keys.qubes-os.org/keys/qubes-master-signing-key.asc
gpgkeys: protocol `https' not supported
gpg: no handler for keyserver scheme `https'
gpg: WARNING: unable to fetch URI https://keys.qubes-os.org/keys/qubes-master-signing-key.asc: keyserver error

非常感谢您的帮助

GPG和GPG2将作为单独的软件包发布。您可以通过
GPG2
命令使用GPG2

如果出现问题,可以在
~/.bashrc
中创建别名:

alias gpg="gpg2"

但这可能会导致其他内部使用GPG的应用程序出现一些问题。

谢谢。成功了。是的,看起来我的Synaptic需要gpg版本1。Stack Overflow是一个关于编程和开发问题的网站。这个问题似乎离题了,因为它与编程或开发无关。请参见帮助中心中的。也许或者会是一个更好的提问的地方。也请看,等等@jww,谢谢你的指导。下次我会在那里问。
alias gpg="gpg2"