无法添加任何PPA
我最近试图从这个网站添加PPA。 我从终端做了sudo add-apt-repository ppa:canonical-qt5-edgers/qt5-proper
。 我说错了
Cannot add PPA: 'ppa:canonical-qt5-edgers/qt5-proper'. Please check that the PPA name or format is correct.
正如其他类似问题所示,我对互联网连接没有任何问题,因为apt-get install
正如预期的那样工作。 这甚至不是PPA特有的问题,我也无法添加其他PPA。 这个问题说我必须格式化整个硬盘来解决这个问题。 我绝对不能那样做。 这个bug还没有解决吗?
我使用软件中心添加了PPA专线。 当它更新缓存时,会出现错误信息
W:GPG error: http://ppa.launchpad.net saucy Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F141B5F0C7122F9B, W:Failed to fetch cdrom://Ubuntu 13.04 _Raring Ringtail_ - Release i386 (20130424)/dists/raring/main/binary-i386/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs , W:Failed to fetch cdrom://Ubuntu 13.04 _Raring Ringtail_ - Release i386 (20130424)/dists/raring/restricted/binary-i386/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs , E:Some index files failed to download. They have been ignored, or old ones used instead.
输出sudo add-apt-repository ppa:canonical-qt5-edgers/qt5-proper
Cannot add PPA: 'ppa:canonical-qt5-edgers/qt5-proper'. Please check that the PPA name or format is correct.
如何解决这个问题是什么原因造成的?
提前致谢。
操作系统:Ubuntu 13.10
编辑后:在编辑之前,问题有Ubuntu SDK的PPA。发布后,我意识到Ubuntu SDK位于Ubuntu 13.10的存储库中。 想一想,可能就是我无法添加PPA的原因。 我尝试了下一个PPA,我想出了同样的一系列错误。
除了配置代理之外,请告诉sudo使用标志-E
来考虑环境
export http_proxy=http://: export https_proxy=http://: sudo -E apt-add-repository ppa:canonical-qt5-edgers/qt5-proper
用户名和密码:
export https_proxy=:@:
尝试
sudo apt-get install --reinstall ca-certificates
更多信息, 请访问http://www.webupd8.org/2014/03/fix-cannot-add-ppa-please-check-that.html