![Debian 10 自動登入 - lightdmcfg 儲存庫問題](https://rvso.com/image/168811/Debian%2010%20%E8%87%AA%E5%8B%95%E7%99%BB%E5%85%A5%20-%20lightdmcfg%20%E5%84%B2%E5%AD%98%E5%BA%AB%E5%95%8F%E9%A1%8C.png)
我正在跟隨 如何在 Debian 10 中自動登入?。如截圖所示,這最終指向了我安裝的 Debian 10 無法找到的 Ubuntu 儲存庫。
有什麼解決辦法嗎?
root@hpdb:/home/stephen# add-apt-repository ppa:fsnow/ppa
More info: https://launchpad.net/~fsnow/+archive/ubuntu/ppa
Press [ENTER] to continue or ctrl-c to cancel adding it
gpg: keybox '/tmp/tmp64_53n2s/pubring.gpg' created
gpg: /tmp/tmp64_53n2s/trustdb.gpg: trustdb created
gpg: key A3C2E0B93BF8E342: public key "Launchpad PPA for FSnow" imported
gpg: Total number processed: 1
gpg: imported: 1
gpg: no valid OpenPGP data found.
root@hpdb:/home/stephen# sudo apt-get install lightdmcfg
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package lightdmcfg
root@hpdb:/home/stephen# apt update
Hit:1 http://deb.debian.org/debian buster InRelease
Hit:2 http://deb.debian.org/debian buster-updates InRelease
Hit:3 http://security.debian.org/debian-security buster/updates InRelease
Ign:4 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:5 http://dl.google.com/linux/chrome/deb stable Release
Ign:6 http://ppa.launchpad.net/fsnow/ppa/ubuntu focal InRelease
Err:7 http://ppa.launchpad.net/fsnow/ppa/ubuntu focal Release
404 Not Found [IP: 2001:67c:1560:8008::15 80]
答案1
該包lightdmcfg
僅接受precise
或trusty
代號。
該軟體包已過時,不建議在 debian 上安裝。
回答這個問題:
該gpg: no valid OpenPGP data found.
錯誤可以透過以下方法解決:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A3C2E0B93BF8E342