我正在跟随 如何在 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