无法将 PPA 添加到 Linux Mint 20

无法将 PPA 添加到 Linux Mint 20

我在将一些 PPA 添加到我的 Mint 20 安装中时遇到问题。我执行以下命令:

sudo add-apt-repository ppa:anonbeat/guayadeque

并得到这个:

Executing: /tmp/apt-key-gpghome.FCM6QB5Ete/gpg.1.sh --keyserver hkps://keyserver.ubuntu.com:443 --recv-keys 71C004D5C1F0137ADBD5186195FABEFB4499973B
You are about to add the following PPA:
 Guayadeque is a music management program designed for all music enthusiasts. It is Full Featured Linux media player that can easily manage large collections and uses the Gstreamer media framework.
For mor information visit our web site http://www.guayadeque.org
 More info: https://launchpad.net/~anonbeat/+archive/ubuntu/guayadeque
Press Enter to continue or Ctrl+C to cancel

Executing: /tmp/apt-key-gpghome.gHfte0izY4/gpg.1.sh --keyserver hkps://keyserver.ubuntu.com:443 --recv-keys 71C004D5C1F0137ADBD5186195FABEFB4499973B
gpg: key 95FABEFB4499973B: public key "Launchpad Guayadeque Music Player" imported
gpg: Total number processed: 1
gpg:               imported: 1
gpg: invalid key resource URL '/tmp/apt-key-gpghome.gHfte0izY4/home:antergos.asc.gpg'
gpg: keyblock resource '(null)': General error
gpg: key 76F1A20FF987672F: 1 signature not checked due to a missing key
gpg: key 7B1869016E94B574: 1 signature not checked due to a missing key
gpg: key A6616109451BBBF2: 12 signatures not checked due to missing keys
gpg: key 3B4FE6ACC0B21F32: 3 signatures not checked due to missing keys
gpg: key D94AA3F0EFE21092: 3 signatures not checked due to missing keys
gpg: key C8CAB6595FDFF622: 2 signatures not checked due to missing keys
gpg: key 871920D1991BC93C: 1 signature not checked due to a missing key
gpg: Total number processed: 10
gpg:       skipped new keys: 10

从字面上看没有任何线索。我在尝试安装 lightdm-webkit2 时也发生了这种情况。如果我进入 Synaptic 中的 PPA 部分,我可以看到它被添加,但如果我尝试查看其内容,我会收到错误。尝试删除它(或任何其他与此相关的内容)会提示我刷新 apt 缓存,这样做会打开一个“等待突触退出”的窗口,这是愚蠢的,因为这是执行该窗口的程序。我无法手动关闭它,等待什么也不做,我需要关闭该窗口而不完成其工作和其他所有内容,这确实会因某种原因删除它,但它不干净。这是怎么回事?

答案1

好吧,在世界上每个论坛询问之后,我在 Mint 论坛上得到了答案,这里

他说这与“部分添加的 OBS 存储库”有关。不会撒谎,我不知道他在说什么,但如果你遇到这个问题,那么这就是为我解决的方法。我建议您删除任何有问题的 PPA,然后运行以下命令:

sudo rm /etc/apt/trusted.gpg.d/home:antergos.asc 

确实很简单,您现在应该能够添加 PPA。

相关内容