我为我编写的一些软件包创建了PPA。然后,将其密钥添加到我的计算机中:
$ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 03BBACDA765F39D9A14EEDE4425F3F9343B40373
...
gpg: Número total processado: 1
gpg: importados: 1
然后,我尝试添加PPA回购,并得到以下信息:
$ sudo add-apt-repository ppa:brandizzi/ppa
...
Err:4 http://ppa.launchpad.net/brandizzi/ppa/ubuntu bionic InRelease
403 Forbidden [IP: ...]
...
E: The repository 'http://ppa.launchpad.net/brandizzi/ppa/ubuntu bionic InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
我知道我可以强迫APT使用未签名的存储库,或添加[trusted=yes]
我的本地source.list
文件,但是我希望看到上面的命令在没有任何这些方法的情况下可以正常工作(这些方法似乎繁琐且安全性较差)。
我应该在PPA中进行哪些更改以避免这种错误?
从软件包上载大约30分钟后,我能够添加PPA并从中安装软件包。
因此,这是暂时的问题。我认为这是由GPT密钥生成和分发引起的,以供APT重用。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句