Linux-Mint

無法將 PPA 添加到 Linux Mint 20

  • June 28, 2020

在我的 Mint 20 安裝中添加一些 PPA 時遇到問題。我執行以下命令:

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 記憶體,這樣做會打開一個“等待突觸退出”的視窗,這很愚蠢,因為這是執行該視窗的程序。我不能手動關閉它,等待什麼也不做,我需要在沒有完成它的工作和其他所有事情的情況下關閉那個視窗,由於某種原因它確實刪除了它,但它並不干淨。這是怎麼回事?

好的,所以在世界上每個論壇詢問之後,我在 Mint 論壇上得到了答案,這裡

他說這與“部分添加的 OBS 回購”有關。不會撒謊,我不知道他在說什麼,但如果你有這個問題,那麼這就是為我解決的問題。我建議您刪除任何有問題的 PPA,然後執行以下命令:

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

就這麼簡單,您現在應該可以添加 PPA。

引用自:https://unix.stackexchange.com/questions/594923